Hi,

Attached is the following:

  commit 0962b342725491624531390efd7e8e39f937be28
  Author: Chris Lamb <la...@debian.org>
  Date:   Mon Aug 1 10:58:59 2016 -0400
  
      reproducible: prefer interpolation over concatentation
  
   bin/reproducible_notes.py | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
  
  commit ad63c563089a27825af0d4e61e5f5d3762c0c3d8
  Author: Chris Lamb <la...@debian.org>
  Date:   Mon Aug 1 11:00:50 2016 -0400
  
      reproducible: Suggest that "problem with note" is about an RM'd package
  
   bin/reproducible_notes.py | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)


You can also merge from the "improve-log-note-error-message" branch of
https://github.com/lamby/jenkins.debian.net if that is more convenient.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
From 0962b342725491624531390efd7e8e39f937be28 Mon Sep 17 00:00:00 2001
From: Chris Lamb <la...@debian.org>
Date: Mon, 1 Aug 2016 10:58:59 -0400
Subject: [PATCH 1/2] reproducible: prefer interpolation over concatentation

---
 bin/reproducible_notes.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index adb43a0..81860fe 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -52,8 +52,8 @@ def load_notes():
                                    + '\nThis means there is no tested ' +
                                    'package with the name ' + pkg)
             try:
-                irc_msg('There is problem with the note for ' + pkg +
-                        ' - please check ' + os.environ['BUILD_URL'])
+                irc_msg("There is problem with the note for {} - "
+                    "please check {}".format(pkg, os.environ['BUILD_URL']))
             except KeyError:
                 log.error('There is a problem with the note for %s - please '
                           'check.', pkg)
-- 
2.8.1

From ad63c563089a27825af0d4e61e5f5d3762c0c3d8 Mon Sep 17 00:00:00 2001
From: Chris Lamb <la...@debian.org>
Date: Mon, 1 Aug 2016 11:00:50 -0400
Subject: [PATCH 2/2] reproducible: Suggest that "problem with note" is about
 an RM'd package

---
 bin/reproducible_notes.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 81860fe..a6ca45a 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -52,8 +52,9 @@ def load_notes():
                                    + '\nThis means there is no tested ' +
                                    'package with the name ' + pkg)
             try:
-                irc_msg("There is problem with the note for {} - "
-                    "please check {}".format(pkg, os.environ['BUILD_URL']))
+                irc_msg("There is problem with the note for {} (it may "
+                    "been removed from the archive). Please check {}".
+                    format(pkg, os.environ['BUILD_URL']))
             except KeyError:
                 log.error('There is a problem with the note for %s - please '
                           'check.', pkg)
-- 
2.8.1

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to