Skip to content

Commit 5e09c6a

Browse files
foutrelisjelly
authored andcommitted
Include package branch in svntogit links
Git log operations on the master branch take too long to finish and the history pages on GitHub time out because of this. Switch to using the package branches similar to how it was done when svntogit was on cgit. Fixes: #290
1 parent c20aba6 commit 5e09c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/templatetags/details_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def details_link(pkg):
2121
@register.simple_tag
2222
def scm_link(package, operation):
2323
parts = (package.repo.svn_root, operation, package.pkgbase)
24-
linkbase = ("https://github.com/archlinux/svntogit-%s/%s/master/%s/trunk")
24+
linkbase = ("https://github.com/archlinux/svntogit-%s/%s/packages/%s/trunk")
2525
return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts)
2626

2727

0 commit comments

Comments
 (0)