Skip to content

Use Simple Repository API for fetching latest version#6704

Open
Jackenmen wants to merge 11 commits intoCog-Creators:V3/developfrom
Jackenmen:use_simple_api_for_fetching_latest_version
Open

Use Simple Repository API for fetching latest version#6704
Jackenmen wants to merge 11 commits intoCog-Creators:V3/developfrom
Jackenmen:use_simple_api_for_fetching_latest_version

Conversation

@Jackenmen
Copy link
Copy Markdown
Member

Description of the changes

Things become a bit less... simple, but this makes use of the API that's actually standardised. Side "benefit", perhaps, is the ability to point this at a PyPI mirror/private index with an env var. I suppose one could even (ab)use this to prevent getting version update notifications on startup, but 🤫

Also, we now prefer using packaging.version.Version for version numbers received from outside, just in case we wanted to make changes in our version scheme in the future.

Have the changes in this PR been tested?

Yes

Also, we now prefer using packaging.version.Version for version numbers
received from outside, in case we want to make changes in our version
scheme in the future.
@Jackenmen Jackenmen added this to the 3.5.25 milestone Mar 24, 2026
@Jackenmen Jackenmen added the Type: Enhancement Something meant to enhance existing Red features. label Mar 24, 2026
@github-actions github-actions bot added Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). Category: Core - Other Internals This is related to core internals that don't have a dedicated label. labels Mar 24, 2026
@Jackenmen Jackenmen force-pushed the use_simple_api_for_fetching_latest_version branch from 67e3972 to 7dcf102 Compare April 6, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - Bot Commands This is related to core commands (Core and CogManagerUI cog classes). Category: Core - Other Internals This is related to core internals that don't have a dedicated label. Type: Enhancement Something meant to enhance existing Red features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant