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

[FEATURE] Check for newer version of Jake during startup #54

Open
bhamail opened this issue Apr 6, 2021 · 0 comments
Open

[FEATURE] Check for newer version of Jake during startup #54

bhamail opened this issue Apr 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@bhamail
Copy link
Contributor

bhamail commented Apr 6, 2021

  • What are you trying to do?
    When Jake runs, it should check to see if a newer version of Jake has been released. If a new release exists, prompt the user to upgrade to the latest release. The prompt should include a command to perform the upgrade, e.g. pip install jake --upgrade

some learnings from similar efforts:

  • provide a way to bypass the check (via CLI flag). see: Disable nancy updates check  nancy#217
    and skip update check features nancy#218
    The ability to skip the check when a given ENV VAR is set is also useful in CI systems.
  • cache the date/time when the last check was performed, and only check again in say 28 hours.
  • also include the command to perform the upgrade in the application help (and maybe the README.md?).

cc @bhamail / @DarthHater

@bhamail bhamail added the enhancement New feature or request label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant