git log -n3 ${1:-HEAD} | \
sed "s,^commit ,http://git.overlays.gentoo.org/gitweb/?p=${repo};a=commitdiff;h=,"
}
+svn_gentoo_url() {
+ local f
+ for f in "$@" ; do
+ svn info "${f}" | \
+ awk '{
+ if ($1 == "URL:") {
+ sub(/.*svnroot/,"")
+ URL = "http://sources.gentoo.org" $1 "?"
+ } else if ($1 == "Revision:") {
+ rev = $2
+ URL = URL "r1=" rev "&r2=" (rev + 1)
+ }
+ }
+ END { print URL }'
+ done
+}
er() {
[[ ! -e ChangeLog ]] \
if [[ $@ == *.ebuild* ]] ; then
local e keys
for e in "$@" ; do
- keys=$(sed -n '/^KEYWORD/{s:.*=::;s:"::g;p}' ${e})
+ keys=$(sed -n '/^[[:space:]]*KEYWORD/{s:.*=::;s:"::g;p}' ${e})
for a in ${keys} ; do
[[ ${a} != ~* ]] && continue
ret="${ret} ${a/\~}@gentoo.org"
-a "${maintainer}" \
--cc="${cc}" \
-U "" \
- -k STABLEREQ
+ -k STABLEREQ \
+ --product='Gentoo Linux' \
+ --component=Ebuilds \
+ --version= \
+ --no-append-command \
+ --depends-on= \
+ --blocked= \
+ --priority=P2 \
+ --severity=enhancement
}
eskeys() {