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

Fix Modrinth download badge #269

Merged
merged 2 commits into from
Jan 22, 2023
Merged

Fix Modrinth download badge #269

merged 2 commits into from
Jan 22, 2023

Conversation

triphora
Copy link
Contributor

v1 of Modrinth's API has been deprecated since January 2022 and is scheduled to begin breaking in February, with a complete breakage being done by March. This pull request has been created as a courtesy to update it to use the dedicated shields.io badge rather than manually constructing the API request.

After merging this PR, please also update any usages on other pages, for example a CurseForge and/or Modrinth project description, and also cherry-pick/copy these changes to any other branches you might have.

v1 of Modrinth's API has been deprecated since January 2022 and is scheduled to begin breaking in February, with a complete breakage being done by March. This pull request has been created as a courtesy to update it to use the dedicated shields.io badge rather than manually constructing the API request.

After merging this PR, please also update any usages on other pages, for example a CurseForge and/or Modrinth project description, and also cherry-pick/copy these changes to any other branches you might have.
@blackd
Copy link
Owner

blackd commented Jan 22, 2023

I don't like that the new values is abbreviated.

@blackd
Copy link
Owner

blackd commented Jan 22, 2023

So I will probably do something on my own that shows the full value or remove the Modrinth badge.
Depending on what time I have to spare.

@triphora
Copy link
Contributor Author

I could revert it to the old way of doing things but update it to API v2, if the precise count is required for it to be merged. Just do note that, in the future, it will be necessary to update it again once API v2 gets replaced with v3, v3 with v4, etc... but it's not likely to be more than a once or twice a year sort of thing,

@triphora
Copy link
Contributor Author

Also, the GitHub badge doesn't use a precise count. So it's pretty inconsistent that MR and CF have it but GH doesn't.

@blackd blackd merged commit 9736366 into blackd:all-in-one Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants