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
>
>