[Qa-jenkins-scm] [jenkins.debian.net] 04/05: reproducible: maintenance: drop code relative to /var/cache/pbuilder/results: we don't use it anymore

Holger Levsen holger at moszumanska.debian.org
Thu Apr 30 20:02:08 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 002c7868cd7d2f5b3cb71014c03e458becda4a12
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Apr 30 19:44:09 2015 +0200

    reproducible: maintenance: drop code relative to /var/cache/pbuilder/results: we don't use it anymore
---
 bin/reproducible_maintenance.sh | 35 -----------------------------------
 1 file changed, 35 deletions(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 2f7fed8..893008c 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -58,41 +58,6 @@ if [ ! -z "$OLDSTUFF" ] ; then
 	DIRTY=true
 fi
 
-# find and warn about pbuild leftovers
-OLDSTUFF=$(find /var/cache/pbuilder/result/ -mtime +1 -exec ls -lad {} \;)
-if [ ! -z "$OLDSTUFF" ] ; then
-	# delete known files, see #777537
-	cd /var/cache/pbuilder/result/
-	echo "Attempting file detection..."
-	for i in $(find . -maxdepth 1 -mtime +1 -type f -exec basename {} \;) ; do
-		case $i in
-			stderr|stdout)	rm -v $i
-					;;
-			seqan-*.bed)	rm -v $i	# leftovers reported in #766741
-					;;
-			bootlogo)	rm -v $i
-					;;
-			org.daisy.paper.CustomPaperCollection.obj)		rm -v $i
-					;;
-			debian-faq.pdf.gz|debian-faq.ps.gz|debian-faq.txt.gz)	rm -v $i
-					;;
-			sumo_doxygen_lastrun.log)				rm -v $i
-					;;
-			*)		;;
-		esac
-	done
-	cd - > /dev/null
-	# report the rest
-	OLDSTUFF=$(find /var/cache/pbuilder/result/ -mtime +1 -exec ls -lad {} \;)
-	if [ ! -z "$OLDSTUFF" ] ; then
-		echo "Warning: old files or directories found in /var/cache/pbuilder/result/"
-		echo "$OLDSTUFF"
-		echo "Please cleanup manually."
-	fi
-	echo
-	DIRTY=true
-fi
-
 # find failed builds due to network problems and reschedule them
 # only grep through the last 5h (300 minutes) of builds...
 # (ignore "*None.rbuild.log" because these are build which were just started)

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