uperl / app-cpangitify Goto Github PK
View Code? Open in Web Editor NEWConvert cpan distribution from BackPAN to a git repository
Convert cpan distribution from BackPAN to a git repository
This has fewer deps than BackPAN::Index:
http://matrix.cpantesters.org/?dist=App-cpangitify%200.04
t/00_diag.t ...... ok
git exited non-zero but had no output to stderr# Looks like your test exited with 1 before it could output anything.
t/basic.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 14/14 subtests
git exited non-zero but had no output to stderr# Looks like your test exited with 1 before it could output anything.
t/change_name.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 5/5 subtests
t/use.t .......... ok
Test Summary Report
-------------------
t/basic.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 14 tests but ran 0.
t/change_name.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 5 tests but ran 0.
Files=4, Tests=2, 3 wallclock secs ( 0.02 usr 0.02 sys + 1.05 cusr 0.22 csys = 1.31 CPU)
Result: FAIL
Failed 2/4 test programs. 0/2 subtests failed.
make: *** [test_dynamic] Error 255
An example session:
$ /opt/perl-5.24.1/bin/cpangitify Kwalify
creating/updating index...
searching...
mkdir /tmp/Kwalify
S/SR/SREZIC/Kwalify-1.07.tar.gz [ 1.07 ]
fetch ... http://backpan.perl.org/authors/id/S/SR/SREZIC/Kwalify-1.07.tar.gz
unpack... Kwalify-1.07.tar.gz
merge...
commit and tag...
error fetching http://api.metacpan.org/v0/author/SREZIC
Gone
fatal: --author '2' is not 'Name <email>' and matches no existing author
Probably the app should use the new v1 API.
Right now you need
Which may or may not come with your operating system.
The CPAN module Git::CPAN::Patch, especially its git-backpan-init command, is doing similar things like your app. I think you should compare both, and add a note to the SEE ALSO section of the cpangitify Pod.
Regards, Slaven
Hi!
cpangitify v0.16 is giving me this:
shlomif@telaviv1:~/progs/perl/cpan/WWW$ cpangitify WWW-REST
creating/updating index...
searching...
mkdir /home/shlomif/progs/perl/cpan/WWW/WWW-REST
A/AU/AUTRIJUS/WWW-REST-0.01.tar.gz [ 0.01 ]
fetch ... http://backpan.perl.org/authors/id/A/AU/AUTRIJUS/WWW-REST-0.01.tar.gz
unpack... WWW-REST-0.01.tar.gz
merge...
commit and tag...
Can't use string ("[email protected]") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/vendor_perl/5.26.0/App/cpangitify.pm line 176.
shlomif@telaviv1:~/progs/perl/cpan/WWW$ gvim /usr/lib/perl5/vendor_perl/5.26.0/App/cpangitify.pm
and it crashed. It seems like a JSON handling problem. Please look into fixing it.
Right now we just check the compile of App::cpan2git, but there isn't even any code in there yet.
Write a simple test that does a conversion, maybe using Test::LWP::Recorder or something.
possible solutions to this problem include allowing the user to specify multiple distros on the command line.
authors/id/I/IN/INGY/YAML-0.39.tar.gz [ 0.39 ]
fetch ... http://backpan.perl.org/authors/id/I/IN/INGY/YAML-0.39.tar.gz
unpack... YAML-0.39.tar.gz
merge...
commit and tag...
authors/id/K/KI/KING/YAML-0.39.tar.gz [ 0.39 ]
fetch ... http://backpan.perl.org/authors/id/K/KI/KING/YAML-0.39.tar.gz
unpack... YAML-0.39.tar.gz
merge...
commit and tag...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.