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: 66415
Status: resolved
Priority: 0/
Queue: Git-CPAN-Patch

People
Owner: Nobody in particular
Requestors: rkitover [...] cpan.org
Cc:
AdminCc:

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



Subject: Makes empty repo for POE::Component::EasyDBI
rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI Initialized empty Git repository in /tmp/easydbi/.git/ [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources importing POE::Component::EasyDBI downloading POE-Component-EasyDBI-1.23.tar.gz extracting distribution created tag '1.23' (03d8d5dda1532e43948f36bd5df834c485d4b066) Branch master set up to track local ref refs/remotes/cpan/master. Already on 'master' rkitover@hlagh /tmp/easydbi % ls -a . .. .git rkitover@hlagh /tmp/easydbi % perl -MGit::CPAN::Patch\ 999 Git::CPAN::Patch version 999 required--this is only version 0.4.4. BEGIN failed--compilation aborted.
Subject: Re: [rt.cpan.org #66415] Makes empty repo for POE::Component::EasyDBI
Date: Sun, 06 Mar 2011 10:55:59 -0500
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On 11-03-06 05:32 AM, Rafael Kitover via RT wrote: Show quoted text
> rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI > Initialized empty Git repository in /tmp/easydbi/.git/ > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom > sources > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom > sources > importing POE::Component::EasyDBI > downloading POE-Component-EasyDBI-1.23.tar.gz > extracting distribution > created tag '1.23' (03d8d5dda1532e43948f36bd5df834c485d4b066) > Branch master set up to track local ref refs/remotes/cpan/master. > Already on 'master' > rkitover@hlagh /tmp/easydbi % ls -a > . .. .git > rkitover@hlagh /tmp/easydbi % perl -MGit::CPAN::Patch\ 999 > Git::CPAN::Patch version 999 required--this is only version 0.4.4. > BEGIN failed--compilation aborted.
I tried it on my machine, and it works. Hmmm... Would you mind updating to the latest Git::CPAN::Patch and try again? And if you observe the same thing, can you do a 'gitk --all' to see if the 'cpan/master' branch wasn't created at all, or if it just wasn't checked out? Joy, `/anick
Subject: Re: [rt.cpan.org #66415] Makes empty repo for POE::Component::EasyDBI
Date: Sun, 6 Mar 2011 12:29:38 -0500
To: "yanick [...] babyl.dyndns.org via RT" <bug-Git-CPAN-Patch [...] rt.cpan.org>
From: Rafael Kitover <rkitover [...] cpan.org>
On Sun, Mar 06, 2011 at 10:55:59AM -0500, yanick@babyl.dyndns.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=66415 > > > On 11-03-06 05:32 AM, Rafael Kitover via RT wrote:
> > rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI > > Initialized empty Git repository in /tmp/easydbi/.git/ > > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom > > sources > > [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom > > sources > > importing POE::Component::EasyDBI > > downloading POE-Component-EasyDBI-1.23.tar.gz > > extracting distribution > > created tag '1.23' (03d8d5dda1532e43948f36bd5df834c485d4b066) > > Branch master set up to track local ref refs/remotes/cpan/master. > > Already on 'master' > > rkitover@hlagh /tmp/easydbi % ls -a > > . .. .git > > rkitover@hlagh /tmp/easydbi % perl -MGit::CPAN::Patch\ 999 > > Git::CPAN::Patch version 999 required--this is only version 0.4.4. > > BEGIN failed--compilation aborted.
> > I tried it on my machine, and it works. Hmmm... Would you mind updating > to the latest Git::CPAN::Patch and try again? And if you observe the > same thing, can you do a 'gitk --all' to see if the 'cpan/master' branch > wasn't created at all, or if it just wasn't checked out?
It seemed to be happening for all modules, not just that one. I tried upgrading git to 1.7.4 and this module to 0.6.0, and now I get this: rkitover@hlagh /tmp/easydbi % git cpan-init POE::Component::EasyDBI Initialized empty Git repository in /tmp/easydbi/.git/ [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/home/rkitover/.cpanplus/custom-sources' dir, skipping custom sources importing POE::Component::EasyDBI downloading POE-Component-EasyDBI-1.23.tar.gz extracting distribution fatal: invalid date format: 2007-09-25 Use of uninitialized value $commit in chomp at /usr/lib/git-core/git-cpan-import line 199. commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904: command returned error: 128 fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'cpan/master' which can not be resolved as commit? checkout -f -t -b master cpan/master: command returned error: 128 rkitover@hlagh /tmp/easydbi % ls rkitover@hlagh /tmp/easydbi % dpkg -l git Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================-=============================-========================================================================== ii git 1:1.7.4.1-1 fast, scalable, distributed revision control system rkitover@hlagh ~ % git --version git version 1.7.4.1 rkitover@hlagh ~ % perl -MGit::CPAN::Patch\ 999 Git::CPAN::Patch version 999 required--this is only version 0.6.0. BEGIN failed--compilation aborted. rkitover@hlagh ~ % perl -MGit::Repository\ 999 Git::Repository version 999 required--this is only version 1.17. BEGIN failed--compilation aborted. I uninstalled the module in cpanp and reinstalled it as well, same results. On my cygwin everything works fine now: importing POE::Component::EasyDBI downloading POE-Component-EasyDBI-1.23.tar.gz extracting distribution created tag '1.23' (24f6f4039743e7e4a47ecf5cf208830bb5062157) Already on 'master' at /usr/bin/git-cpan-init line 35 Branch master set up to track local ref refs/remotes/cpan/master. rkitover@eeebox ~/src/easydbi % rkitover@eeebox ~/src/easydbi % ls Changes MANIFEST META.yml Makefile.PL README README_TOO examples lib t After uninstalling and reinstalling the module, I was getting the same results as above for a while. rkitover@eeebox ~/src/easydbi % perl -MGit::CPAN::Patch\ 999 Git::CPAN::Patch version 999 required--this is only version 0.6.0. rkitover@eeebox ~/src/easydbi % perl -MGit::Repository\ 999 Git::Repository version 999 required--this is only version 1.17.
Subject: Re: [rt.cpan.org #66415] Makes empty repo for POE::Component::EasyDBI
Date: Sun, 06 Mar 2011 14:51:00 -0500
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On 11-03-06 12:28 PM, Rafael Kitover via RT wrote: Show quoted text
> Use of uninitialized value $commit in chomp at /usr/lib/git-core/git-cpan-import line 199.
Aaaaah... I think I know what's the problem! The clue is that for a couple of versions -- ever since we moved the logistic to Git::CPAN::Patch::Import -- git-cpan-import has been much smaller than 200 lines. Do a 'locate git-cpan-import'. I bet you gold nuggets to newt spleens that an oldish set of git-cpan-* binaries sit in /usr/lib/git-core, while the new versions are somewhere under /usr/bin/ or /usr/local/bin, and that the PATH makes it such that its the first, old ones that are used by Git. `/.
Subject: Re: [rt.cpan.org #66415] Makes empty repo for POE::Component::EasyDBI
Date: Sun, 06 Mar 2011 15:03:30 -0500
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Rafael Kitover <rkitover [...] cpan.org>
On 3/6/2011 2:51 PM, yanick@babyl.dyndns.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=66415 > > > On 11-03-06 12:28 PM, Rafael Kitover via RT wrote:
>> Use of uninitialized value $commit in chomp at /usr/lib/git-core/git-cpan-import line 199.
> > Aaaaah... I think I know what's the problem! > > The clue is that for a couple of versions -- ever since we moved the > logistic to Git::CPAN::Patch::Import -- git-cpan-import has been much > smaller than 200 lines. > > Do a 'locate git-cpan-import'. I bet you gold nuggets to newt spleens > that an oldish set of git-cpan-* binaries sit in /usr/lib/git-core, > while the new versions are somewhere under /usr/bin/ or /usr/local/bin, > and that the PATH makes it such that its the first, old ones that are > used by Git.
Yup, that was exactly it. Works perfectly now :)
Subject: Re: [rt.cpan.org #66415] Makes empty repo for POE::Component::EasyDBI
Date: Sun, 06 Mar 2011 16:10:50 -0500
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On 11-03-06 03:04 PM, Rafael Kitover via RT wrote: Show quoted text
> Yup, that was exactly it. Works perfectly now:)
Yay for l33t sleuth skills! ;-) Enjoy your brand-new Git::CPAN::Patch, `/anick