summaryrefslogtreecommitdiffstats
path: root/packages/views
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-24 17:10:22 -0500
committerDan McGee <dan@archlinux.org>2012-03-24 17:10:22 -0500
commit48aec1534324ef17755a3edd2c379ff141c2b993 (patch)
tree192c82272508a4b836908c8c1f098e7f73ac0bcc /packages/views
parent5888bdf0db3aaa38f35f4630af86edf4b07f65e2 (diff)
downloadarchweb-48aec1534324ef17755a3edd2c379ff141c2b993.tar.gz
archweb-48aec1534324ef17755a3edd2c379ff141c2b993.zip
Revert "Add some dev dashboard info regarding signed package count"
This reverts commit 797185faed0555efb88a1e6a18e447548a9935fd. Now that all packages in the Arch repos are signed, this column isn't very useful as it just reflects the total package count. Conflicts: packages/views.py -> packages/views/search.py Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views')
-rw-r--r--packages/views/search.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/views/search.py b/packages/views/search.py
index 65fcddb3..1431893d 100644
--- a/packages/views/search.py
+++ b/packages/views/search.py
@@ -44,9 +44,6 @@ class PackageSearchForm(forms.Form):
flagged = forms.ChoiceField(
choices=[('', 'All')] + make_choice(['Flagged', 'Not Flagged']),
required=False)
- signed = forms.ChoiceField(
- choices=[('', 'All')] + make_choice(['Signed', 'Unsigned']),
- required=False)
limit = LimitTypedChoiceField(
choices=make_choice([50, 100, 250]) + [('all', 'All')],
coerce=coerce_limit_value,
@@ -97,11 +94,6 @@ def parse_form(form, packages):
elif form.cleaned_data['flagged'] == 'Not Flagged':
packages = packages.filter(flag_date__isnull=True)
- if form.cleaned_data['signed'] == 'Signed':
- packages = packages.filter(pgp_signature__isnull=False)
- elif form.cleaned_data['signed'] == 'Unsigned':
- packages = packages.filter(pgp_signature__isnull=True)
-
if form.cleaned_data['last_update']:
lu = form.cleaned_data['last_update']
packages = packages.filter(last_update__gte=