summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-12-14 21:06:30 +0100
committerDan McGee <dan@archlinux.org>2010-12-14 16:36:26 -0600
commit97e8489ecbfc85c3759afdbe59605f3c0ffb4ce5 (patch)
treedd103cad3f3e70abc007c319a231ff08ee3a6938
parentf63a1a9518ee3f1c3b980ba973392422f8ce82ca (diff)
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. Signed-off-by: Dan McGee <dan@archlinux.org>
-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 b5c395a4..8858b17b 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 90852b71..dd175bcc 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.