Skip Menu |

This queue is for tickets about the CPAN-DistnameInfo CPAN distribution.

Report information
The Basics
Id: 37234
Status: resolved
Priority: 0/
Queue: CPAN-DistnameInfo

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

Bug Information
Severity: Important
Broken in: 0.06
Fixed in: 0.07



Subject: [PATCH] add .tar.bz2 as possible extension of files
There are several distributions on the CPAN that use this extension. We use your module in CPAN2RT importer, so it's pretty important. -- Best regards, Ruslan.
Subject: CPAN-DistnameInfo-0.06-dist_extensions.patch
diff -ru CPAN-DistnameInfo-0.06/lib/CPAN/DistnameInfo.pm CPAN-DistnameInfo-0.06-my/lib/CPAN/DistnameInfo.pm --- CPAN-DistnameInfo-0.06/lib/CPAN/DistnameInfo.pm 2004-09-21 01:42:26.000000000 +0400 +++ CPAN-DistnameInfo-0.06-my/lib/CPAN/DistnameInfo.pm 2008-06-30 16:11:22.000000000 +0400 @@ -65,7 +65,7 @@ ($info{filename} = $distfile) =~ s,^(((.*?/)?authors/)?id/)?([A-Z])/(\4[A-Z])/(\5[-A-Z0-9]*)/,, and $info{cpanid} = $6; - if ($distfile =~ m,([^/]+)\.(tar\.g?z|zip|tgz)$,i) { # support more ? + if ($distfile =~ m,([^/]+)\.(tar\.(?:g?z|bz2)|zip|tgz)$,i) { # support more ? $info{distvname} = $1; $info{extension} = $2; }
Subject: Re: [rt.cpan.org #37234] [PATCH] add .tar.bz2 as possible extension of files
Date: Mon, 30 Jun 2008 21:59:24 -0500
To: bug-CPAN-DistnameInfo [...] rt.cpan.org
From: Graham Barr <gbarr [...] pobox.com>
CPAN-DistnameInfo-0.07 has been uploaded to CPAN supporting .tar.bz2