public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rbot-gentoo:master commit in: /
Date: Sun,  1 Apr 2012 15:59:54 +0000 (UTC)	[thread overview]
Message-ID: <1333295986.0b4dcf5e70f19b3b4713d6f14a35328fa1aebd31.robbat2@gentoo> (raw)

commit:     0b4dcf5e70f19b3b4713d6f14a35328fa1aebd31
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  1 15:59:46 2012 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Apr  1 15:59:46 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/rbot-gentoo.git;a=commit;h=0b4dcf5e

Add PDEPEND support.

---
 gentoo-data.rb |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/gentoo-data.rb b/gentoo-data.rb
index e1b8800..8749910 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -306,6 +306,10 @@ class GentooPlugin < Plugin
     depcommon(m, 'DEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/dindex/', params)
   end
 
+  def pdep(m, params)
+    depcommon(m, 'PDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/pindex/', params)
+  end
+
   def rdep(m, params)
     depcommon(m, 'RDEPEND', 'http://qa-reports.gentoo.org/output/genrdeps/rindex/', params)
   end
@@ -327,7 +331,7 @@ class GentooPlugin < Plugin
   end
 
   @@help_gentoo = {
-    "gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}",
+    "gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}",
     "meta" => [
             "meta #{Bold}[cat/]package#{Bold} : Print metadata for the given package",
             "meta -v #{Bold}[cat/]package#{Bold} : Print metadata for the given package and the members of the package herds.", 
@@ -343,6 +347,7 @@ class GentooPlugin < Plugin
     "earch" => "earch #{Bold}[cat/]package#{Bold} : Prints the versions and effective keywords for a given package.",
     "rdep" => "rdep #{Bold}[cat/]package#{Bold} : Prints the reverse RDEPENDs for a given package.",
     "ddep" => "ddep #{Bold}[cat/]package#{Bold} : Prints the reverse DEPENDS for a given package.",
+    "pdep" => "pdep #{Bold}[cat/]package#{Bold} : Prints the reverse PDEPENDs for a given package.",
   }
 
 
@@ -454,6 +459,14 @@ plugin.map 'ddep :pkg',
   :thread => 'yes',
   :auth_path => 'view'
 
+plugin.map 'pdep :pkg',
+  :requirements => {
+    :pkg => REGEX_CP,
+  },
+  :action => 'pdep',
+  :thread => 'yes',
+  :auth_path => 'view'
+
 plugin.map 'rdep :pkg',
   :requirements => {
     :pkg => REGEX_CP,



             reply	other threads:[~2012-04-01 16:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 15:59 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-22  4:25 [gentoo-commits] proj/rbot-gentoo:master commit in: / Robin H. Johnson
2016-11-22  4:25 Robin H. Johnson
2016-11-22  4:17 Robin H. Johnson
2016-11-22  4:11 Robin H. Johnson
2016-08-13 18:24 Michał Górny
2016-06-15  3:13 Robin H. Johnson
2016-05-31 15:01 Robin H. Johnson
2016-01-27 18:21 Michał Górny
2016-01-27 18:21 Michał Górny
2016-01-27 18:21 Michał Górny
2016-01-27 18:21 Michał Górny
2016-01-27 18:21 Michał Górny
2016-01-27 18:21 Michał Górny
2016-01-12 19:09 Michał Górny
2016-01-12 19:09 Michał Górny
2016-01-12 19:09 Michał Górny
2016-01-11 16:25 Robin H. Johnson
2012-02-20  1:40 Robin H. Johnson
2011-11-17 19:55 Robin H. Johnson

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=1333295986.0b4dcf5e70f19b3b4713d6f14a35328fa1aebd31.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --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