summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-30 19:44:09 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-04-30 21:53:59 +0200
commit002c7868cd7d2f5b3cb71014c03e458becda4a12 (patch)
tree92af1f385255906867adc863b1ad7614ad67225b
parent374bce8b07b84baf858463ee21e1569dde15734b (diff)
downloadjenkins.debian.net-002c7868cd7d2f5b3cb71014c03e458becda4a12.tar.xz
reproducible: maintenance: drop code relative to /var/cache/pbuilder/results: we don't use it anymore
-rwxr-xr-xbin/reproducible_maintenance.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 2f7fed83..893008c1 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)