Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Git-CPAN-Patch CPAN distribution.

Report information
The Basics
Id: 84349
Status: open
Priority: 0/
Queue: Git-CPAN-Patch

People
Owner: Nobody in particular
Requestors: peter [...] morch.com
Cc:
AdminCc:

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



Subject: "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Start from freshly installed perlbrew $ perlbrew install stable $ perlbrew use perl-5.16.3 $ perlbrew install-cpanm $ cpanm Git::CPAN::Patch $ git-cpan clone Time::Out Unknown parameter 'Time::Out' usage: % git-cpan clone Foo::Bar % git-cpan clone Foo-Bar-0.03.tar.gz % git-cpan clone http://... % git-cpan clone /path/to/Foo-Bar-0.03.tar.gz ... I've also tried CGI or other modules - they all give the same error back. Perhaps this is a user error, I've never used git-cpan or Git::CPAN::Patch before, but from the "usage" I think I'm doing it right. $ perl -MGit::CPAN::Patch -w -le 'print $Git::CPAN::Patch::VERSION' 1.1.0 I've tried this on debian squeeze and Ubuntu 12.04 LTS
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Mon, 01 Apr 2013 18:53:15 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On April 1, 2013 01:51:51 PM you wrote: Show quoted text
> $ git-cpan clone Time::Out > Unknown parameter 'Time::Out' > usage: > % git-cpan clone Foo::Bar > % git-cpan clone Foo-Bar-0.03.tar.gz > % git-cpan clone http://... > % git-cpan clone /path/to/Foo-Bar-0.03.tar.gz > ... > > I've also tried CGI or other modules - they all give the same error back.
Hmmm... Same setting, and it looks happy for me $ git-cpan clone Time::Out fetching http://cpan.metacpan.org/authors/id/P/PA/PATL/Time-Out-0.11.tar.gz creating Time-Out created tag 'v0.110.0' (3412b1d5561b544114dbf159eb9642c6bbe51f45) I'll upgrade my dependencies and see if this makes a difference. Joy, `/anick
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Mon, 01 Apr 2013 20:59:12 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Good news, I found the problem: it's introduced by the new version of MooseX::App. Bad news, it'll take some effort to fix. With a little luck, I should manage to get a patch sometime soonish. Stay tuned!
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Mon, 01 Apr 2013 21:22:09 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On April 1, 2013 08:59:28 PM you wrote: Show quoted text
> Bad news, it'll take some effort to fix. With a little luck, I should > manage to get a patch sometime soonish. Stay tuned!
I think I might have quick-fixed the issue. Please download version 1.1.1 in a hour or two, when it'll hit CPAN, and let me know if it now works for you. Keeping fingers crossed, `/anick
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Tue, 2 Apr 2013 11:10:55 +0200
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Peter Valdemar Mørch <peter [...] morch.com>
Hi, Yes, it looks like clone works now: Show quoted text
> git-cpan clone Time::Out
fetching http://cpan.metacpan.org/authors/id/P/PA/PATL/Time-Out-0.11.tar.gz creating Time-Out created tag 'v0.110.0' (96a4b786a5807a4cf35f9513e43996cf6657d880) I'm a little curious: This just gets me the latest release. How do I get the full history of the module with all old releases as gitpan has it? https://github.com/gitpan/Time-Out/commits/master (In searching for that I discovered that) The --backpan switch doesn't work though (I think) Show quoted text
> git-cpan clone --backpan Time::Out
Use of uninitialized value in pattern match (m//) at /home/peter/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Git/CPAN/Patch/Command/Import.pm line 141. Use of uninitialized value $_ in -f at /home/peter/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Git/CPAN/Patch/Command/Import.pm line 144. Use of uninitialized value $dist_or_module in concatenation (.) or string at /home/peter/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Git/CPAN/Patch/Command/Import.pm line 87. could not find release for '' on metacpan Thanks for your quick response On Tue, Apr 2, 2013 at 3:22 AM, yanick@babyl.dyndns.org via RT < bug-Git-CPAN-Patch@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84349 > > > On April 1, 2013 08:59:28 PM you wrote:
> > Bad news, it'll take some effort to fix. With a little luck, I should > > manage to get a patch sometime soonish. Stay tuned!
> > I think I might have quick-fixed the issue. Please download version 1.1.1 > in > a hour or two, when it'll hit CPAN, and let me know if it now works for > you. > > Keeping fingers crossed, > `/anick > >
-- Peter Valdemar Mørch http://www.morch.com
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Tue, 02 Apr 2013 20:47:59 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On April 2, 2013 05:11:17 AM you wrote: Show quoted text
> (In searching for that I discovered that) The --backpan switch doesn't work > though (I think)
Argh. You are right. The short version, do: git-cpan clone Time::Out --backpan and it will work. The long version: MooseX::App (which Git::CPAN::Patch uses under the hood) changed its behavior, and now the argument parsing is... weird. :-) I'm poking the author and see how I can help to return things to saner lands. If you want to follow those adventures, you can peek at https://github.com/maros/MooseX-App/issues/10 Joy, `/anick
Subject: Re: [rt.cpan.org #84349] "git-cpan clone Foo::Bar" doesn't work: "Unknown parameter 'Foo::Bar'"
Date: Wed, 3 Apr 2013 07:31:36 +0200
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Peter Valdemar Mørch <peter [...] morch.com>
Yes, thanks, now it works and I have the full history.