Skip to content
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

check if nightly is outdated #17

Open
johnnychen94 opened this issue Feb 17, 2020 · 1 comment
Open

check if nightly is outdated #17

johnnychen94 opened this issue Feb 17, 2020 · 1 comment

Comments

@johnnychen94
Copy link
Owner

If registered mirror stops those nightly builds, there will be cases that an old version is installed. This won't be a big issue since we could always get updated nightly builds from upstream Official.

@johnnychen94 johnnychen94 changed the title check if nightly is out-of-date check if nightly is outdated Feb 17, 2020
@johnnychen94
Copy link
Owner Author

A simple solution to this is to check the commit date and throw warnings if it's too old:

julia> Base.GIT_VERSION_INFO.date_string
"2021-08-11 14:37 UTC"

Thus for example, if jill install latest gives a binary that is more than 7 days old, print a warning on it.


Of course, if we hardcode and always point "latest" to "Official" then this won't be an issue at all.

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

No branches or pull requests

1 participant