diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-08 10:51:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-08 10:51:52 -0600 |
commit | 96fecb1079a1ad4a2b574616bc6611678fa53dc8 (patch) | |
tree | 9508dc70701443ec8790866273b550c03c3a97d9 /packages/views | |
parent | 604c748f8f8dee5e51e2ea5937d1be0b60fb0e7b (diff) |
Multilib differences report
This new tables shows multilib packages paired with their regular
counterparts in the normal repos if the pkgver differs. A few name hacks
are needed to trim lib32-, -multilib, etc. from the name to find the
matching package.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views')
-rw-r--r-- | packages/views/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/views/__init__.py b/packages/views/__init__.py index 13ad0c71..aa7da262 100644 --- a/packages/views/__init__.py +++ b/packages/views/__init__.py @@ -16,7 +16,7 @@ from main.models import Package, PackageFile, Arch, Repo from mirrors.models import MirrorUrl from ..models import PackageRelation, PackageGroup from ..utils import (get_group_info, get_differences_info, - get_wrong_permissions) + multilib_differences, get_wrong_permissions) # make other views available from this same package from .flag import flaghelp, flag, flag_confirmed, unflag, unflag_all @@ -233,10 +233,12 @@ def arch_differences(request): arch_a = Arch.objects.get(name='i686') arch_b = Arch.objects.get(name='x86_64') differences = get_differences_info(arch_a, arch_b) + multilib_diffs = multilib_differences() context = { 'arch_a': arch_a, 'arch_b': arch_b, 'differences': differences, + 'multilib_differences': multilib_diffs } return direct_to_template(request, 'packages/differences.html', context) |