catalyst-auto: move default email settings to main script

This commit is contained in:
Mike Frysinger 2016-03-27 01:31:30 -04:00
parent bc16472a15
commit 08a69c4392
15 changed files with 6 additions and 38 deletions

View file

@ -155,6 +155,12 @@ fi
# Probe the default gitdir from this script name.
GITDIR=$(dirname "$(dirname "$(realpath "$0")")")
# Set up defaults that config files can override if they want.
SUBARCH=$(uname -m)
EMAIL_TO="releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org"
EMAIL_FROM="catalyst@${HOSTNAME:-$(hostname)}"
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
doneconfig=0
for config_file in ${config_files[@]}; do
# Make sure all required values were specified

View file

@ -1,8 +1,6 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
GITDIR=/space/armin76/releng
SPECS_DIR=${GITDIR}/releases/weekly/specs/alpha
SPECS="stage1.spec stage2.spec stage3.spec"
@ -14,11 +12,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/alpha
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
#EMAIL_FROM=catalyst@monolith.alpha.dev.gentoo.org
EMAIL_FROM=armin76@gentoo.org
EMAIL_SUBJECT_PREPEND="[alpha-auto]"
give_latest_from_dates() {
sed 's,-20,~20,g' | \
sort -k +1 -n -t '~' |\

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@replaceme.local
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"

View file

@ -15,8 +15,6 @@ SET_hppa_netboot_SPECS="netboot2-hppa32.spec netboot2-hppa64.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/hppa
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@hake.hppa.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[hppa-auto]"
give_latest_from_dates() {

View file

@ -12,9 +12,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/ia64
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@guppy.ia64.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[ia64-auto]"
give_latest_from_dates() {
sed 's,-20,~20,g' | \

View file

@ -12,8 +12,6 @@ SPECS="stage1.spec stage2.spec stage3.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/powerpc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@timberdoodle.ppc64.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[ppc-auto]"
give_latest_from_dates() {

View file

@ -13,8 +13,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/powerpc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@timberdoodle.ppc64.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[ppc64-auto]"
give_latest_from_dates() {

View file

@ -12,10 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/s390
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@$(hostname)
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
give_latest_from_dates() {
sed 's,-20,~20,g' | \

View file

@ -12,10 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec"
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/s390
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@$(hostname)
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
give_latest_from_dates() {
sed 's,-20,~20,g' | \

View file

@ -12,8 +12,6 @@ SET_multilib_SPECS="multilib/stage1.spec multilib/stage2.spec multilib/stage3.sp
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
EMAIL_TO=releng@gentoo.org,gentoo-releng-autobuilds@lists.gentoo.org
EMAIL_FROM=catalyst@bender.sparc.dev.gentoo.org
EMAIL_SUBJECT_PREPEND="[sparc64-auto]"
give_latest_from_dates() {