public inbox for gentoo-perl@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-perl] HOMEPAGE url for CPAN packages
@ 2006-08-16 11:20 Christian Hartmann
  2006-08-16 11:45 ` Antoine Raillon
  2006-08-16 12:37 ` [gentoo-perl] HOMEPAGE " Yuval Yaari
  0 siblings, 2 replies; 7+ messages in thread
From: Christian Hartmann @ 2006-08-16 11:20 UTC (permalink / raw
  To: gentoo-perl

Howdy folks,

nothing too important but it just came to my mind again: Can we please agree 
on a policy about the urls we put in the HOMEPAGE var in our cpan ebuilds?

I usually use "http://search.cpan.org/~author/${P}/" and found it quite handy 
so far. Today I saw a commit by our new friend yuval whose solution was even 
better: "http://search.cpan.org/site/${P}/" - This way we don't need to 
change the url when the maintainer of the package changes. (I saw this 
happening quite often lately.)

Thoughts?

-- 
Christian Hartmann
http://www.gentoo.org/~ian/

PGP Key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2154E5EE692A4865
Key fingerprint = 4544 EC0C BAE4 216F 5981  7F95 2154 E5EE 692A 4865

-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] HOMEPAGE url for CPAN packages
  2006-08-16 11:20 [gentoo-perl] HOMEPAGE url for CPAN packages Christian Hartmann
@ 2006-08-16 11:45 ` Antoine Raillon
  2006-08-16 12:33   ` Yuval Yaari
  2006-08-16 12:37 ` [gentoo-perl] HOMEPAGE " Yuval Yaari
  1 sibling, 1 reply; 7+ messages in thread
From: Antoine Raillon @ 2006-08-16 11:45 UTC (permalink / raw
  To: gentoo-perl

Quoting Christian Hartmann <ian@gentoo.org>:

hello world ;)

> Thoughts?

I wasn't sure the /site/ thing worked everywhere so i chose some  
random packages in CPAN and tried. The victim are DBM-DBass and  
DBD-mysql.

http://search.cpan.org/~spiderboy/DBM-DBass-0.54/ => exists
http://search.cpan.org/site/DBM-DBass-0.54/ => Internal Server Error

http://search.cpan.org/~capttofu/DBD-mysql-3.0006/ => exists
http://search.cpan.org/site/DBD-mysql-3.0006/ => 500

and even without versionning :

http://search.cpan.org/~capttofu/DBD-mysql/ => exists
http://search.cpan.org/site/DBD-mysql/ => 500

so the /site/ option is nice and can avoid problems, but it's not  
always working ;)
maybe it can be used when available, with a fallback on the ~author  
page if the site one doesn't work ?

-- 
Antoine Raillon <antoine.raillon@dragou.net>
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] HOMEPAGE url for CPAN packages
  2006-08-16 11:45 ` Antoine Raillon
@ 2006-08-16 12:33   ` Yuval Yaari
  2006-08-16 12:50     ` Antoine Raillon
  0 siblings, 1 reply; 7+ messages in thread
From: Yuval Yaari @ 2006-08-16 12:33 UTC (permalink / raw
  To: gentoo-perl

Antoine Raillon wrote:
> I wasn't sure the /site/ thing worked everywhere so i chose some 
> random packages in CPAN and tried. The victim are DBM-DBass and 
> DBD-mysql.
s/site/dist/g;

  --Yuval
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] HOMEPAGE url for CPAN packages
  2006-08-16 11:20 [gentoo-perl] HOMEPAGE url for CPAN packages Christian Hartmann
  2006-08-16 11:45 ` Antoine Raillon
@ 2006-08-16 12:37 ` Yuval Yaari
  1 sibling, 0 replies; 7+ messages in thread
