From c073afafa7a6b21834a0acee195fd517a0b5ae97 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 3 Sep 2010 21:38:06 +0200 Subject: [PATCH] changelog testing we rotate a date based set of changelogs now. Signed-off-by: Joerg Jaspert --- scripts/debian/import_testing.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/debian/import_testing.sh b/scripts/debian/import_testing.sh index 566d6356..e699a679 100755 --- a/scripts/debian/import_testing.sh +++ b/scripts/debian/import_testing.sh @@ -37,8 +37,13 @@ cd $masterdir echo "Importing new data for testing into projectb" # Now load the data -savelog -l -c 4 ${ftpdir}/dists/testing/ChangeLog -cat $TESTINGINPUT | dak control-suite --set testing --britney +rm ${ftpdir}/dists/testing/ChangeLog +cat ${TESTINGINPUT} | dak control-suite --set testing --britney +NOW=$(date "+%Y%m%d%H%M") +cd ${ftpdir}/dists/testing/ +mv ChangeLog ChangeLog.${NOW} +ln -s ChangeLog.${NOW} ChangeLog +find . -maxdepth 1 -mindepth 1 -type f -print0 -mmin +1800 -name 'ChangeLog.*' | xargs --no-run-if-empty -0 rm echo "Done" -- 2.39.2