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

respect arch param when sort=semver in [DockerVersion] badge #10905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chris48s
Copy link
Member

Refs #10904

This is a bit of a "remove spacebar heating" change

I think my reading here is that this change fundamentally brings the code into line with the documented behaviour, so we could consider it a non-breaking change.

That said, this probably is going to change the result of this badge for some projects in the wild which rely on the fact the semver variant ignores architectures (because it assumes projects follow the more normal pattern where you push multiple architectures to a single version tag).

As such, this is a bit of a debatable one. I can see that we could equally choose to not merge this to preserve backwards compatibility and document more clearly the existing behaviour.

@chris48s chris48s added bug Bugs in badges and the frontend service-badge New or updated service badge labels Feb 24, 2025
export {
sizeDataNoTagSemVerSort,
versionDataNoTagDateSort,
versionPagedDataNoTagDateSort,
versionDataNoTagSemVerSort,
versionDataWithTag,
versionDataWithVaryingArchitectures,
versionDataWithArchSpecificVersions,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Today in "naming things is hard"

Copy link
Contributor

Warnings
⚠️ This PR modified service code for docker but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @chris48s!

Generated by 🚫 dangerJS against a7882f8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend service-badge New or updated service badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant