Update ChangeLog and release.sh
authoragriffis <agriffis@gentoo.org>
Sat, 25 Mar 2006 05:39:22 +0000 (05:39 -0000)
committeragriffis <agriffis@gentoo.org>
Sat, 25 Mar 2006 05:39:22 +0000 (05:39 -0000)
svn path=/; revision=290

trunk/ChangeLog
trunk/release.sh

index 6dc604411aa818cf32a92a2c862f6b3f6ff69430..34329faca53e98f833dab2c5fa779ca8611e775c 100644 (file)
@@ -1,3 +1,6 @@
+2006-05-25 Aron Griffis <agriffis@gentoo.org>
+       * eviewcvs: Update for sources.gentoo.org, add subversion support
+
 2006-03-08 Paul Varner <fuzzyray@gentoo.org>
        * genpkgindex: Add binary package indexing utility. (Bug 82132)
 
index cee80c1dc68a677401fc1494edf04747eedd24db..22313b41386f4ad925c339a86ea12ba8e711116c 100755 (executable)
@@ -1,25 +1,38 @@
 #! /bin/bash
 
-if [ "$(whoami)" == "karltk" ] ; then
+case $(whoami) in
+    karltk)
        publish_path=dev.gentoo.org:public_html/projects/gentoolkit/releases
        publish_public_path="http://dev.gentoo.org/~karltk/projects/gentoolkit/releases"
        portdir=/home/karltk/source/oss/gentoo/gentoo-x86/
        export ECHANGELOG_USER="Karl Trygve Kalleberg <karltk@gentoo.org>"
-elif [ "$(whoami)" == "port001" ] ; then
+       ;;
+
+    port001)
        publish_path=dev.gentoo.org:public_html/distfiles/gentoolkit/releases
        publish_public_path="http://dev.gentoo.org/~port001/distfiles/gentoolkit/releases"
        portdir=/home/port001/Gentoo/gentoo-x86/
        export ECHANGELOG_USER="Ian Leitch <port001@gentoo.org>"
-elif [ "$(whoami)" == "genone" ]; then
+       ;;
+
+    genone)
        publish_path=dev:public_html/distfiles/
        publish_public_path="http://dev.gentoo.org/~genone/distfiles/"
        portdir=/home/gentoo/cvs/gentoo-x86/
        export ECHANGELOG_USER="Marius Mauch <genone@gentoo.org>"
-else
+       ;;
+
+    agriffis)
+       publish_path=gentoo:public_html/dist/
+       publish_public_path="http://dev.gentoo.org/~agriffis/dist/"
+       portdir=/home/agriffis/portage/
+       ;;
+
+    *)
        echo "!!! Don't know who $(whoami) is, can't release"
        exit 1
-fi
-
+       ;;
+esac
 
 function most-recent-ebuild() {
        # FIXME: actually pick the most recent one
@@ -37,22 +50,20 @@ function release-dev() {
        
        echo "* Generating new ebuild"
 
-       local finalebuild="gentoolkit-dev-${VERSION}${RELEASE_TAG}.ebuild"
+       local ebuild="gentoolkit-dev-${VERSION}${RELEASE_TAG}.ebuild"
 
        cd ${portdir}/app-portage/gentoolkit-dev || exit
-       ebuild=$(most-recent-ebuild)
-       cat ${ebuild} | sed \
-               -e 's/KEYWORDS=.*/KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~ppc-macos"/' \
-               -e "s|SRC_URI=.*|SRC_URI=\"${publish_public_path}/\$\{\P\}.tar.gz\"|" \
-               > ${finalebuild} || exit
+       cp $(most-recent-ebuild) ${ebuild}
+       ekeyword ~all ${ebuild}
+       sed -i -e "s|SRC_URI=.*|SRC_URI=\"${publish_public_path}/\$\{\P\}.tar.gz\"|" ${ebuild}
 
        echo "* Generating digest"
-       ebuild ${finalebuild} digest || exit
-       cvs add ${finalebuild} || exit
-       echangelog "New upstream release."
+       ebuild ${ebuild} digest || exit
+       cvs add ${ebuild} || exit
+       echangelog "New upstream release"
        echo '* Everything ready. You should:'
        echo '  1) ACCEPT_KEYWORDS="~x86" sudo emerge =gentoolkit-dev-${VERSION}${RELEASE_TAG}'
-       echo '  2) repoman ci -m "New upstraem release." from `pwd`'
+       echo '  2) repoman ci -m "New upstream release" from `pwd`'
 }