X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.unchecked;h=8dc3b1f037a10766ccf2ce97a1d3e059c7a1a1ea;hb=7538a1a1c81d363bc685bea55e220763280c0c16;hp=3a3362df08bcb17341c4e5c65e0be615d9e99fb7;hpb=8d2c584e078a628f7c510b0b375bfb23fc027d5f;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 3a3362df..8dc3b1f0 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -18,6 +18,7 @@ # exit on errors set -e +set -o pipefail # make sure to only use defined variables set -u # ERR traps should be inherited from functions too. (And command @@ -75,9 +76,9 @@ function do_buildd () { } function do_dists () { - cd $configdir - dak generate-filelist -s unstable,experimental -i - dak generate-packages-sources -s unstable experimental >/dev/null + #cd $configdir + #dak generate-filelist -s unstable,experimental -i + dak generate-packages-sources2 -s unstable experimental >/dev/null } ######################################################################## @@ -97,13 +98,21 @@ trap cleanup 0 pg_timestamp preunchecked >/dev/null + +# Process policy queues +punew proposedupdates +opunew oldproposedupdates + +# Now process the NEW staging area do_newstage + +# Finally deal with unchecked do_unchecked if [ ! -z "$changes" ]; then sync_debbugs do_buildd - do_dists + #do_dists fi dak contents -l 10000 scan-binary