diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-24 23:10:22 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-24 23:10:22 +0100 |
commit | 48aec1534324ef17755a3edd2c379ff141c2b993 (patch) | |
tree | 192c82272508a4b836908c8c1f098e7f73ac0bcc | |
parent | 5888bdf0db3aaa38f35f4630af86edf4b07f65e2 (diff) | |
download | archweb-48aec1534324ef17755a3edd2c379ff141c2b993.tar.gz archweb-48aec1534324ef17755a3edd2c379ff141c2b993.tar.xz |
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>
-rw-r--r-- | main/models.py | 4 | ||||
-rw-r--r-- | packages/views/search.py | 8 | ||||
-rw-r--r-- | templates/devel/index.html | 5 |
3 files changed, 0 insertions, 17 deletions
diff --git a/main/models.py b/main/models.py index 7d01724..289cbb8 100644 --- a/main/models.py +++ b/main/models.py @@ -74,10 +74,6 @@ class PackageManager(models.Manager): """Used by dev dashboard.""" return self.filter(flag_date__isnull=False) - def signed(self): - """Used by dev dashboard.""" - return self.filter(pgp_signature__isnull=False) - def normal(self): return self.select_related('arch', 'repo') diff --git a/packages/views/search.py b/packages/views/search.py index 65fcddb..1431893 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= diff --git a/templates/devel/index.html b/templates/devel/index.html index 0201936..63d1819 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -183,7 +183,6 @@ <th class="key">Arch</th> <th># Packages</th> <th># Flagged</th> - <th># Signed</th> </tr> </thead> <tbody> @@ -196,8 +195,6 @@ <td><a href="/packages/?arch={{ arch.name }}&flagged=Flagged" title="View all flagged packages for the {{ arch.name }} architecture"> <strong>{{ arch.packages.flagged.count }}</strong> packages</a></td> - - <td><strong>{{ arch.packages.signed.count }}</strong> packages</td> </tr> {% endfor %} </tbody> @@ -216,7 +213,6 @@ <th class="key">Repository</th> <th># Packages</th> <th># Flagged</th> - <th># Signed</th> </tr> </thead> <tbody> @@ -229,7 +225,6 @@ <td><a href="/packages/?repo={{ repo.name }}&flagged=Flagged" title="View all flagged packages in the {{ repo.name }} repository"> <strong>{{ repo.packages.flagged.count }}</strong> packages</a></td> - <td><strong>{{ repo.packages.signed.count }}</strong> packages</td> </tr> {% endfor %} </tbody> |