Make squeeze oldstable, wheezy stable and add jessie as the new testing.
trap 'kill -TERM $SSH_PID' 0
for d in ${dists}; do
case ${d} in
- stable)
+ oldstable)
send=squeeze
;;
- testing)
+ stable)
send=wheezy
;;
+ testing)
+ send=jessie
+ ;;
*)
send=unknown
;;
for suite in stable testing; do
case $suite in
- stable) override_suite=squeeze;;
- testing) override_suite=wheezy;;
+ oldstable) override_suite=squeeze;;
+ stable) override_suite=wheezy;;
+ testing) override_suite=jessie;;
*) echo "Unknown suite type ($suite)"; exit 1;;
esac
for component in $components; do
done
# Generate .all3 overides for the buildd support
-for dist in squeeze wheezy; do
+for dist in squeeze wheezy jessie; do
rm -f override.$dist.all3
components="main contrib non-free";
if [ -f override.$dist.main.debian-installer.gz ]; then
"silent-map oldstable-security oldstable";
"silent-map etch-secure oldstable";
"silent-map testing-security testing";
- "silent-map squeeze-security stable";
- "silent-map wheezy-security testing";
+ "silent-map squeeze-security oldstable";
+ "silent-map wheezy-security stable";
+ "silent-map jessie-security testing";
};
Dir
SuiteMappings
{
- "silent-map squeeze-security stable-security";
- "silent-map wheezy-security testing-security";
+ "silent-map squeeze-security oldstable-security";
+ "silent-map wheezy-security stable-security";
+ "silent-map jessie-security testing-security";
"propup-version stable-security testing testing-proposed-updates unstable";
"propup-version testing-security unstable";
- "map squeeze stable";
- "map squeeze-proposed-updates proposed-updates";
- "map squeeze-updates proposed-updates";
- "map wheezy testing";
- "map wheezy-proposed-updates testing-proposed-updates";
- "map wheezy-updates testing-proposed-updates";
+ "map squeeze oldstable";
+ "map squeeze-proposed-updates oldstable-proposed-updates";
+ "map squeeze-updates oldstable-proposed-updates";
+ "map wheezy stable";
+ "map wheezy-proposed-updates proposed-updates";
+ "map wheezy-updates proposed-updates";
+ "map jessie testing";
+ "map jessie-proposed-updates testing-proposed-updates";
+ "map jessie-updates testing-proposed-updates";
"map sid unstable";
"map rc-buggy experimental";
"map stable proposed-updates";
function copyoverrides() {
log 'Copying override files into public view ...'
- for ofile in ${overridedir}/override.{squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do
+ for ofile in ${overridedir}/override.{squeeze,wheezy,jessie,sid}.{,extra.}{main,contrib,non-free}*; do
bname=${ofile##*/}
gzip -9cv --rsyncable ${ofile} > ${indices}/${bname}.gz
chmod g+w ${indices}/${bname}.gz
if getattr(suite, dbfield) is not None:
# TEMPORARY HACK HACK HACK until we change the way we store the suite names etc
if key == 'Suite' and getattr(suite, dbfield) == 'squeeze-updates':
- out.write("Suite: stable-updates\n")
+ out.write("Suite: oldstable-updates\n")
elif key == 'Suite' and getattr(suite, dbfield) == 'wheezy-updates':
+ out.write("Suite: stable-updates\n")
+ elif key == 'Suite' and getattr(suite, dbfield) == 'jessie-updates':
out.write("Suite: testing-updates\n")
else:
out.write("%s: %s\n" % (key, getattr(suite, dbfield)))
INPUTFILE="/srv/release.debian.org/sets/squeeze-updates/current"
DO_CHANGELOG="false"
;;
+ wheezy-updates)
+ # What file we look at.
+ INPUTFILE="/srv/release.debian.org/sets/wheezy-updates/current"
+ DO_CHANGELOG="false"
+ ;;
*)
echo "You are so wrong here that I can't even believe it. Sod off."
exit 42