sed "s,^commit ,http://git.overlays.gentoo.org/gitweb/?p=${repo};a=commitdiff;h=,"
}
svn_gentoo_url() {
+ if [[ -z $* ]] ; then
+ svn info | \
+ awk '{
+ if ($1 == "URL:") {
+ URL = "http://sources.gentoo.org/" gensub(/.*svnroot\/([^/]*).*/,"\\1","");
+ } else if ($1 == "Revision:") {
+ rev = $2
+ URL = URL "?rev=" (rev + 1) "&view=rev"
+ }
+ }
+ END { print URL }'
+ return 0
+ fi
+
local f
for f in "$@" ; do
svn info "${f}" | \
return 1
fi
bugz post \
+ --batch \
-u vapier@gentoo.org \
-t "Stabilize ${cat}/${pkg}" \
-d "${msg}" \
-a "${maintainer}" \
--cc="${cc}" \
- -U "" \
-k STABLEREQ \
--product='Gentoo Linux' \
--component=Ebuilds \
- --version= \
- --no-append-command \
- --depends-on= \
- --blocked= \
--priority=P2 \
--severity=enhancement
}