diff options
author | Dan McGee <dan@archlinux.org> | 2014-01-26 19:55:33 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-01-26 19:55:33 +0100 |
commit | 4a5714fba769c83724f29578d573f0b4096eb332 (patch) | |
tree | 1ce106c97bfa33c175280052bd4b3460b38fa4ee /devel | |
parent | 3faeab7d548552bfaa6719b75be9b6450b5031bd (diff) | |
download | archweb-4a5714fba769c83724f29578d573f0b4096eb332.tar.gz archweb-4a5714fba769c83724f29578d573f0b4096eb332.tar.xz |
Revert "Change old packages report from two years to one year"
This reverts commit 8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d.
Turns out we aren't updating packages quite as often anymore. There are
currently 1900+ packages in the repos built more than one year ago.
Signed-off-by: Dan McGee <dan@archlinux.org>
Conflicts:
devel/views.py
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py index 29954b5..46feece 100644 --- a/devel/views.py +++ b/devel/views.py @@ -194,8 +194,8 @@ def report(request, report_name, username=None): type=PackageRelation.MAINTAINER).values('user')) if report_name == 'old': - title = 'Packages last built more than one year ago' - cutoff = now() - timedelta(days=365) + title = 'Packages last built more than two years ago' + cutoff = now() - timedelta(days=365 * 2) packages = packages.filter( build_date__lt=cutoff).order_by('build_date') elif report_name == 'long-out-of-date': |