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

[SourceForge] Add the old API back #9101

Closed
wants to merge 1 commit into from
Closed

[SourceForge] Add the old API back #9101

wants to merge 1 commit into from

Conversation

wh201906
Copy link

PR #9078 breaks the existing URLs for downloads like this
https://img.shields.io/sourceforge/dt/sevenzip.svg
broken img
The API is changed to something like this
https://img.shields.io/sourceforge/downloads/dt/sevenzip.svg
current api

This commit add the support for the old URLs by adding sourceforge.service.js and sourceforge.tester.js back with some modifications to adapt the existing sourceforge-downloads.service.js.

PR #9078 breaks the existing URLs for downloads
This commit add the support for the old URLs
@github-actions
Copy link
Contributor

Messages
📖 ✨ Thanks for your contribution to Shields, @wh201906!

Generated by 🚫 dangerJS against 4065c6d

@wh201906
Copy link
Author

@chris48s
Copy link
Member

Agree with the objective - we broke this by mistake - but we shouldn't duplicate all this code. It only needs a one line change to fix. Closing in favour of #9102

@chris48s chris48s closed this Apr 20, 2023
@wh201906 wh201906 deleted the old_api branch April 20, 2023 17:39
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.

2 participants