From 002c7868cd7d2f5b3cb71014c03e458becda4a12 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 30 Apr 2015 19:44:09 +0200 Subject: 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(-) (limited to 'bin/reproducible_maintenance.sh') 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) -- cgit v1.2.3-54-g00ecf