8000 Use github's 'latest' release link for latest version by jeanconn · Pull Request #104 · sot/xija · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use github's 'latest' release link for latest version #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 13, 2020

Conversation

jeanconn
Copy link
Contributor
@jeanconn jeanconn commented Nov 12, 2020

Description

Instead of fetching all the releases on chandra_models release page, use github's idea of the 'latest' one.

I've already forgotten if we're run into issues with this that could be a problem for chandra_models, but at least it doesn't include pre-releases (which aren't a great conceptual fit with the checks in xija.get_model_spec).

We could probably also filter the old list or some such, but for the given use case, this made sense to me, and maybe it is helpful.

Testing

  • Passes unit tests on MacOS, linux, Windows (at least one required)
  • Functional testing (below)

TA: I tried this in my repo after reverting my $SKA/data/chandra_models to 3.32 and it passed tests.

@jeanconn jeanconn requested a review from taldcroft November 12, 2020 23:39
Copy link
Member
@taldcroft taldcroft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, I like it!

@taldcroft taldcroft merged commit 31d66ad into master Nov 13, 2020
@taldcroft taldcroft deleted the use_github_latest branch November 13, 2020 01:08
@javierggt javierggt mentioned this pull request Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0