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 broken download button on landing page #68

Closed
wants to merge 1 commit into from

Conversation

cromedome
Copy link
Contributor

MetaCPAN API v0 has been deprecated and shut down, so we could never fill in the download information for the button. The response is slightly different in v1 than v0, so adjusted accordingly - there's no reason to keep short_version and version, so I removed short_version.

The version for Dancer2 doesn't fit as cleanly as the version for Dancer, so I removed it from the button display entirely.

@cromedome cromedome requested review from yanick and bigpresh August 11, 2023 03:56
@bigpresh
Copy link
Member

Do we even need the version-fetching at all, if it's not going in the download button any more?

MetaCPAN API v0 has been deprecated and shut down, so we could never
fill in the download information for the button. The response is
slightly different in v1 than v0, so adjusted accordingly.

The version for Dancer2 doesn't fit as cleanly as the version for
Dancer, so I removed it (and version handling) entirely.
@cromedome
Copy link
Contributor Author

Do we even need the version-fetching at all, if it's not going in the download button any more?

Good point. Updated the PR. Only tracking the download URL now.

Copy link
Contributor

@yanick yanick left a comment

Choose a reason for hiding this comment

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

Looks pretty darn good.

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.

3 participants