-
Notifications
You must be signed in to change notification settings - Fork 25
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
Warning when running an outdated version #86
Comments
Yeah good question. Maybe we can identify certain commands where it really matters? I assume there’s no other requests that are regularly made anyways that we could piggy-back off? |
What if we were to track releases via GitHub and check once every X interval (hour, day, etc) across any Hokusai command? Upon any command execution, if we haven't checked within the past X interval, hit the GitHub API and compare versions. If the local Hokusai is out of date, show a warning? Maybe prompt to upgrade or continue? |
Yeah good point, at most once an hour is probably a good interval, but then I do think we should do it synchronously before the command does any other work and maybe even ask:
|
I like that! 👍 |
closing in favor of #150 |
@alloy Not sure how to approach this other than checking https://pypi.org/project/hokusai/#history every time Hokusai runs, which seems excessive
Perhaps somehow tying it to the project config would be better
The text was updated successfully, but these errors were encountered: