public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Markus Meier" <maekke@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/maekke:master commit in: scripts/
Date: Thu,  9 May 2013 13:29:52 +0000 (UTC)	[thread overview]
Message-ID: <1368106511.f37c87f9ef1422383773ea540cfa2cc834188881.maekke@gentoo> (raw)

commit:     f37c87f9ef1422383773ea540cfa2cc834188881
Author:     Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 13:35:11 2013 +0000
Commit:     Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Thu May  9 13:35:11 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=f37c87f9

pass the --include-arches parameter to repoman to speed up the script

---
 scripts/keyword.sh |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/keyword.sh b/scripts/keyword.sh
index 1ed5036..9e556ae 100755
--- a/scripts/keyword.sh
+++ b/scripts/keyword.sh
@@ -46,6 +46,8 @@ arches="${2}"
 shift 2
 pkgs="$@"
 
+REPOMAN_OPTS="--include-arches "${arches//\~/}""
+
 # check if arches are sane
 for arch in ${arches} ; do
 	[[ $(egrep "\<${arch/\~/}\>" ${REPODIR}/profiles/arch.list | wc -l) == 0 ]] && die "invalid arch (${arch})"
@@ -68,7 +70,7 @@ for pkg in ${pkgs} ; do
 	cvs up -C || die "cvs up failed"
 	find . -name '.#*' -delete || die "removing .#* failed"
 	[[ -e ${pn}-${version}.ebuild ]] || die "ebuild (${pn}-${version}) not found"
-	repoman full || die "repoman full failed on non-modified tree"
+	repoman full \${REPOMAN_OPTS} || die "repoman full failed on non-modified tree"
 
 	# detect which arches to commit (the ones w/o stable)
 	tmparches=""
@@ -89,10 +91,10 @@ for pkg in ${pkgs} ; do
 	if [[ -n ${tmparches} ]] ; then
 		ekeyword ${tmparches} ${pn}-${version}.ebuild || die "ebuild not found"
 		repoman manifest || die "repoman manifest failed"
-		repoman full || die "repoman full failed on modified tree"
+		repoman full \${REPOMAN_OPTS} || die "repoman full failed on modified tree"
 		echangelog "${msg}" || die "echangelog failed"
 		repoman manifest || die "repoman manifest failed"
-		repoman commit -m "${msg}" || die "repoman commit failed"
+		repoman commit \${REPOMAN_OPTS} -m "${msg}" || die "repoman commit failed"
 	else
 		echo "nothing to do here"
 	fi


             reply	other threads:[~2013-05-09 13:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-09 13:29 Markus Meier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-03  8:59 [gentoo-commits] dev/maekke:master commit in: scripts/ Markus Meier
2015-08-21 16:44 Markus Meier
2015-08-19 17:09 Markus Meier
2015-08-18 20:20 Markus Meier
2015-08-18 20:20 Markus Meier
2015-01-21 16:34 Markus Meier
2014-10-04 10:37 Markus Meier
2014-07-17 18:06 Markus Meier
2014-06-19 18:46 Markus Meier
2014-06-01 16:13 Markus Meier
2014-06-01 16:13 Markus Meier
2014-06-01 16:13 Markus Meier
2013-10-05 19:30 Markus Meier
2013-10-01 19:03 Markus Meier
2013-07-29 22:11 Markus Meier
2013-05-14 18:22 Markus Meier
2012-05-26 10:05 Markus Meier
2011-10-15 12:38 Markus Meier
2011-10-08 23:57 Markus Meier
2011-10-08 23:31 Markus Meier
2011-10-08 23:24 Markus Meier
2011-10-08 23:06 Markus Meier
2011-10-08 12:10 Markus Meier
2011-04-10 21:12 Markus Meier
2011-04-10 20:45 Markus Meier
2011-04-09 12:38 Markus Meier

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=1368106511.f37c87f9ef1422383773ea540cfa2cc834188881.maekke@gentoo \
    --to=maekke@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