public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Corentin Chary <corentin.chary@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: Add new remote-id types in metadata.dtd
Date: Sat, 21 Apr 2012 11:18:45 +0200	[thread overview]
Message-ID: <20120421091845.GF24273@falgoret> (raw)
In-Reply-To: <CAATnKFAA9hxsqc-NDGV8NXOPW1sqTARhXGKvjv2W+mPmDbPR9A@mail.gmail.com>

On Sat, Apr 21, 2012 at 03:33:18PM +1200, Kent Fredric wrote:
> On 21 April 2012 08:33, Corentin Chary <corentin.chary@gmail.com> wrote:
> > On Fri, Apr 20, 2012 at 9:35 PM, Kent Fredric <kentfredric@gmail.com> wrote:
> >> On 21 April 2012 01:34, Corentin Chary <corentin.chary@gmail.com> 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/



  reply	other threads:[~2012-04-21  9:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-19 15:31 [gentoo-dev] RFC: Add new remote-id types in metadata.dtd Corentin Chary
2012-04-19 16:54 ` Michał Górny
2012-04-19 19:32   ` Corentin Chary
2012-04-21  9:32     ` Michał Górny
2012-04-21 11:38       ` Corentin Chary
2012-04-19 18:08 ` "Paweł Hajdan, Jr."
2012-04-19 18:57   ` Michał Górny
2012-04-19 20:00 ` Robin H. Johnson
2012-04-20  7:37 ` Kent Fredric
2012-04-20  7:46   ` Corentin Chary
2012-04-20  8:26     ` Kent Fredric
2012-04-20 11:21       ` Corentin Chary
2012-04-20 12:39         ` Kent Fredric
2012-04-20 13:34           ` Corentin Chary
2012-04-20 19:35             ` Kent Fredric
2012-04-20 20:33               ` Corentin Chary
2012-04-21  3:33                 ` Kent Fredric
2012-04-21  9:18                   ` Corentin Chary [this message]
2012-05-12 19:43                     ` [gentoo-dev] " Torsten Veller
2012-05-17  0:02                       ` Kent Fredric
2012-05-18  6:46                         ` Corentin Chary
2012-06-02 17:11                           ` [gentoo-dev] remote-id cpan-module Torsten Veller
2012-06-13 12:07                             ` Corentin Chary
2012-05-17  0:05                       ` [gentoo-dev] Re: RFC: Add new remote-id types in metadata.dtd Kent Fredric
2012-05-22 14:16 ` [gentoo-dev] " Michael Weber
2012-06-02 17:30 ` Michael Weber
2012-06-04  8:14   ` Corentin Chary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120421091845.GF24273@falgoret \
    --to=corentin.chary@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox