Skip Menu |

This queue is for tickets about the Git CPAN distribution.

Report information
The Basics
Id: 92236
Status: resolved
Priority: 0/
Queue: Git

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

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.40



Subject: not indexed correctly
cpan[1]> test Git Reading '/home/c/.cpan/Metadata' Database was generated on Fri, 17 Jan 2014 13:17:02 GMT Warning: Cannot test Git, don't know what it is. Try the command i /Git/ to find objects with matching identifiers. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #92236] not indexed correctly
Date: Fri, 17 Jan 2014 11:25:15 -0600
To: bug-Git [...] rt.cpan.org
From: Mike South <msouth [...] gmail.com>
Yeah, I'm trying to get in contact with DOLMEN about this. Git::Sub has a weird thing where it defines $git::VERSION. I think that needs to change to fix this: Hi Olivier, I received the following notice when I tried to upload the latest version of Git.pm from the git distribution: Status: Decreasing version number ================================= module: Git version: 0.03 in file: Git-0.03/lib/Git.pm status: Not indexed because Git-Sub-0.130270/lib/Git/Sub.pm in D/DO/DOLMEN/Git-Sub-0.130270.tar.gz has a higher version number (0.130270) My purpose in putting Git.pm on CPAN is to make it so that people using things like a perlbrewed perl can get Git from CPAN to satisfy the dependency chain when using things like Git::Hooks. I believe/guess that this section of code in your module: package git; { $git::VERSION = '0.130270'; } is confusing the CPAN indexer into thinking your module is a more recent version of Git.pm than the one I am trying to upload. I don't know why, since the cases don't match. Perhaps it's a bug in the indexer. Does your code need that bit for something? Is there a way to do it that doesn't make it look to the PAUSE system as if you're setting $Git::VERSION? Thanks for any help you might be able to give with this. mike On Fri, Jan 17, 2014 at 11:13 AM, Alexandr Ciornii via RT < bug-Git@rt.cpan.org> wrote: Show quoted text
> Fri Jan 17 12:12:59 2014: Request 92236 was acted upon. > Transaction: Ticket created by CHORNY > Queue: Git > Subject: not indexed correctly > Broken in: 0.03 > Severity: Important > Owner: Nobody > Requestors: CHORNY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92236 > > > > cpan[1]> test Git > Reading '/home/c/.cpan/Metadata' > Database was generated on Fri, 17 Jan 2014 13:17:02 GMT > Warning: Cannot test Git, don't know what it is. > Try the command > > i /Git/ > > to find objects with matching identifiers. > > > -- > Alexandr Ciornii, http://chorny.net > >
There were one or more packages that had a Git package in them. I have been in contact with some of the authors and CPAN admins (if I recall correctly). I did implement a workaround by bumping my version number from 0.04 to 0.40 because of this: Status of this distro: Decreasing version number ================================================ The following packages (grouped by status) have been found in the distro: Status: Decreasing version number ================================= module : Git version: 0.04 in file: Git-0.04/lib/Git.pm status : Not indexed because Git-Sub-0.130270/lib/Git/Sub.pm in D/DO/DOLMEN/Git-Sub-0.130270.tar.gz has a higher version number (0.130270) I'm not sure if that's going to cause them problems, I'll contact that author about it.