[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 4/4] dinstall, unchecked



add some comments, background some more.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/debian/cron.dinstall  |   16 ++++++++++------
 config/debian/cron.unchecked |    4 ++++
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index 03bb364..99be3a6 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -228,6 +228,8 @@ GO=(
     ARGS=""
     ERR=""
 )
+# disabled until p-u is faster than now. it runs often enough, so wont hurt to save
+# the time here.
 #stage $GO
 
 GO=(
@@ -271,7 +273,7 @@ GO=(
     ARGS=""
     ERR=""
 )
-stage $GO
+stage $GO &
 
 GO=(
     FUNC="mpfm"
@@ -279,7 +281,7 @@ GO=(
     ARGS=""
     ERR="false"
 )
-stage $GO
+stage $GO &
 
 GO=(
     FUNC="packages"
@@ -287,6 +289,8 @@ GO=(
     ARGS=""
     ERR=""
 )
+# Careful: When we ever go and remove this monster-long thing, we have to check the backgrounded
+# functions before it. We no longer have a 1.5hour sync point then.
 stage $GO
 
 GO=(
@@ -443,7 +447,7 @@ GO=(
     ARGS=""
     ERR="false"
 )
-stage $GO
+stage $GO &
 
 GO=(
     FUNC="i18n2"
@@ -451,7 +455,7 @@ GO=(
     ARGS=""
     ERR="false"
 )
-stage $GO
+stage $GO &
 
 GO=(
     FUNC="stats"
@@ -467,9 +471,9 @@ GO=(
     ARGS=""
     ERR="false"
 )
-stage $GO
+stage $GO &
 
-rm -f ${LOCK_BRITNEY}
+rm -f "${LOCK_BRITNEY}"
 
 GO=(
     FUNC="pgdakdev"
diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked
index ee95878..008b824 100755
--- a/config/debian/cron.unchecked
+++ b/config/debian/cron.unchecked
@@ -78,6 +78,10 @@ function do_buildd () {
 # the actual unchecked functions follow                                #
 ########################################################################
 
+# And use one locale, no matter what the caller has set
+export LANG=C
+export LC_ALL=C
+
 #lockfile -r3 "$LOCK_NEW"
 # acceptnew
 #rm -f "$LOCK_NEW"
-- 
1.6.3.3


Reply to: