public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maxim Koltsov" <maksbotan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/
Date: Tue, 24 Jan 2012 17:28:10 +0000 (UTC)	[thread overview]
Message-ID: <8abf8c336b000422498a5d1d59ede6bf7a455396.maksbotan@gentoo> (raw)

commit:     8abf8c336b000422498a5d1d59ede6bf7a455396
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 17:29:21 2012 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 17:29:21 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/maksbotan.git;a=commit;h=8abf8c33

Update lc bump script

---
 Documentation/leech_bump.sh |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/Documentation/leech_bump.sh b/Documentation/leech_bump.sh
index abc6fd8..876cf8c 100755
--- a/Documentation/leech_bump.sh
+++ b/Documentation/leech_bump.sh
@@ -25,17 +25,19 @@ if [[ ${#} -lt 2 && ${1} != "repoman" ]]; then
     einfo " - repoman"
     einfo " - delete"
     einfo " - changelog"
+    einfo " - keyword"
     einfo "Supported arguments are:"
     einfo " -m --message        Commit message"
     einfo " -c --changelog      Update ChangeLog"
     einfo " -N --no-changelog   Do not update ChangeLog"
     einfo " -v --version        Target version for bump"
     einfo " -f --bump-from      Source version for bump"
+    einfo " -k --keyword        Keywords to set"
     exit 1
 fi
 
 case "${1}" in
-    bump|commit|repoman|delete|changelog) ;;
+    bump|commit|repoman|delete|changelog|keyword) ;;
     *)
         eerror "Unknown mode ${1}"
         exit 1
@@ -67,6 +69,10 @@ while (($#)); do
             bump_from="${2}"
             shift
             ;;
+        -k|--keyword)
+            keyword="${2}"
+            shift
+            ;;
         -*)
             eerror "Unknown option $1"
             ;;
@@ -112,6 +118,12 @@ case $mode in
             exit
         fi
         ;;
+    keyword)
+        if [[ -z ${keyword} || -z ${version} ]]; then
+            eerror "You must specify --keyword and --version arguments"
+            exit
+        fi
+        ;;
 esac
 
 #checking whether we are in portage tree or overlay
@@ -214,11 +226,38 @@ for atom in */*; do
             eend $?
         fi
 
+        ebegin "Running repoman manifest on ${atom}"
+        repoman manifest > /dev/null
+        eend $?
+
         ;;
     changelog)
         ebegin "Running echangelog in ${atom}"
         echangelog ${message} > /dev/null
         eend $?
+
+        ebegin "Running repoman manifest on ${atom}"
+        repoman manifest > /dev/null
+        eend $?
+
+        ;;
+    keyword)
+        if [[ ! -e ${PN}-${version}.ebuild ]]; then
+            ewarn "${PN} doesn't have ${version} version, skipping"
+            eoutdent
+            cd - > /dev/null
+            continue
+        fi
+
+        ebegin "Running ekeyword in ${atom}"
+        ekeyword ${keyword} ${PN}-${version}.ebuild > /dev/null
+        eend $?
+
+        ebegin "Running repoman manifest on ${atom}"
+        repoman manifest > /dev/null
+        eend $?
+
+        ;;
     esac
 
 



             reply	other threads:[~2012-01-24 17:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 17:28 Maxim Koltsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-26 19:58 [gentoo-commits] dev/maksbotan:master commit in: Documentation/ Maxim Koltsov
2012-08-14 20:26 Maxim Koltsov
2012-07-19 19:17 Maxim Koltsov
2012-03-28 13:15 Maxim Koltsov
2012-02-20 19:18 Maxim Koltsov
2012-02-02 17:57 Maxim Koltsov
2011-12-31 12:34 Maxim Koltsov
2011-12-31 12:34 Maxim Koltsov
2011-09-14 18:16 Maxim Koltsov
2011-09-14 17:01 Maxim Koltsov

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=8abf8c336b000422498a5d1d59ede6bf7a455396.maksbotan@gentoo \
    --to=maksbotan@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