[arch-dev-public] [PATCH] Get rid of all references to repos.archlinux.org
The packages/community repositories can now be viewed via cgit. Point links to cgit instead of websvn, as websvn is buggy and nobody wants to maintain it. This allows us to get rid of websvn entirely. --- main/models.py | 2 +- templates/public/svn.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/main/models.py b/main/models.py index b5c395a..8858b17 100644 --- a/main/models.py +++ b/main/models.py @@ -263,7 +263,7 @@ def split_packages(self): repo__testing=self.repo.testing, pkgbase=self.pkgbase).exclude(id=self.id) def get_svn_link(self, svnpath): - linkbase = "http://repos.archlinux.org/wsvn/%s/%s/%s/" + linkbase = "http://projects.archlinux.org/svntogit/%s.git/tree/%s/%s/" return linkbase % (self.repo.svn_root, self.pkgbase, svnpath) def get_arch_svn_link(self): diff --git a/templates/public/svn.html b/templates/public/svn.html index 90852b7..29381e8 100644 --- a/templates/public/svn.html +++ b/templates/public/svn.html @@ -8,8 +8,10 @@ <h2 class="title">SVN Repositories</h2> about ABS, see <a href="https://wiki.archlinux.org/index.php/ABS">the ABS wiki page</a>. </p> <p> - You can view the history of all the PKGBUILD files from the Repository - <a href="http://repos.archlinux.org/">WebSVN</a> interface. + The SVN repositories have been cloned into git repositories and can be + viewed via the cgit interface + (<a href="http://projects.archlinux.org/svntogit/packages.git/">packages</a>, + <a href="http://projects.archlinux.org/svntogit/community.git/">community</a>). </p> <p> You can also get individual PKGBUILDs directly from SVN. This can be -- 1.7.3.3
participants (1)
-
Thomas Bächler