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

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

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



Subject: repository is empty
Cannot import Smart::Comments - only .git directory exists inside repository. Linux Fedora. Show quoted text
>git backpan-init Smart::Comments
Initialized empty Git repository in /git/smart-comments/.git/ opening backpan index importing Smart-Comments-0.01 importing Smart-Comments-0.01.tar.gz (http://backpan.perl.org/authors/id/A/AU/AUTRIJUS/Smart-Comments-0.01.tar.gz) downloading Smart-Comments-0.01.tar.gz extracting distribution opening backpan index created tag '0' (a09f371e98c68e4f11780a10aa62d21245ab6280) importing Smart-Comments-0.0.2 importing Smart-Comments-0.0.2.tar.gz (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-0.0.2.tar.gz) downloading Smart-Comments-0.0.2.tar.gz extracting distribution opening backpan index fatal: tag '0' already exists tag 0 b0af8ac7938103c8ab9ca739811336b8bd1d76f9: command returned error: 128 couldn't import Parse::BACKPAN::Packages::Distribution=HASH(0xb763d5dc) at /usr/libexec/git-core/git-backpan-init line 64. importing Smart-Comments-0.0.3 importing Smart-Comments-0.0.3.tar.gz (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-0.0.3.tar.gz) downloading Smart-Comments-0.0.3.tar.gz extracting distribution opening backpan index fatal: tag '0' already exists tag 0 84045f7f2f01f127e7133e7339237972d6a5a9b0: command returned error: 128 couldn't import Parse::BACKPAN::Packages::Distribution=HASH(0xb763d654) at /usr/libexec/git-core/git-backpan-init line 64. importing Smart-Comments-1.0.1 importing Smart-Comments-1.0.1.tar.gz (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-1.0.1.tar.gz) downloading Smart-Comments-1.0.1.tar.gz extracting distribution opening backpan index fatal: tag '0' already exists tag 0 967da06363fc181694d4a4db7c7e5dc8d08e143c: command returned error: 128 couldn't import Parse::BACKPAN::Packages::Distribution=HASH(0xb763d6cc) at /usr/libexec/git-core/git-backpan-init line 64. importing Smart-Comments-v1.0.2 importing Smart-Comments-v1.0.2.tar.gz (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-v1.0.2.tar.gz) downloading Smart-Comments-v1.0.2.tar.gz extracting distribution opening backpan index fatal: tag '0' already exists tag 0 c4fccba186f1246fb1ed62639fcb2c23eab4e154: command returned error: 128 couldn't import Parse::BACKPAN::Packages::Distribution=HASH(0xb763d744) at /usr/libexec/git-core/git-backpan-init line 64. importing Smart-Comments-v1.0.3 importing Smart-Comments-v1.0.3.tar.gz (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-v1.0.3.tar.gz) downloading Smart-Comments-v1.0.3.tar.gz extracting distribution opening backpan index fatal: tag '0' already exists tag 0 8c9d4dc436d154bb2aa380027c0863eb3bd7d117: command returned error: 128 couldn't import Parse::BACKPAN::Packages::Distribution=HASH(0xb763d7bc) at /usr/libexec/git-core/git-backpan-init line 64. warning: You appear to be on a branch yet to be born. warning: Forcing checkout of cpan/master. Already on 'master' Branch master set up to track local ref refs/remotes/cpan/master. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Fri, 14 Aug 2009 20:09:07 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Alexandr Ciornii via RT wrote: Show quoted text
> Cannot import Smart::Comments - only .git directory exists inside > repository. Linux Fedora.
Hmm... It works well on my machine. Can you give me the output of './Build prereq_report' so that I can see if we are using different versions of some modules? Joy, `/anick
Птн. Авг. 14 20:06:20 2009, yanick@babyl.dyndns.org писал: Show quoted text
> Alexandr Ciornii via RT wrote:
> > Cannot import Smart::Comments - only .git directory exists inside > > repository. Linux Fedora.
> > Hmm... It works well on my machine. Can you give me the output of > './Build prereq_report' so that I can see if we are using different > versions of some modules?
requires: Module Need Have ---------------------------+--------+---------- autodie 0 2.06 CPANPLUS 0 0.076 Module::Build 0 0.2805 Parse::BACKPAN::Packages 0 0.35 Pod::Usage 0 1.33 -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Sat, 15 Aug 2009 12:10:09 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Alexandr Ciornii via RT wrote: Show quoted text
> CPANPLUS 0 0.076
The problem seems to lie with this guy. If I downgrade to 0.076 (I have 0.84), I can see the same issue than you have. I'll update the dependency of G:C:P to reflect that. Can you upgrade your CPANPLUS and let me know if it solves everything on your side? Joy (and thanks!), `/anick
Суб. Авг. 15 12:07:07 2009, yanick@babyl.dyndns.org писал: Show quoted text
> Alexandr Ciornii via RT wrote:
> > CPANPLUS 0 0.076
> > The problem seems to lie with this guy. If I downgrade to 0.076 (I > have 0.84), I can see the same issue than you have. > > I'll update the dependency of G:C:P to reflect that. Can you upgrade > your CPANPLUS and let me know if it solves everything on your side?
Upgraded CPANPLUS to 0.88. Archive::Extract, File::Fetch, IPC::Cmd and maybe other modules to latest non-dev versions. No tag errors, but still nothing except .git directory exists. Downgraded CPANPLUS to 0.84 - same problem. Here is log with 0.84: # git backpan-init Smart::Comments Initialized empty Git repository in /git/smart-comments/.git/ opening backpan index importing Smart-Comments-0.01 importing Smart::Comments (http://backpan.perl.org/authors/id/A/AU/AUTRIJUS/Smart-Comments-0.01.tar.gz) downloading Smart-Comments-0.01.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag '0.01' (985ba19ffaed1120ca81879ef47900d0e788b464) importing Smart-Comments-0.0.2 importing Smart::Comments (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-0.0.2.tar.gz) downloading Smart-Comments-0.0.2.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag '0.0.2' (debf28bf1b33909ed9c4e65b64673d145b0db113) importing Smart-Comments-0.0.3 importing Smart::Comments (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-0.0.3.tar.gz) downloading Smart-Comments-0.0.3.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag '0.0.3' (a9838587613002c557bd5a59e4c6ef63296973e0) importing Smart-Comments-1.0.1 importing Smart::Comments (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-1.0.1.tar.gz) downloading Smart-Comments-1.0.1.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag '1.0.1' (e8a2410f29831ace34a2b1a5d91d77e9aed42625) importing Smart-Comments-v1.0.2 importing Smart::Comments (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-v1.0.2.tar.gz) downloading Smart-Comments-v1.0.2.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag 'v1.0.2' (9eb4c3e4fb9ea293338dd6e4fad1cbadf8ddbe55) importing Smart-Comments-v1.0.3 importing Smart::Comments (http://backpan.perl.org/authors/id/D/DC/DCONWAY/Smart-Comments-v1.0.3.tar.gz) downloading Smart-Comments-v1.0.3.tar.gz extracting distribution opening backpan index [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources created tag 'v1.0.3' (2a60d21a52def9d58e954498b71660023ec78cc2) warning: You appear to be on a branch yet to be born. warning: Forcing checkout of cpan/master. Branch master set up to track local ref refs/remotes/cpan/master. Already on 'master' # ls -l total 0 -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Tue, 18 Aug 2009 20:01:27 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Alexandr Ciornii via RT wrote: Show quoted text
>> I'll update the dependency of G:C:P to reflect that. Can you upgrade >> your CPANPLUS and let me know if it solves everything on your side?
> > Upgraded CPANPLUS to 0.88. Archive::Extract, File::Fetch, IPC::Cmd and > maybe other modules to latest non-dev versions. No tag errors,
Well, at least it's a step in the right direction. :-) Show quoted text
> but still > nothing except .git directory exists. Downgraded CPANPLUS to 0.84 - same > problem. Here is log with 0.84: > > # git backpan-init Smart::Comments > Initialized empty Git repository in /git/smart-comments/.git/ > opening backpan index > importing Smart-Comments-0.01 > importing Smart::Comments > (http://backpan.perl.org/authors/id/A/AU/AUTRIJUS/Smart-Comments-0.01.tar.gz) > downloading Smart-Comments-0.01.tar.gz > extracting distribution
The problem seems to be around here. If it would be working, you should get a mention of a bunch of files added to the Git repo there. The issue lies near line 104 of git-cpan-import. If I were to give you a version of the script with debugging prints, could you run it and let me know what it says?
Втр. Авг. 18 19:58:13 2009, yanick@babyl.dyndns.org писал: Show quoted text
> The issue lies near line 104 of git-cpan-import. If I were to give > you > a version of the script with debugging prints, could you run it and > let > me know what it says? > >
Of course. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Wed, 19 Aug 2009 19:56:12 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Alexandr Ciornii via RT wrote: Show quoted text
> Queue: Git-CPAN-Patch > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=48713 > > > Втр. Авг. 18 19:58:13 2009, yanick@babyl.dyndns.org писал: >
>> The issue lies near line 104 of git-cpan-import. If I were to give >> you >> a version of the script with debugging prints, could you run it and >> let >> me know what it says? >> >>
> > Of course.
Excellent! :-) The code is at http://github.com/yanick/git-cpan-patch/tree/debugging (click on 'download', it's going to give you a nice tarball). If you could do a 'git init' in an empty directory and then do git cpan-import -d Smart::Comment it'd be awesome. I've added debugging traces so that you should see something like: importing Smart::Comments downloading Smart-Comments-v1.0.3.tar.gz temporary directory is /tmp/1vUhDCWlxi location is: /tmp/1vUhDCWlxi/Smart-Comments-v1.0.3.tar.gz extracting distribution dir: /tmp/1vUhDCWlxi/Smart-Comments-v1.0.3 content of dir: . .. Build.PL Changes lib Makefile.PL MANIFEST META.yml README t add 'Build.PL' add 'Changes' add 'MANIFEST' add 'META.yml' add 'Makefile.PL' add 'README' add 'lib/Smart/Comments.pm' add 't/00.load.t' add 't/ENV_0.t' add 't/ENV_1.t' add 't/ENV_str.t' add 't/assert.t' add 't/brackets.t' add 't/c_like_for_loop.t' add 't/check.t' add 't/confirm.t' add 't/ensure.t' add 't/insist.t' add 't/labelled_perlish_loop.t' add 't/message.t' add 't/perlish_for.t' add 't/perlish_for_percentage.t' add 't/pod-coverage.t' add 't/pod.t' add 't/require.t' add 't/selective.t' add 't/simple_perlish_for.t' add 't/var.t' add 't/verify.t' add 't/while.t' add 't/while_num.t' created tag '1.000003' (8eda9a098afe9405b4552ab33b304de521162b9d) your output should give us a little more hints as to where things go awry. Thanks! `/anick
Срд. Авг. 19 19:52:47 2009, yanick@babyl.dyndns.org писал: Show quoted text
> The code is at http://github.com/yanick/git-cpan-patch/tree/debugging > (click on 'download', it's going to give you a nice tarball). If you > could do a 'git init' in an empty directory and then do > > git cpan-import -d Smart::Comment > > it'd be awesome. I've added debugging traces so that you should see > something like:
# git cpan-import -d Smart::Comments Parentheses missing around "my" list at /usr/libexec/git-core/git-cpan-import line 118. [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources importing Smart::Comments downloading Smart-Comments-v1.0.3.tar.gz temporary directory is /tmp/TzyhtVMPdF archive location is: /tmp/TzyhtVMPdF/Smart-Comments-v1.0.3.tar.gz extracting distribution distribution extracted to /tmp/TzyhtVMPdF/Smart-Comments-v1.0.3 content of distribution root dir: Makefile.PL META.yml MANIFEST Build.PL t .. Changes lib . README created tag '1.000003' (640bf4083097b68fe5dec0fa77a3a569be43494b) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Mon, 24 Aug 2009 21:14:19 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
Alexandr Ciornii via RT wrote: Show quoted text
> Queue: Git-CPAN-Patch > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=48713 > > > Срд. Авг. 19 19:52:47 2009, yanick@babyl.dyndns.org писал: >
>> The code is at http://github.com/yanick/git-cpan-patch/tree/debugging >> (click on 'download', it's going to give you a nice tarball). If you >> could do a 'git init' in an empty directory and then do >> >> git cpan-import -d Smart::Comment >> >> it'd be awesome. I've added debugging traces so that you should see >> something like:
> > # git cpan-import -d Smart::Comments > > Parentheses missing around "my" list at > /usr/libexec/git-core/git-cpan-import line 118. > [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources > importing Smart::Comments > downloading Smart-Comments-v1.0.3.tar.gz > temporary directory is /tmp/TzyhtVMPdF > archive location is: /tmp/TzyhtVMPdF/Smart-Comments-v1.0.3.tar.gz > extracting distribution > distribution extracted to /tmp/TzyhtVMPdF/Smart-Comments-v1.0.3 > content of distribution root dir: > Makefile.PL > META.yml > MANIFEST > Build.PL > t > .. > Changes > lib > . > README > created tag '1.000003' (640bf4083097b68fe5dec0fa77a3a569be43494b)
Hmmm... So it seems it's the 'git add -v --force .' command that isn't working. I must say I'm puzzled... Which version of Git are you running?
Пнд. Авг. 24 21:10:46 2009, yanick@babyl.dyndns.org писал: Show quoted text
> I must say I'm puzzled... Which version of Git are you running?
1.6.4 (installed from source) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #48713] repository is empty
Date: Mon, 31 Aug 2009 21:28:00 -0400
To: bug-Git-CPAN-Patch [...] rt.cpan.org
From: Yanick Champoux <champoux [...] pythian.com>
On Tuesday 25 August 2009 07:23:19 Alexandr Ciornii via RT wrote: Show quoted text
> Queue: Git-CPAN-Patch > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=48713 > > > Пнд. Авг. 24 21:10:46 2009, yanick@babyl.dyndns.org писал:
> > I must say I'm puzzled... Which version of Git are you running?
> > 1.6.4 (installed from source)
Good news are: I'm not able to reproduce the problem. Bad news are: seems to be a change of behavior from the Git side. Still trying to figure out how to fix it. It seems that the new Git don't listen to GIT_WORK_TREE. But only within the script, on the command line it works just fine. Weird stuff.
Version 0.2.1 should fix this problem. Thanks for your patience and your help!