Help!

by-author vs. by-module URLs in debian/watch

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Perl RSS
Next:  [bts-link] source package linux-2.6  
Author Message
Damyan Ivanov
External


Since: May 28, 2006
Posts: 96



PostPosted: Sun Aug 05, 2007 10:40 am    Post subject: by-author vs. by-module URLs in debian/watch
Archived from groups: linux>debian>maint>perl (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

During the hacking of versioncheck.pl. I noticed that debian/watch files
of our packages contain by-author and by-module CPAN directories in a
semi-random fashion.

I think, we should stick with by-module usage.

Why: because otherwise uscan would miss when newer version is available
from different author.

Wny not: by-module directories are usually longer. This would increase
the load on CPAN mirrors (slightly) and the DEHS machine (more
important, I guess). The versioncheck.pl's performance would not be
affected by the change (same for alioth).

I can make the change group-wide, although, I prefer to do this with
group agreement. Smile
What do you think?
- --
Damyan Ivanov JabberID: dam.RemoveThis@jabber.minus273.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtYtHHqjlqpcl9jsRAjsjAKDFuNaEazw4/2TwB2Nhvf9EPZXQiACeMxn7
nDhPGaNPxW1n3enPxvSQc3Q=
=yZK7
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Bart Martens
External


Since: Apr 17, 2006
Posts: 315



PostPosted: Sun Aug 05, 2007 1:50 pm    Post subject: Re: by-author vs. by-module URLs in debian/watch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 2007-08-05 at 11:33 +0300, Damyan Ivanov wrote:
> Hi,
>
> During the hacking of versioncheck.pl. I noticed that debian/watch files
> of our packages contain by-author and by-module CPAN directories in a
> semi-random fashion.
>
> I think, we should stick with by-module usage.
>
> Why: because otherwise uscan would miss when newer version is available
> from different author.

Yes, I've seen that happen.

>
> Wny not: by-module directories are usually longer. This would increase
> the load on CPAN mirrors (slightly) and the DEHS machine (more
> important, I guess). The versioncheck.pl's performance would not be
> affected by the change (same for alioth).

Another reason for why not: The directories "by-module" seem to lag
behind. For example:

These have version 0.9:
http://packages.qa.debian.org/libc/libclass-dbi-pg-perl.html
http://search.cpan.org/~dmaki/Class-DBI-Pg/

But here the newest version is 0.8:
http://cpan.org/modules/by-module/Class/

I have not yet scanned all Perl modules in Debian to see how big this
problem at CPAN is.

>
> I can make the change group-wide, although, I prefer to do this with
> group agreement. Smile

I'm not part of the group, but I'm so arrogant to push my thoughts here
anyway. Smile

> What do you think?

I think that a "per package" approach is best, so a debian/watch file
per package with "by-module" or with "authors/id" depending on what fits
best for the package. I think however that "by-module" is a very
reasonable general default.

Regards,

Bart Martens



--
To UNSUBSCRIBE, email to debian-perl-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Damyan Ivanov
External


Since: May 28, 2006
Posts: 96



PostPosted: Sun Aug 05, 2007 8:20 pm    Post subject: Re: by-author vs. by-module URLs in debian/watch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -=| Bart Martens, 5.08.2007 14:48 |=-
> Another reason for why not: The directories "by-module" seem to lag
> behind. For example:
>
> These have version 0.9:
> http://packages.qa.debian.org/libc/libclass-dbi-pg-perl.html
> http://search.cpan.org/~dmaki/Class-DBI-Pg/
>
> But here the newest version is 0.8:
> http://cpan.org/modules/by-module/Class/
>
> I have not yet scanned all Perl modules in Debian to see how big this
> problem at CPAN is.

Ouch! Existence of such exceptions makes the whole idea of using only
by-module URLs inappropriate.

I guess the most authoritative source of module version information
would be http://search.cpan.org/searcg?query=$module&mode=module but
using this for all 360 DPG packages would be dead slow.

> I'm not part of the group, but I'm so arrogant to push my thoughts here
> anyway. Smile

Your input is valuable. Thanks!

> I think that a "per package" approach is best, so a debian/watch file
> per package with "by-module" or with "authors/id" depending on what fits
> best for the package. I think however that "by-module" is a very
> reasonable general default.

This pretty much is the current state and I agree it is a reasonable
approach. Perhaps we can move to by-module-is-preferred approach, but
only after making sure this does more good than harm.
- --
Damyan Ivanov JabberID: dam.RemoveThis@jabber.minus273.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGthM6Hqjlqpcl9jsRAoMwAJ0aZX3ycEaJUIvXreiksrHhisHTCwCgxdhx
CFd8fFRqtPcxCVXFQ6X/8wM=
=Q81k
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Andreas J. Koenig
External


Since: Aug 05, 2007
Posts: 1



PostPosted: Sun Aug 05, 2007 10:30 pm    Post subject: Re: by-author vs. by-module URLs in debian/watch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>>>>> On Sun, 05 Aug 2007 21:13:14 +0300, Damyan Ivanov <dam DeleteThis @modsoftsys.com> said:

di> -=| Bart Martens, 5.08.2007 14:48 |=-
>> Another reason for why not: The directories "by-module" seem to lag
>> behind. For example:
>>
>> These have version 0.9:
>> http://packages.qa.debian.org/libc/libclass-dbi-pg-perl.html
>> http://search.cpan.org/~dmaki/Class-DBI-Pg/
>>
>> But here the newest version is 0.8:
>> http://cpan.org/modules/by-module/Class/
>>
>> I have not yet scanned all Perl modules in Debian to see how big this
>> problem at CPAN is.

di> Ouch! Existence of such exceptions makes the whole idea of using only
di> by-module URLs inappropriate.

di> I guess the most authoritative source of module version information
di> would be http://search.cpan.org/searcg?query=$module&mode=module but
di> using this for all 360 DPG packages would be dead slow.

Authoritative are the index files modules/02packages.details.txt.gz
and neighbors. Let me know if you need more information thatn you can
find there.

--
andreas


--
To UNSUBSCRIBE, email to debian-perl-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Gunnar Wolf
External


Since: Nov 12, 2004
Posts: 200



PostPosted: Tue Aug 07, 2007 8:10 pm    Post subject: Re: by-author vs. by-module URLs in debian/watch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Damyan Ivanov dijo [Sun, Aug 05, 2007 at 11:33:11AM +0300]:
> During the hacking of versioncheck.pl. I noticed that debian/watch files
> of our packages contain by-author and by-module CPAN directories in a
> semi-random fashion.
>
> I think, we should stick with by-module usage.
>
> Why: because otherwise uscan would miss when newer version is available
> from different author.
>
> Wny not: by-module directories are usually longer. This would increase
> the load on CPAN mirrors (slightly) and the DEHS machine (more
> important, I guess). The versioncheck.pl's performance would not be
> affected by the change (same for alioth).
>
> I can make the change group-wide, although, I prefer to do this with
> group agreement. Smile

I completely agree - In fact, I've done _some_ of those changes,
usually when first adopting a package. I do find more important the
correctness of the information given by by-module than a small extra
penalty that comes from managing a large directory; modules'
maintainership can be transferred between CPAN maintainers, and
tracking an inactive author is not fun Smile

....Anyway, I would expect main CPAN mirrors to have the directories
cached, and the rendered pages are not so massive as to swamp DEHS
either. Oh, and I think DEHS might (should?) also be caching them, as
many modules are at the same directories.

--
Gunnar Wolf - gwolf.RemoveThis@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Perl All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum