From: Don Armstrong Date: Mon, 9 Jun 2008 18:23:53 +0000 (-0700) Subject: Allow for the archiving of bugs in removed packages (closes: #475622) X-Git-Tag: release/2.6.0~488^2~39 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=46e4b24bff0a8c27b427df084c2f8ebe65da0acd;p=debbugs.git Allow for the archiving of bugs in removed packages (closes: #475622) --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 020e4c18..52e28edf 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -729,7 +729,10 @@ sub bug_archiveable{ last if $buggy eq 'found'; $min_fixed_time = min($time_versions{$version},$min_fixed_time); } - $min_archive_days = max($min_archive_days,ceil($config{remove_age} - (time - $min_fixed_time)/(60*60*24))); + $min_archive_days = max($min_archive_days,ceil($config{remove_age} - (time - $min_fixed_time)/(60*60*24))) + # if there are no versions in the archive at all, then + # we can archive if enough days have passed + if @sourceversions; } # If $param{ignore_time}, then we should ignore time. if ($param{ignore_time}) { diff --git a/debian/changelog b/debian/changelog index 339779a1..ecce0f28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -214,6 +214,7 @@ debbugs (2.4.2) UNRELEASED; urgency=low (closes: #465332,#458822) - Deal properly with \r line endings (closes: #467190) - Distinguish between reports and followups (closes: #459866) + - Allow for the archiving of bugs in removed packages (closes: #475622) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100