summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2020-07-22 11:19:25 +0200
committerJelle van der Waa <jelle@archlinux.org>2020-07-22 11:19:25 +0200
commitc20aba67644db0c6f77ec3a5be36022df6f34170 (patch)
tree7d1cbb0ff0755a28988a9fd96037a255ad982e73
parentdb10dd5d2c09e7a2e848f91c5704423a58bcdfa3 (diff)
downloadarchweb-c20aba67644db0c6f77ec3a5be36022df6f34170.tar.gz
archweb-c20aba67644db0c6f77ec3a5be36022df6f34170.zip
Update git.archlinux.org links to Github.com/archlinuxrelease_2020-07-22
-rw-r--r--main/templatetags/details_link.py4
-rw-r--r--templates/packages/package_details.html2
2 files changed, 2 insertions, 4 deletions
diff --git a/main/templatetags/details_link.py b/main/templatetags/details_link.py
index 2e68befe..d5a2ebf7 100644
--- a/main/templatetags/details_link.py
+++ b/main/templatetags/details_link.py
@@ -21,9 +21,7 @@ def details_link(pkg):
@register.simple_tag
def scm_link(package, operation):
parts = (package.repo.svn_root, operation, package.pkgbase)
- linkbase = (
- "https://projects.archlinux.org/svntogit/%s.git/%s/trunk?"
- "h=packages/%s")
+ linkbase = ("https://github.com/archlinux/svntogit-%s/%s/master/%s/trunk")
return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts)
diff --git a/templates/packages/package_details.html b/templates/packages/package_details.html
index 27a4ce31..c26b3b86 100644
--- a/templates/packages/package_details.html
+++ b/templates/packages/package_details.html
@@ -8,7 +8,7 @@
<ul class="small">
<li>
<a href="{% scm_link pkg 'tree' %}" title="View source files for {{ pkg.pkgname }}">Source Files</a> /
- <a href="{% scm_link pkg 'log' %}" title="View changes for {{ pkg.pkgname }}">View Changes</a>
+ <a href="{% scm_link pkg 'commits' %}" title="View changes for {{ pkg.pkgname }}">View Changes</a>
</li>
<li>
<a href="{% bugs_list pkg %}" title="View existing bug tickets for {{ pkg.pkgname }}">Bug Reports</a> /