summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/models.py2
-rw-r--r--templates/public/svn.html34
2 files changed, 19 insertions, 17 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 @@ class Package(models.Model):
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..dd175bc 100644
--- a/templates/public/svn.html
+++ b/templates/public/svn.html
@@ -7,27 +7,29 @@
The PKGBUILD files can be fetched via the ABS utility. To learn more
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.
- </p>
+ <p>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/">All
+ packages</a> are available here except for
+ <a href="http://projects.archlinux.org/svntogit/community.git/">community
+ and multilib</a> which are available in a different repository.</p>
<p>
You can also get individual PKGBUILDs directly from SVN. This can be
especially useful if you need to compile an older version of a package.
<strong>DO NOT CHECK OUT THE ENTIRE SVN REPO</strong>. Your address may be
blocked. Use the following commands to check out a specific package:
- </p>
- <pre>
- svn checkout --depth=empty svn://svn.archlinux.org/packages
- cd packages
- svn update &lt;your-package-name&gt;
- </pre>
- For the community repository, use the following commands instead:
- <pre>
- svn checkout --depth=empty svn://svn.archlinux.org/community
- cd community
- svn update &lt;your-package-name&gt;
- </pre>
+ </p>
+
+ <pre>svn checkout --depth=empty svn://svn.archlinux.org/packages
+cd packages
+svn update &lt;your-package-name&gt;</pre>
+
+ For the community and multilib repositories, use the following commands
+ instead:
+ <pre>svn checkout --depth=empty svn://svn.archlinux.org/community
+cd community
+svn update &lt;your-package-name&gt;</pre>
+
<p>
Visit <a href="https://wiki.archlinux.org/index.php?title=Getting_PKGBUILDS_From_SVN">the wiki</a>
for more tips on checking out and updating svn PKGBUILDs.