summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-09 03:51:12 +0200
committerDan McGee <dan@archlinux.org>2012-04-09 03:51:12 +0200
commit8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d (patch)
tree73bfdeddab1e6baa81c3a52c062616648e5ff42a /devel
parent31f9d3fc0fee8afe3da50e52feaac80fc00f4021 (diff)
downloadarchweb-8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d.tar.gz
archweb-8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d.tar.xz
Change old packages report from two years to one year
Now that all packages are getting more attention, we can shorten the time period on the report to a shorter date range. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py
index 3ede54a..88e76be 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -160,8 +160,8 @@ def report(request, report_name, username=None):
type=PackageRelation.MAINTAINER).values('user'))
if report_name == 'old':
- title = 'Packages last built more than two years ago'
- cutoff = utc_now() - timedelta(days=365 * 2)
+ title = 'Packages last built more than one year ago'
+ cutoff = utc_now() - timedelta(days=365)
packages = packages.filter(
build_date__lt=cutoff).order_by('build_date')
elif report_name == 'long-out-of-date':