move the i18n foo up before locks
lock before we do the (o-)p-u-new stuff
do a newstage run, so the running dinstall actually includes the just
accepted (o-)p-u-new files, not leaving them for one later.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
)
stage $GO &
+GO=(
+ FUNC="i18n1"
+ TIME="i18n 1"
+ ARGS=""
+ ERR="false"
+)
+stage $GO &
+
+lockfile "$LOCK_ACCEPTED"
+lockfile "$LOCK_NEW"
+
GO=(
FUNC="punew"
TIME="p-u-new"
stage $GO
GO=(
- FUNC="i18n1"
- TIME="i18n 1"
- ARGS=""
- ERR="false"
-)
-stage $GO &
-
-lockfile "$LOCK_ACCEPTED"
-lockfile "$LOCK_NEW"
-
-GO=(
- FUNC="process_unchecked"
- TIME="unchecked"
+ FUNC="newstage"
+ TIME="newstage"
ARGS=""
ERR=""
)
-# disabled until p-u is faster than now. it runs often enough, so wont hurt to save
-# the time here.
-#stage $GO
+stage $GO
GO=(
FUNC="cruft"
sync_debbugs
}
+# do a run of newstage only before dinstall is on.
+function process_newstage() {
+ log "Processing the newstage queue"
+ UNCHECKED_WITHOUT_LOCK="-p"
+ do_newstage
+}
+
# Function to update a "statefile" telling people what we are doing
# (more or less).
#