[Piuparts-commits] [piuparts] 01/01: detect_*_issues: further improve output

Holger Levsen holger at layer-acht.org
Sun Mar 25 11:38:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit d2636e4d48a9c3faaea6335acfb69c9179412047
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Mar 25 11:38:04 2018 +0000

    detect_*_issues: further improve output
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 master-bin/detect_archive_issues.in  | 7 ++-----
 master-bin/detect_network_issues.in  | 5 +----
 master-bin/detect_piuparts_issues.in | 7 +++----
 3 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/master-bin/detect_archive_issues.in b/master-bin/detect_archive_issues.in
index 6f8c6cb..740dd77 100644
--- a/master-bin/detect_archive_issues.in
+++ b/master-bin/detect_archive_issues.in
@@ -61,14 +61,11 @@ if [ -s $URLS ]; then
 	RUNTIME=$(date -u -d "0 $FINALDATE seconds - $STARTDATE seconds" +%T)
 	echo "Runtime: $RUNTIME"
 	echo
-	echo "Broken packages detected!"
-	echo
-	echo 'The following packages have been moved to $section/untestable and will be'
-	echo "tested again in $DAYS days."
+	echo "Broken packages detected! The following packages have been moved to"
+	echo "$section/untestable and will be tested again in $DAYS days."
 	echo
 	echo "Broken packages are usually a temporary problem in the archive and are"
 	echo "caught by other tools like britney or https://qa.debian.org/dose/debcheck.html"
-	echo
 	echo "If it is always the same package failing, it's likely to be an issue in the"
 	echo "package."
 	echo
diff --git a/master-bin/detect_network_issues.in b/master-bin/detect_network_issues.in
index 3bd4a81..fda09a9 100644
--- a/master-bin/detect_network_issues.in
+++ b/master-bin/detect_network_issues.in
@@ -75,10 +75,7 @@ if [ -s $FILE ] ; then
 	RUNTIME=$(date -u -d "0 $FINALDATE seconds - $STARTDATE seconds" +%T)
 	echo "Runtime: $RUNTIME"
 	echo
-	echo "Network problems on detected!"
-	echo
-	echo "The following logfiles have been deleted:"
-	echo
+	echo "Network problems on detected! The following logfiles have been deleted:"
 	echo
 	for log in $(sort -u $FILE)
 	do
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 7de8c24..c7ef9e9 100644
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -97,10 +97,9 @@ if [ -s $FILE ] ; then
 	RUNTIME=$(date -u -d "0 $FINALDATE seconds - $STARTDATE seconds" +%T)
 	echo "Runtime: $RUNTIME"
 	echo
-	echo "piuparts problems detected!"
-	echo
-	echo "Please review the following logfiles/packages. If it is always the same"
-	echo "package failing, it's likely to be an issue in the package."
+	echo "piuparts problems detected! Please review the following logfiles/packages."
+	echo "If it is always the same package failing, it's likely to be an issue in the"
+	echo "package."
 	echo
 	echo "The following logfiles have been deleted:"
 	echo

-- 
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