diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2014-10-05 13:37:56 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2014-10-05 13:37:56 +0200 |
commit | f6ed54e6d21cfd53a42bda4c70e1b94b1937696e (patch) | |
tree | c1f5e8fce06cb0bfd4b1e90aa2ba799e8a0715dd /packages | |
parent | 7e7197c20fe12f29dc6abb96102fc500d98030d6 (diff) |
Use new Parabola URLs.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/templatetags/package_extras.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index 70456985..e022116a 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -114,13 +114,13 @@ def packager_link(user): def scm_link(package, operation): parts = ("abslibre", operation, package.repo.name.lower(), package.pkgbase) linkbase = ( - "https://projects.parabolagnulinux.org/%s.git/%s/%s/%s") + "https://projects.parabola.nu/%s.git/%s/%s/%s") return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts) @register.simple_tag def get_wiki_link(package): - url = "https://wiki.parabolagnulinux.org/index.php" + url = "https://wiki.parabola.nu/index.php" data = { 'title': "Special:Search", 'search': package.pkgname, @@ -129,11 +129,11 @@ def get_wiki_link(package): @register.simple_tag def bugs_list(package): - url = "https://labs.parabola.nu/search/index/" if package.arch.name == 'mips64el': - url = url + "mips64el" + project = "mips64el" else: - url = url + "issue-tracker" + project = "issue-tracker" + url = "https://labs.parabola.nu/projects/%s/search" % project data = { 'titles_only': '1', 'issues': '1', @@ -162,6 +162,7 @@ def flag_unfree(package): else: url = url + "issue-tracker/issues/new" data = { + 'issue[tracker_id]': '4', # "freedom issue" 'issue[priority_id]': '1', # "freedom issue" 'issue[watcher_user_ids][]': '62', # "dev-list" 'issue[subject]': '[%s] Please put your reasons here (register first if you haven\'t)' % package.pkgname, |