From 5fcc6af4ddd0d6f9fbe491a1fd5a9a0edc5b52a5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 22 Feb 2014 08:42:07 -0600 Subject: Change long out-of-date report to 30 days At the request of barthalion. This bumps the report from currently showing 36 packages to 109 packages. Signed-off-by: Dan McGee --- devel/views.py | 4 ++-- templates/devel/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devel/views.py b/devel/views.py index 46feece..1e20a43 100644 --- a/devel/views.py +++ b/devel/views.py @@ -199,8 +199,8 @@ def report(request, report_name, username=None): packages = packages.filter( build_date__lt=cutoff).order_by('build_date') elif report_name == 'long-out-of-date': - title = 'Packages marked out-of-date more than 90 days ago' - cutoff = now() - timedelta(days=90) + title = 'Packages marked out-of-date more than 30 days ago' + cutoff = now() - timedelta(days=30) packages = packages.filter( flag_date__lt=cutoff).order_by('flag_date') elif report_name == 'big': diff --git a/templates/devel/index.html b/templates/devel/index.html index a450310..f432e6b 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -153,7 +153,7 @@ Packages last built more than two years ago (yours only)
  • Long Out-of-date: - Packages marked out-of-date more than 90 days ago + Packages marked out-of-date more than 30 days ago (yours only)
  • Uncompressed Manpages: Self-explanatory -- cgit v1.2.3-24-g4f1b