Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Add new remote-id types in metadata.dtd
Date: Fri, 20 Apr 2012 07:39:00
Message-Id: CAATnKFAvR6Tio7zrAK9bA7nPz1vgXFS4emm6n_nifrRkcDm=ug@mail.gmail.com
In Reply to: [gentoo-dev] RFC: Add new remote-id types in metadata.dtd by Corentin Chary
1 On 20 April 2012 03:31, Corentin Chary <corentin.chary@×××××.com> wrote:
2 > Add rubygems, github, gitorious, pecl, pear, bitbucket.
3 > All of them are handled by my remoteids.py script.
4 >
5 > ref: https://bugs.gentoo.org/show_bug.cgi?id=406287
6 > ref: https://github.com/iksaif/portage-janitor/blob/master/remoteids.py
7 >
8 > --- a/metadata/dtd/metadata.dtd 2010-03-02 18:52:11.000000000 +0100
9 > +++ b/metadata/dtd/metadata.dtd 2012-04-19 14:22:14.077954310 +0200
10 > @@ -61,7 +61,7 @@
11 >     <!ELEMENT bugs-to (#PCDATA)>
12 >     <!-- specify a type of package identification tracker -->
13 >     <!ELEMENT remote-id (#PCDATA)>
14 > -      <!ATTLIST remote-id type (freshmeat|sourceforge|sourceforge-jp|cpan|vim|google-code|ctan|pypi|rubyforge|cran) #REQUIRED>
15 > +      <!ATTLIST remote-id type (freshmeat|sourceforge|sourceforge-jp|cpan|vim|google-code|ctan|pypi|rubyforge|cran|rubygems|github|gitorious|pecl|pear|bitbucket) #REQUIRED>
16 >
17 >   <!-- category/package information for cross-linking in descriptions
18 >     and useflag descriptions -->
19 >
20 > --
21 > Corentin Chary
22 > http://xf.iksaif.net/
23
24
25 I suggested last week on #gentoo-perl that it might be nice to have
26 'cpan' and 'cpan-module' ( or something like that ) to disambiguate 2
27 queryable terms. ( where 'cpan' => 'the package name on cpan' )
28
29 For some purposes, its most convenient to use the distribution name,
30 and for other purposes, (ie: cpan clients) its more convenient to use
31 a Module name, and its not easy to translate between the two, as
32 Module names sometimes switch between packages they're shipped in.
33
34 For instance, a while ago, the BioPerl module was shipped in a
35 distribution 'bioperl' , which has only recently been changed to
36 BioPerl
37
38
39 http://api.metacpan.org/release/_search?q=distribution:bioperl&fields=archive,author,date,download_url
40
41 http://api.metacpan.org/release/_search?q=distribution:BioPerl&fields=archive,author,date,download_url
42
43 vs
44
45
46 http://api.metacpan.org/module/_search?q=module.name:Bio\:\:Perl&fields=distribution,author,release
47
48
49
50 --
51 Kent
52
53 perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3,
54 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"
55
56 http://kent-fredric.fox.geek.nz

Replies

Subject Author
Re: [gentoo-dev] RFC: Add new remote-id types in metadata.dtd Corentin Chary <corentin.chary@×××××.com>