From: Yuval Yaari @ 2006-08-16 12:37 UTC (permalink / raw
  To: gentoo-perl

Christian Hartmann wrote:
> Thoughts?
>   

I obviously prefer the dist (not site :)) way...

  --Yuval
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] HOMEPAGE url for CPAN packages
  2006-08-16 12:33   ` Yuval Yaari
@ 2006-08-16 12:50     ` Antoine Raillon
  2006-08-16 12:53       ` Elfyn McBratney
  0 siblings, 1 reply; 7+ messages in thread
From: Antoine Raillon @ 2006-08-16 12:50 UTC (permalink / raw
  To: gentoo-perl

Quoting Yuval Yaari <yuval@gentoo.org>:

> s/site/dist/g;

erhm.. well.. ian's mail misleaded me ;)
that's the problem when you just have the web and nothing else in a  
Windows environment ;)

+1 for the /dist/ ;p

-- 
Antoine Raillon <antoine.raillon@dragou.net>
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] HOMEPAGE url for CPAN packages
  2006-08-16 12:50     ` Antoine Raillon
@ 2006-08-16 12:53       ` Elfyn McBratney
  2006-08-22 16:40         ` [gentoo-perl] " Michael Cummings
  0 siblings, 1 reply; 7+ messages in thread
From: Elfyn McBratney @ 2006-08-16 12:53 UTC (permalink / raw
  To: gentoo-perl

Ciao,

On Wed, Aug 16, 2006 at 02:50:07PM +0200, Antoine Raillon wrote:
 > Quoting Yuval Yaari <yuval@gentoo.org>:
 > 
 > >s/site/dist/g;
 > 
 > erhm.. well.. ian's mail misleaded me ;)
 > that's the problem when you just have the web and nothing else in a  
 > Windows environment ;)
 > 
 > +1 for the /dist/ ;p

+1 from me too.

Best,
Elfyn

-- 
Elfyn McBratney, Gentoo Developer
+----------------------------------+
|  irc.freenode.net / beu          |
|  beu [@] gentoo [.] org          |
+-------------------------- o.0 ---+
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-perl] url for CPAN packages
  2006-08-16 12:53       ` Elfyn McBratney
@ 2006-08-22 16:40         ` Michael Cummings
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Cummings @ 2006-08-22 16:40 UTC (permalink / raw
  To: gentoo-perl

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

Elfyn McBratney wrote:
| Ciao,
|
| On Wed, Aug 16, 2006 at 02:50:07PM +0200, Antoine Raillon wrote:
|  > Quoting Yuval Yaari <yuval@gentoo.org>:
|  >
|  > >s/site/dist/g;
|  >
|  > erhm.. well.. ian's mail misleaded me ;)
|  > that's the problem when you just have the web and nothing else in a
|  > Windows environment ;)
|  >
|  > +1 for the /dist/ ;p
|
| +1 from me too.
|
| Best,
| Elfyn
|

The only caveat to all of this (both old way and /dist/${P}) is that it
does break stdout in the portage search tools since they aren't sourcing
the ebuilds (so they literally print HOMEPAGE: mirror://cpan/dist/${P}
instead of dist/some-package).

That said, i haven't exactly jumped to change old habits either :)

- --

- -----o()o----------------------------------------------
Michael Cummings   |    #gentoo-dev, #gentoo-perl
Gentoo Perl Dev    |    on irc.freenode.net
Gentoo/SPARC
Gentoo/AMD64
GPG: 0543 6FA3 5F82 3A76 3BF7  8323 AB5C ED4E 9E7F 4E2E
- -----o()o----------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE6zN0q1ztTp5/Ti4RAmpqAJ9q5rzadUn8Li8mFqteoDJLbaOq7QCdFE7O
E1rYdwVHK1fLtDEqXui7E0E=
=dfi0
-----END PGP SIGNATURE-----
-- 
gentoo-perl@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-22 16:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16 11:20 [gentoo-perl] HOMEPAGE url for CPAN packages Christian Hartmann
2006-08-16 11:45 ` Antoine Raillon
2006-08-16 12:33   ` Yuval Yaari
2006-08-16 12:50     ` Antoine Raillon
2006-08-16 12:53       ` Elfyn McBratney
2006-08-22 16:40         ` [gentoo-perl] " Michael Cummings
2006-08-16 12:37 ` [gentoo-perl] HOMEPAGE " Yuval Yaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox