[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bugs and patches in Debian

On Tue, May 20, 2008 at 12:30 PM, Paul Wise <pabs@debian.org> wrote:

>> - Perl-Package-name: we currently have a pointer to the homepage and
>> the watchfile which strongly suggest this (we almost always use
>> seach.cpan.org/dist/foo URLs). I played with the idea of having a more
>> specific metadata available.
> Probably the hard part. Would the most reliable way be to look at the
> Contents files and convert file names to Perl-Package-names?

It'd be much easier to look at the debian/watch file and infer from that:

$ perl -lne 'm#http://search.cpan.org/dist/(.+?)(?:/|$|\s)# and print
$1' debian/watch

This would work for 99% of our packages. But it is still very hackish.

Martín Ferrari

Reply to: