From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SL8Yb-0003b6-6D for garchives@archives.gentoo.org; Fri, 20 Apr 2012 07:47:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61F47E079B; Fri, 20 Apr 2012 07:46:46 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E29DE0771 for ; Fri, 20 Apr 2012 07:46:05 +0000 (UTC) Received: by bkcjm2 with SMTP id jm2so63271bkc.40 for ; Fri, 20 Apr 2012 00:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=63Ll33TScRUvm6EeEhYxbMHgcGyzlSXklZaJkQisMng=; b=lf9tWu+3AG0Jyz/WSYOrZ2ndi7G/uOXDoqqZ3bpQylxrOO8dh9cBkxivplOPkVQB/K bi6fqBnJ+18fluf5+sl3IFTXuRX2wvXiY75freuMHoWP6kj/9PxXZJYgC9FjDU4iVaGO raDQH4LlHYZ87dkQWCifm0Xe/NlgzIQTF5c6YQoRHS2vtOg47VkKVNEsd9TCXYFTId9e vMMloXsoKlqNp18CKV5AekrAYfrYxvVzq0xNrCSbCiF6268waUIqLsQ+Ks8Dqz7WgD03 Bs/LL0dejKyUcUUmik5ywkz/ZQX4Z6TxikSrB4NJ612L0lkhdjOSi6HNXunJUx8e03XU qUDg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.152.202 with SMTP id h10mr1568370bkw.85.1334907964653; Fri, 20 Apr 2012 00:46:04 -0700 (PDT) Received: by 10.205.82.129 with HTTP; Fri, 20 Apr 2012 00:46:04 -0700 (PDT) In-Reply-To: References: <20120419153111.GD24273@falgoret> Date: Fri, 20 Apr 2012 09:46:04 +0200 Message-ID: Subject: Re: [gentoo-dev] RFC: Add new remote-id types in metadata.dtd From: Corentin Chary To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e4019516-a1a5-4103-804e-812a3fdf33dd X-Archives-Hash: 37f95a619fe10121a92709b8a2966e0b On Fri, Apr 20, 2012 at 9:37 AM, Kent Fredric wrote= : > On 20 April 2012 03:31, Corentin Chary wrote: >> Add rubygems, github, gitorious, pecl, pear, bitbucket. >> All of them are handled by my remoteids.py script. >> >> ref: https://bugs.gentoo.org/show_bug.cgi?id=3D406287 >> ref: https://github.com/iksaif/portage-janitor/blob/master/remoteids.py >> >> --- a/metadata/dtd/metadata.dtd 2010-03-02 18:52:11.000000000 +0100 >> +++ b/metadata/dtd/metadata.dtd 2012-04-19 14:22:14.077954310 +0200 >> @@ -61,7 +61,7 @@ >> =C2=A0 =C2=A0 >> =C2=A0 =C2=A0 >> =C2=A0 =C2=A0 >> - =C2=A0 =C2=A0 =C2=A0 >> + =C2=A0 =C2=A0 =C2=A0 >> >> =C2=A0 >> >> -- >> Corentin Chary >> http://xf.iksaif.net/ > > > I suggested last week on #gentoo-perl that it might be nice to have > 'cpan' and 'cpan-module' =C2=A0( or something like that ) to disambiguate= 2 > queryable terms. ( where 'cpan' =C2=A0=3D> 'the package name on cpan' ) > > For some purposes, its most convenient to use the distribution name, > and for other purposes, (ie: cpan clients) its more convenient to use > a Module name, and its not easy to translate between the two, as > Module names sometimes switch between packages =C2=A0they're shipped in. > > For instance, a while ago, the BioPerl module was shipped in a > distribution 'bioperl' , which has only recently been changed to > BioPerl > > > http://api.metacpan.org/release/_search?q=3Ddistribution:bioperl&fields= =3Darchive,author,date,download_url > > http://api.metacpan.org/release/_search?q=3Ddistribution:BioPerl&fields= =3Darchive,author,date,download_url > > vs > > > http://api.metacpan.org/module/_search?q=3Dmodule.name:Bio\:\:Perl&fields= =3Ddistribution,author,release Looks sane since the goal of remote-id is being able to identify the package upstream. Do you think you could patch remotesid.py to generate tags for cpan / cpan-modules ? Or at least give me a pseudo-algo that does the trick. Thanks :) --=20 Corentin Chary http://xf.iksaif.net