提交 7a10b5ed 编写于 作者: J Joerg Jaspert

unchecked

additionally run over newstage/
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 e77eba0d
...@@ -64,6 +64,19 @@ function do_unchecked () { ...@@ -64,6 +64,19 @@ function do_unchecked () {
dak process-upload -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report dak process-upload -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report
} }
# Do the newstage processing, in case we have files.
function do_newstage () {
cd $newstage
changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
report=$queuedir/REPORT
timestamp=$(date "+%Y-%m-%d %H:%M")
UNCHECKED_WITHOUT_LOCK=${UNCHECKED_WITHOUT_LOCK:-""}
echo "$timestamp": ${changes:-"Nothing to do in newstage"} >> $report
dak process-upload -a ${UNCHECKED_WITHOUT_LOCK} -d "$newstage" >> $report
}
function sync_debbugs () { function sync_debbugs () {
# sync with debbugs # sync with debbugs
echo "--" >> $report echo "--" >> $report
......
...@@ -90,6 +90,7 @@ export LC_ALL=C ...@@ -90,6 +90,7 @@ export LC_ALL=C
lockfile -r3 $LOCKFILE || exit 0 lockfile -r3 $LOCKFILE || exit 0
trap cleanup 0 trap cleanup 0
do_newstage
do_unchecked do_unchecked
if [ ! -z "$changes" ]; then if [ ! -z "$changes" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册