[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: keep pkg-set if the diff is too big (for further investigation)

Holger Levsen holger at moszumanska.debian.org
Tue May 12 16:17:24 UTC 2015


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 7c18e21d2241b8f3a12cad858405ce533f5f200d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 12 18:17:09 2015 +0200

    reproducible: keep pkg-set if the diff is too big (for further investigation)
---
 bin/reproducible_create_meta_pkg_sets.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 0f5c647..f9ed0c9 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -63,7 +63,9 @@ update_if_similar() {
 				diff $TARGET $TARGET.new || true
 				echo
 				echo "Warning: too much difference for $TARGET, aborting. Please investigate and update manually."
-				rm $TARGET.new
+				KEEP=$(mktemp)
+				mv $TARGET.new $KEEP
+				echo "The new pkg-set has been saved as $KEEP for further investigation."
 			else
 				update_target
 			fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list