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

Enable configuration for cci version update sources #3754

Open
dcinzona opened this issue Feb 23, 2024 · 2 comments
Open

Enable configuration for cci version update sources #3754

dcinzona opened this issue Feb 23, 2024 · 2 comments
Labels
enhancement Listed under "Changes" in the changelog

Comments

@dcinzona
Copy link
Contributor

Feature Type

I'm interested in functionality that solves a current problem or limitation in how CumulusCI works.

Does your feature request solve a current problem?

Every time cci runs, it checks for updates against the hard-coded pypi.org website. This breaks when users are in environments without access to Pypi.org. It's just a nag, but it introduces clutter on the screen.

Describe the solution you'd like

Provide a feature to configure the source repo for checking for updates (or allow overriding the method with our own logic), or allow for disabling the auto-check.

Describe alternatives you've considered

Option 1:
Create an environment flag to disable the automatic version update check

Option 2:
Check channels in pip config and use those as the repo source.

Option 3:
Create an environment flag that could contain the Pypi service URI

Option 4:
Allow the user to create an extension / overriding method to allow for updates from custom sources.

Additional context

No response

@dcinzona dcinzona added the enhancement Listed under "Changes" in the changelog label Feb 23, 2024
@osho-20
Copy link

osho-20 commented Feb 24, 2024

would like to work on this

@bdvorachek
Copy link

One workaround would be to modify the cumulus_timestamp file that is used to keep track of when the last update check was run. On mac, this is located at ~/.cumulusci/cumulus_timestamp. Create or update that file with the value 1903842000, which should make the next update check happen in 2030.

cci version will still attempt to hit pypi, but running regular commands will skip any update check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Listed under "Changes" in the changelog
Projects
None yet
Development

No branches or pull requests

3 participants