[Piuparts-commits] [piuparts] 01/01: master-bin/report_untestable_packages.in: only act on sections with precedence < 100.
Holger Levsen
holger at layer-acht.org
Thu Apr 13 16:58:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 68e5b6dbc6c21e3ab0ca541b6fca49521911e437
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Apr 13 18:57:41 2017 +0200
master-bin/report_untestable_packages.in: only act on sections with precedence < 100.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
debian/changelog | 4 +++-
master-bin/report_untestable_packages.in | 4 ++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f1b2ba6..8d47383 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,7 +61,9 @@ piuparts (0.77) UNRELEASED; urgency=medium
- update navigation to point to piuparts.conf-template.pejacevic.
* generate_daily_report.in: only add runtime to external script output if
not already included.
- * master-bin/report_untestable_packages.in: also report runtime.
+ * master-bin/report_untestable_packages.in:
+ - also report runtime.
+ - only act on sections with precedence < 100.
* instances/piuparts.conf-template.pejacevic:
- Add new suite to be tested:
- stable222sid, upgrading jessie -> stretch -> sid
diff --git a/master-bin/report_untestable_packages.in b/master-bin/report_untestable_packages.in
index 037dc63..e115829 100755
--- a/master-bin/report_untestable_packages.in
+++ b/master-bin/report_untestable_packages.in
@@ -32,6 +32,10 @@ STARTDATE=$(date -u +%s)
LOGS=`mktemp`
for SECTION in $SECTIONS ; do
+ # only act on sections with precedence < 100
+ get_config_value PRECEDENCE $SECTION precedence 1
+ if [ $PRECEDENCE gt 99 ] ; then continue ; fi
+ # only act on sections with untestable packages
test -d $MASTER/$SECTION/untestable || continue
find $MASTER/$SECTION/untestable/ -mtime +$DAYS -name "*.log" 2>/dev/null >> $LOGS
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list