Skip Menu |

This queue is for tickets about the App-cpanminus-reporter CPAN distribution.

Report information
The Basics
Id: 99469
Status: resolved
Priority: 0/
Queue: App-cpanminus-reporter

People
Owner: Nobody in particular
Requestors: steshriv [...] cisco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: failed to read the gzip file
Date: Mon, 13 Oct 2014 22:11:06 +0000
To: "bug-App-cpanminus-reporter [...] rt.cpan.org" <bug-App-cpanminus-reporter [...] rt.cpan.org>
From: "Steven Shriver -X (steshriv - INSIGHT GLOBAL INC at Cisco)" <steshriv [...] cisco.com>
First problem, I want to use my "$HOME/.cpanreporter/metabase_id.json" instead of the .cpantesters one, but this does not work and there is no option for it? So how do I do this? [[ later, just copied my ~/.cpanreporter/* to ~/.cpantesters and moved along.]] Second problem, I am using a local CPAN repo, not a url. Seems like an oversight to not be able to read from the local filesystem. Mon Oct 13 17:46:30 [ /ws/steshriv-rtp/perl_build/cpanm ] [steshriv@linux-rhel5-64] [2]:508: --> perl work/1413230590.3136/App-cpanminus-reporter-0.11/bin/cpanm-reporter --force Would you like to run 'metabase-profile' now to create '/users/steshriv/.cpantesters/metabase_id.json'? [y] n You can create a Metabase profile by typing 'metabase-profile' in your command prompt and moving the resulting file to the location you specified. If you did not specify an absolute path, put it in your .cpanreporter directory. You will need to do this before continuing. CPAN Testers: invalid option 'Metabase uri https://metabase.cpantesters.org/api/v1/ id_file ~/.cpantesters/metabase_id.json' in 'transport'. Using default value instead. invalid scheme 'file' for resource 'file:///ws/steshriv-rtp/CPAN/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz'. Skipping... Smile, Steve PS - Term-ReaLine-Perl is one of the problematic modules that I'd like to report on... ;-) [http://www.cisco.com/web/europe/images/email/signature/logo03.jpg] Steven Shriver Engineer - Software Information Technology steshriv@cisco.com<mailto:steshriv@cisco.com> Phone: +1 919 392 2467 Cisco.com<http://www.cisco.com> [Think before you print.]Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html
Download image001.jpg
image/jpeg 5.2k
image001.jpg
Download image002.png
image/png 174b
image002.png
Hi Steven, thank you for filing this report and sorry for taking so long to reply. I do appreciate all your patience! On Mon Oct 13 18:11:22 2014, steshriv@cisco.com wrote: Show quoted text
> First problem, I want to use my "$HOME/.cpanreporter/metabase_id.json" > instead of the .cpantesters one, but this does not work and there is > no option for it? So how do I do this?
The newest version of cpanm-reporter should use .cpanreporter instead of .cpantesters out of the box. It should also allow you to set relative/full paths when looking for the metabase_id.json file. Finally, you should also take a look at https://metacpan.org/pod/distribution/App-cpanminus-reporter/bin/cpanm-reporter#CONFIGURATION-AND-ENVIRONMENT and https://metacpan.org/pod/CPAN::Testers::Common::Client::Config#CONFIGURATION-AND-ENVIRONMENT as they might help your use case. Please let me know if you bump into any issues with that. Show quoted text
> Second problem, I am using a local CPAN repo, not a url. Seems like > an oversight to not be able to read from the local filesystem. >
That's actually by design. CPAN Testers' servers rely on the distribution's author handle to provide accurate reports, and currently it's not possible to infer that from the build.log file of local installations - meaning there's no error-free way of detecting that this is the "on cpan" version of a dist instead of a local fork. If this is ever fixed we'll definitely make it possible to send reports for local installations. Until then, it's just too risky. Sorry (patches and ideas on possible error free workarounds are very much welcome, though!) Thanks again, breno