From 5897fba6d3242cc7188d05f8f3be7362a8383761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sat, 21 May 2011 02:28:51 -0300 Subject: More rebranding! --- packages/templatetags/package_extras.py | 31 +++++++------------------------ settings.py | 2 +- templates/packages/details.html | 2 -- templates/packages/flag_confirmed.html | 2 +- templates/packages/flaghelp.html | 7 ++++--- templates/packages/opensearch.xml | 2 +- templates/packages/stale_relations.html | 2 +- templates/public/svn.html | 33 +++------------------------------ templates/releng/add.html | 26 +++++++++++++------------- templates/releng/results.html | 6 +----- templates/releng/thanks.html | 2 +- 11 files changed, 33 insertions(+), 82 deletions(-) diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index e089b723..77ba79ba 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -48,37 +48,20 @@ def userpkgs(user): ) return '' - -def svn_link(package, svnpath): - '''Helper function for the two real SVN link methods.''' - parts = (package.repo.svn_root, package.pkgbase, svnpath) - linkbase = "http://projects.archlinux.org/svntogit/%s.git/tree/%s/%s/" - return linkbase % tuple(urlquote(part) for part in parts) - -@register.simple_tag -def svn_arch(package): - repo = package.repo.name.lower() - return svn_link(package, "repos/%s-%s" % (repo, package.arch.name)) - -@register.simple_tag -def svn_trunk(package): - return svn_link(package, "trunk") - @register.simple_tag def bugs_list(package): data = { - 'project': package.repo.bugs_project, - 'string': package.pkgname, + '@action': 'search' + 'title': package.pkgname, } - return "https://bugs.archlinux.org/?%s" % urlencode(data) + return "https://bugs.parabolagnulinux.org/bugs/issue?%s" % urlencode(data) @register.simple_tag def bug_report(package): data = { - 'project': package.repo.bugs_project, - 'product_category': package.repo.bugs_category, - 'item_summary': '[%s]' % package.pkgname, + '@template': 'item', + 'keyword': 'packages', + 'title': '[%s]' % package.pkgname, } - return "https://bugs.archlinux.org/newtask?%s" % urlencode(data) - + return "https://bugs.parabolagnulinux.org/bugs/issue?" % urlencode(data) # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index c9ea4178..e9285560 100644 --- a/settings.py +++ b/settings.py @@ -125,6 +125,6 @@ if DEBUG_TOOLBAR: INSTALLED_APPS = list(INSTALLED_APPS) + [ 'debug_toolbar' ] # URL to fetch a current list of available ISOs -ISO_LIST_URL = 'http://releng.archlinux.org/isos/' +ISO_LIST_URL = 'http://repo.parabolagnulinux.org/isos/' # vim: set ts=4 sw=4 et: diff --git a/templates/packages/details.html b/templates/packages/details.html index a8b2346e..f1b16e4c 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -15,8 +15,6 @@

Package Actions