From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rbot-gentoo:master commit in: /
Date: Thu, 17 Nov 2011 19:55:51 +0000 (UTC) [thread overview]
Message-ID: <f7cf938b74e113e4e30c14aba5c1095bd0a06046.robbat2@gentoo> (raw)
commit: f7cf938b74e113e4e30c14aba5c1095bd0a06046
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 19:55:46 2011 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 19:55:46 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/rbot-gentoo.git;a=commit;h=f7cf938b
This has been running already for bug #381415, but it doesn't quite work.
---
gentoo-data.rb | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gentoo-data.rb b/gentoo-data.rb
index f4e6608..f4e10d1 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -82,8 +82,13 @@ class GentooPlugin < Plugin
output = f.readlines
f.close
m.reply "#{output}"
- params[:herd] = output[0].gsub(/^.* Herd: ([^ ]+) .*$/, '\1').strip
- herd(m, params)
+ herds = output[0].gsub(/^.* Herd: ([^ ]+) .*$/, '\1').strip.split(/[, ]+/).map { |s| s.strip }.flatten
+ herds.each { |h|
+ debug("meta -v calling herd for #{h}")
+ p = params.clone
+ p[:herd] = h
+ herd(m, p)
+ }
end
def changelog(m, params)
next reply other threads:[~2011-11-17 19:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 19:55 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-20 1:40 [gentoo-commits] proj/rbot-gentoo:master commit in: / Robin H. Johnson
2012-04-01 15:59 Robin H. Johnson
2016-01-11 16:25 Robin H. Johnson
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-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-05-31 15:01 Robin H. Johnson
2016-06-15 3:13 Robin H. Johnson
2016-08-13 18:24 Michał Górny
2016-11-22 4:11 Robin H. Johnson
2016-11-22 4:17 Robin H. Johnson
2016-11-22 4:25 Robin H. Johnson
2016-11-22 4:25 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=f7cf938b74e113e4e30c14aba5c1095bd0a06046.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