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

incorrect data for download url #1019

Open
karenetheridge opened this issue May 29, 2021 · 0 comments
Open

incorrect data for download url #1019

karenetheridge opened this issue May 29, 2021 · 0 comments

Comments

@karenetheridge
Copy link

karenetheridge commented May 29, 2021

more info and repro steps: miyagawa/cpanminus#501

The wrong download URL is given sometimes:

curl https://fastapi.metacpan.org/v1/download_url/Moose::Cookbook::Legacy::Debugging_BaseClassReplacement\?dev\=1
{
   "version" : "2.0604",
   "date" : "2012-09-19T21:14:17",
   "release" : "Moose-2.0604",
   "status" : "cpan",
   "checksum_sha256" : "121fa0032e3838faddfea63028458ff963fd527c63c6cea7a6c8f186169d9b5b",
   "checksum_md5" : "f1c9c27ad9effd35e3597d3c2faca214",
   "download_url" : "https://cpan.metacpan.org/authors/id/D/DO/DOY/Moose-2.0604.tar.gz"
}

This file is indexed, so the latest dev release should be the latest stable release too:

$ grep Moose::Cookbook::Legacy::Debugging_BaseClassReplacement 02packages.details.txt 
Moose::Cookbook::Legacy::Debugging_BaseClassReplacement 2.2015  E/ET/ETHER/Moose-2.2015.tar.gz
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

No branches or pull requests

1 participant