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: Thu, 26 Apr 2012 21:44:07 +0000 (UTC)	[thread overview]
Message-ID: <1335476639.13c3ea5a779c893f1f4de52f7901fbca0c2fc0ad.fordfrog@gentoo> (raw)

commit:     13c3ea5a779c893f1f4de52f7901fbca0c2fc0ad
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 26 21:43:59 2012 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Apr 26 21:43:59 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git;a=commit;h=13c3ea5a

added netbeans helper script for copying of ebuilds to the main tree

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

diff --git a/scripts/netbeans/copy_to_tree.sh b/scripts/netbeans/copy_to_tree.sh
new file mode 100755
index 0000000..26162cc
--- /dev/null
+++ b/scripts/netbeans/copy_to_tree.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+ROOT=$(dirname $(dirname $(dirname $(readlink -f ${0}))))
+TREE=${1}
+VERSION=${2}
+MESSAGE=${3}
+
+if [ -z "${TREE}" -o -z "${VERSION}" -o -z "${MESSAGE}" ]; then
+	echo "Usage: ${0} <tree> <version> <message>"
+	exit 1
+fi
+
+pushd ${ROOT} &> /dev/null
+
+for file in */*/*${VERSION}*.ebuild; do
+	cp ${file} ${TREE}${file}
+	pushd ${TREE}$(dirname ${file}) &> /dev/null
+	cvs add $(basename ${file})
+	echangelog "${MESSAGE}"
+	ebuild $(basename ${file}) manifest
+	popd &> /dev/null
+done
+
+popd &> /dev/null



             reply	other threads:[~2012-04-26 21:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 21:44 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-27  9:48 [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=1335476639.13c3ea5a779c893f1f4de52f7901fbca0c2fc0ad.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