public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/
Date: Mon, 27 Jun 2011 09:48:46 +0000 (UTC)	[thread overview]
Message-ID: <6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.fordfrog@gentoo> (raw)

commit:     6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 09:48:27 2011 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 09:48:27 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=6f0ba98c

netbeans: added script for batch update of changelogs

---
 scripts/netbeans/update_changelog.sh |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/scripts/netbeans/update_changelog.sh b/scripts/netbeans/update_changelog.sh
new file mode 100755
index 0000000..f304fa1
--- /dev/null
+++ b/scripts/netbeans/update_changelog.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+DIR=${1}
+MESSAGE=${2}
+
+if [[ -z "${DIR}" ]] || [[ -z "${MESSAGE}" ]] ; then
+	echo "Usage: <repo_root_directory> <message>"
+	exit 1
+fi
+
+pushd "${1}" >/dev/null || exit 1
+for dir in dev-*/netbeans*; do
+	pushd "${dir}"
+	echangelog "${MESSAGE}"
+	ebuild `ls *.ebuild | tail -n1` digest
+	popd
+done
+popd >/dev/null || exit 1
+
+echo "DONE!"



             reply	other threads:[~2011-06-27  9:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  9:48 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-26 21:44 [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/ Miroslav Šulc
2011-05-20 10:09 Miroslav Šulc
2011-03-18 13:26 Miroslav Šulc
2011-03-11 23:16 Miroslav Šulc

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=6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.fordfrog@gentoo \
    --to=fordfrog@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