From 96fecb1079a1ad4a2b574616bc6611678fa53dc8 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 8 Dec 2011 10:51:52 -0600 Subject: 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 --- packages/views/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/views') 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 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) -- cgit v1.2.3-54-g00ecf