catalyst-auto: move default email settings to main script
This commit is contained in:
parent
bc16472a15
commit
08a69c4392
|
@ -155,6 +155,12 @@ fi
|
||||||
# Probe the default gitdir from this script name.
|
# Probe the default gitdir from this script name.
|
||||||
GITDIR=$(dirname "$(dirname "$(realpath "$0")")")
|
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
|
doneconfig=0
|
||||||
for config_file in ${config_files[@]}; do
|
for config_file in ${config_files[@]}; do
|
||||||
# Make sure all required values were specified
|
# Make sure all required values were specified
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
# This is the config file for the catalyst-auto script. It should be pretty
|
# This is the config file for the catalyst-auto script. It should be pretty
|
||||||
# self-explanatory.
|
# self-explanatory.
|
||||||
|
|
||||||
GITDIR=/space/armin76/releng
|
|
||||||
|
|
||||||
SPECS_DIR=${GITDIR}/releases/weekly/specs/alpha
|
SPECS_DIR=${GITDIR}/releases/weekly/specs/alpha
|
||||||
|
|
||||||
SPECS="stage1.spec stage2.spec stage3.spec"
|
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
|
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() {
|
give_latest_from_dates() {
|
||||||
sed 's,-20,~20,g' | \
|
sed 's,-20,~20,g' | \
|
||||||
sort -k +1 -n -t '~' |\
|
sort -k +1 -n -t '~' |\
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
#KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
#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]"
|
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,6 @@ SET_hppa_netboot_SPECS="netboot2-hppa32.spec netboot2-hppa64.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/hppa
|
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]"
|
EMAIL_SUBJECT_PREPEND="[hppa-auto]"
|
||||||
|
|
||||||
give_latest_from_dates() {
|
give_latest_from_dates() {
|
||||||
|
|
|
@ -12,9 +12,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/ia64
|
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() {
|
give_latest_from_dates() {
|
||||||
sed 's,-20,~20,g' | \
|
sed 's,-20,~20,g' | \
|
||||||
|
|
|
@ -12,8 +12,6 @@ SPECS="stage1.spec stage2.spec stage3.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/powerpc
|
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]"
|
EMAIL_SUBJECT_PREPEND="[ppc-auto]"
|
||||||
|
|
||||||
give_latest_from_dates() {
|
give_latest_from_dates() {
|
||||||
|
|
|
@ -13,8 +13,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/powerpc
|
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]"
|
EMAIL_SUBJECT_PREPEND="[ppc64-auto]"
|
||||||
|
|
||||||
give_latest_from_dates() {
|
give_latest_from_dates() {
|
||||||
|
|
|
@ -12,10 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/s390
|
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() {
|
give_latest_from_dates() {
|
||||||
sed 's,-20,~20,g' | \
|
sed 's,-20,~20,g' | \
|
||||||
|
|
|
@ -12,10 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec"
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/s390
|
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() {
|
give_latest_from_dates() {
|
||||||
sed 's,-20,~20,g' | \
|
sed 's,-20,~20,g' | \
|
||||||
|
|
|
@ -12,8 +12,6 @@ SET_multilib_SPECS="multilib/stage1.spec multilib/stage2.spec multilib/stage3.sp
|
||||||
|
|
||||||
KCONFIG_DIR=${GITDIR}/releases/weekly/kconfig/sparc
|
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]"
|
EMAIL_SUBJECT_PREPEND="[sparc64-auto]"
|
||||||
|
|
||||||
give_latest_from_dates() {
|
give_latest_from_dates() {
|
||||||
|
|
Loading…
Reference in a new issue