Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Corentin Chary <corentin.chary@...>
Subject: Re: RFC: Add new remote-id types in metadata.dtd
Date: Sat, 21 Apr 2012 11:18:45 +0200
On Sat, Apr 21, 2012 at 03:33:18PM +1200, Kent Fredric wrote:
> On 21 April 2012 08:33, Corentin Chary <corentin.chary@...> wrote:
> > On Fri, Apr 20, 2012 at 9:35 PM, Kent Fredric <kentfredric@...> wrote:
> >> On 21 April 2012 01:34, Corentin Chary <corentin.chary@...> wrote:
> >>> Yeah, not very important, but seems to work with this patch:
> >>> https://github.com/iksaif/portage-janitor/commit/972aff94744741e34e99f917337430d245883c48
> 
> http://api.metacpan.org/release/Scalar-List-Utils
> 
> Will be far better an option than parsing HTML =)
> 
> And even better:
> 
> curl -XPOST 'http://api.metacpan.org/module/_search' -d '
> {
> 	"fields": [
> 		"module.name",
> 		"release"
> 	],
> 	"query": {
> 		"constant_score": {
> 			"filter" : {
> 				"and" : [
> 					{ "term": { "distribution":"Scalar-List-Utils" } },
> 					{ "term": { "status":"latest"} },
> 					{ "term": { "mime":"text/x-script.perl-module"}},
> 					{ "term": { "indexed":"true"}},
> 					{ "term": { "module.authorized":"true"}}
> 				]
> 			}
> 		}
> 	}
> }
> '
> 

It is !

$ ./remoteids.py --diff WWW-Bugzilla Moose bioperl Scalar-List-Utils libwww-perl
--- a/dev-perl/WWW-Bugzilla/metadata.xml
+++ b/dev-perl/WWW-Bugzilla/metadata.xml
@@ -3,6 +3,8 @@
 <pkgmetadata>
   <herd>perl</herd>
   <upstream>
+    <remote-id type="cpan-module">WWW::Bugzilla::Search</remote-id>
+    <remote-id type="cpan-module">WWW::Bugzilla</remote-id>
     <remote-id type="cpan">WWW-Bugzilla</remote-id>
   </upstream>
 </pkgmetadata>
--- a/dev-perl/Moose/metadata.xml
+++ b/dev-perl/Moose/metadata.xml
@@ -3,6 +3,17 @@
 <pkgmetadata>
   <herd>perl</herd>
   <upstream>
+    <remote-id type="cpan-module">Class::MOP</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Attribute::Native::Trait::Counter</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Attribute::Native::Trait::String</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Method::Delegation</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::TypeConstraint::Role</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Attribute::Custom::Moose</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Attribute</remote-id>
+    <remote-id type="cpan-module">Moose::Meta::Method</remote-id>
+    <remote-id type="cpan-module">Moose::Error::Croak</remote-id>
+    <remote-id type="cpan-module">Moose::Util::MetaRole</remote-id>
+    <remote-id type="cpan-module">Moose::Role</remote-id>
     <remote-id type="cpan">Moose</remote-id>
   </upstream>
 </pkgmetadata>
--- a/perl-core/Scalar-List-Utils/metadata.xml
+++ b/perl-core/Scalar-List-Utils/metadata.xml
@@ -3,6 +3,9 @@
 <pkgmetadata>
   <herd>perl</herd>
   <upstream>
+    <remote-id type="cpan-module">List::Util</remote-id>
+    <remote-id type="cpan-module">Scalar::Util</remote-id>
+    <remote-id type="cpan-module">List::Util::XS</remote-id>
     <remote-id type="cpan">Scalar-List-Utils</remote-id>
   </upstream>
 </pkgmetadata>
--- a/dev-perl/libwww-perl/metadata.xml
+++ b/dev-perl/libwww-perl/metadata.xml
@@ -3,6 +3,17 @@
 <pkgmetadata>
   <herd>perl</herd>
   <upstream>
+    <remote-id type="cpan-module">LWP::Protocol::data</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::gopher</remote-id>
+    <remote-id type="cpan-module">LWP::Debug</remote-id>
+    <remote-id type="cpan-module">LWP::UserAgent</remote-id>
+    <remote-id type="cpan-module">LWP::Authen::Digest</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::file</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::loopback</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::MyFTP</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::ftp</remote-id>
+    <remote-id type="cpan-module">LWP::Protocol::cpan</remote-id>
+    <remote-id type="cpan-module">LWP::MemberMixin</remote-id>
     <remote-id type="cpan">libwww-perl</remote-id>
   </upstream>
 </pkgmetadata>


-- 
Corentin Chary
http://xf.iksaif.net/


Replies:
Re: RFC: Add new remote-id types in metadata.dtd
-- Torsten Veller
References:
RFC: Add new remote-id types in metadata.dtd
-- Corentin Chary
Re: RFC: Add new remote-id types in metadata.dtd
-- Kent Fredric
Re: RFC: Add new remote-id types in metadata.dtd
-- Corentin Chary
Re: RFC: Add new remote-id types in metadata.dtd
-- Kent Fredric
Re: RFC: Add new remote-id types in metadata.dtd
-- Corentin Chary
Re: RFC: Add new remote-id types in metadata.dtd
-- Kent Fredric
Re: RFC: Add new remote-id types in metadata.dtd
-- Corentin Chary
Re: RFC: Add new remote-id types in metadata.dtd
-- Kent Fredric
Re: RFC: Add new remote-id types in metadata.dtd
-- Corentin Chary
Re: RFC: Add new remote-id types in metadata.dtd
-- Kent Fredric
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: Add new remote-id types in metadata.dtd
Next by thread:
Re: RFC: Add new remote-id types in metadata.dtd
Previous by date:
Re: RFC: Add new remote-id types in metadata.dtd
Next by date:
Re: RFC: Add new remote-id types in metadata.dtd


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.