diff options
author | Dan McGee <dan@archlinux.org> | 2014-02-22 08:42:07 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-02-22 08:42:38 -0600 |
commit | 5fcc6af4ddd0d6f9fbe491a1fd5a9a0edc5b52a5 (patch) | |
tree | be8d1365f4fe1e8d3b4ad9c6e444bb6a07566e0c | |
parent | 4d311163ed1b83d719218099425c818485d35181 (diff) |
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 <dan@archlinux.org>
-rw-r--r-- | devel/views.py | 4 | ||||
-rw-r--r-- | templates/devel/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/views.py b/devel/views.py index 46feece2..1e20a437 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 a4503102..f432e6b9 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -153,7 +153,7 @@ Packages last built more than two years ago (<a href="reports/old/{{ user.username }}/">yours only</a>)</li> <li><a href="reports/long-out-of-date/">Long Out-of-date</a>: - Packages marked out-of-date more than 90 days ago + Packages marked out-of-date more than 30 days ago (<a href="reports/long-out-of-date/{{ user.username }}/">yours only</a>)</li> <li><a href="reports/uncompressed-man/">Uncompressed Manpages</a>: Self-explanatory |