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

[BUG] Wrong author used to query CPAN API for some old versions of CPAN modules #1206

Closed
liger1978 opened this Issue Oct 14, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@liger1978
Contributor

liger1978 commented Oct 14, 2016

Steps to reproduce:

fpm -s cpan -t rpm --version 0.08196 --no-cpan-sandbox-non-core --no-cpan-test --debug --debug-workspace 'DBIx::Class'

Error produced:

metacpan release query failed. {:error=>"404 \"Not Found\"", :url=>"http://api.metacpan.org/v0/release/RIBASUSHI/DBIx-Cl
ass-0.08196", :level=>:error, :file=>"fpm/package/cpan.rb", :line=>"327", :method=>"rescue in download"}
Invalid package configuration: metacpan release query failed {:level=>:error, :file=>"fpm/command.rb", :line=>"488", :me
thod=>"rescue in execute"}

This is because the author has changed between module versions and the author is queried using latest version (I think).

@liger1978

This comment has been minimized.

Contributor

liger1978 commented Oct 14, 2016

I've created a patch and put in a pull request. Please review and approve.

jordansissel added a commit that referenced this issue Oct 29, 2016

Merge pull request #1208 from liger1978/fix_author
Fixes #1206 Improved download URL query for CPAN modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment