+++ /dev/null
-#!/bin/bash
-
-exit 0
-
-d="$1"
-
-[ -d ../abat ] || mkdir ../abat
-
-i=1
-
-cat >"../abat/$d-abat.ozlabs.ibm.com-$i" <<EOF
-option title linux-next $d stable boot test
-class next cpu_type like "POWER6%"
-+\$kernel "origin/stable"
-+\$patch "http://fs.ozlabs.ibm.com/~sfr/ABAT-fix.patch"
-+\$config "http://fs.ozlabs.ibm.com/~sfr/config.next"
-build generic git git://fs.ozlabs.ibm.com/home/kernel/linux-next.git \$kernel -c \$config -p \$patch -m -j\$num_cpus
-boot initcall_debug=y debug
-EOF
-i=$((i + 1))
-
-#for t in 'POWER5%gr%' 'POWER5%gs%' 'POWER6%' 'POWER7%' '%Opteron%' '%PPC970%'; do
-#for t in 'POWER5%gs%' 'POWER6%' 'POWER7%' '%PPC970%'; do
-for t in 'POWER5%gs%' 'POWER6%' 'POWER7%'; do
- cat >"../abat/$d-abat.ozlabs.ibm.com-$i" <<EOF
-option title linux-next $d boot test
-#option timed 2010-07-07 19:30 +1000
-class next cpu_type like "$t"
-+\$kernel "master^"
-+\$patch "http://fs.ozlabs.ibm.com/~sfr/ABAT-fix.patch"
-+\$config "http://fs.ozlabs.ibm.com/~sfr/config.next"
-build generic git git://fs.ozlabs.ibm.com/home/kernel/linux-next.git \$kernel -c \$config -p \$patch -m -j\$num_cpus
-boot initcall_debug=y debug
-EOF
-i=$((i + 1))
-done
-
-exit 0
mkdir Next
-echo 'Trees included into this release:
-
-Name Type URL
----- ---- ---' > Next/Trees
-
(
-IFS=' '
-while read email type name url ref build; do
- [[ "$email" =~ '^#.*$' ]] && continue
- tab="\t"
- [ $(echo "$name" | wc -c) -le 8 ] && tab="\t\t"
- [ "${ref%:*}" = "${ref}" ] || ref=${ref##*:}
- [ "$type" = "git" ] && url="$url#$ref"
- printf "%s$tab%s\t%s\n" $name $type $url >>Next/Trees
-done <$CTRL_FILE
-)
+ cat <<-'EOF'
+ Trees included into this release:
+
+ Name Type URL
+ ---- ---- ---
+ EOF
+
+ IFS=' '
+ grep -v '^#' $CTRL_FILE |
+ while read email type name url ref build; do
+ tab="\t"
+ [ ${#name} -le 8 ] && tab="\t\t"
+ [ "$type" = "git" ] && url="$url#${ref##*:}"
+ printf "%s$tab%s\t%s\n" $name $type $url
+ done
+) >Next/Trees
mv ../SHA1s Next/SHA1s
p="patch-$l-$n"
git diff-tree -p "$l.." >"../$p"
gpg2 -u 41D5C07A -a -b "../$p"
-#echo "$l" > "../LATEST-IS-$n"
-
-"$bin_dir/make_abat_scripts" "$d" "$l"
oldest=$(date --date "3 months ago" '+%Y%m%d')
echo "Removing old releases ... <= next-$oldest"
-old_tags=$(git ls-remote --tags korg next-\* |
+old_tags=$(git ls-remote --tags korg 'next-*[0-9]' |
awk -F - '$2 ~ /^[0-9]*$/ && $2 <= '$oldest' { printf("next-%s\n", $2); }')
[ "$old_tags" ] && git push korg --delete $old_tags