From 2dde908cf614dc2c33b73e991a73194bbe3c6e6a Mon Sep 17 00:00:00 2001 From: agriffis Date: Sat, 25 Mar 2006 05:39:22 +0000 Subject: [PATCH] Update ChangeLog and release.sh svn path=/; revision=290 --- trunk/ChangeLog | 3 +++ trunk/release.sh | 43 +++++++++++++++++++++++++++---------------- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 6dc6044..34329fa 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,6 @@ +2006-05-25 Aron Griffis + * eviewcvs: Update for sources.gentoo.org, add subversion support + 2006-03-08 Paul Varner * genpkgindex: Add binary package indexing utility. (Bug 82132) diff --git a/trunk/release.sh b/trunk/release.sh index cee80c1..22313b4 100755 --- a/trunk/release.sh +++ b/trunk/release.sh @@ -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 " -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 " -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 " -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`' } -- 2.26.2