CAF Mirror Information

Last modified by Lisa Lammens on 2020/01/30 21:23

CAF public mirrors

There are currently 6 main mirror locations:

CAF uses geo-IP based DNS servers to direct default requests to the nearest server. If you are in Mainland China, please see the section below on how to use the Beijing mirror.

Using CDN-backed bundle files

NOTE: not recommended for Mainland China.

The main development tool, repo, can use git bundle files in order to offload a lot of traffic to a locally-available CDN mirror. CAF provides bundle files, but they are not available for use with project manifests that use the legacy git://codeaurora.org URLs. If you would like to benefit from improved download speeds, please execute the following command to always use the new-style https://source.codeaurora.org URLs:

git config --global url.https://source.codeaurora.org.insteadOf git://codeaurora.org

This should significantly improve cloning speed for many people accessing CAF from outside of North America or APAC.

Use the fast mirror for read-only "repo sync"

To use the mirror in a private repo, run the following command:

git config --global url.ssh://git@privgit.codeaurora.org.insteadOf ssh://git@git.codeaurora.org

Accessing Public CAF in Mainland China

Due to ICP (Bei'an) license requirements, we are unable to serve codeaurora.org domains from Mainland China locations. To configure repo to use the Beijing mirror, please run the following commands in your terminal:

git config --global url.http://source.codeaurora.cn.insteadOf git://codeaurora.org
git config --global url.http://source.codeaurora.cn.insteadOf https://source.codeaurora.org

Accessing other Public CAF projects in mainland China

Some individual projects require additional options:

Firefox OS for Snapdragon
git config --global --add url.http://source.codeaurora.cn/quic/lf.insteadof git://github.com

Linux Base
git config --global --add url.http://source.codeaurora.cn/quic/le.insteadof git://git.openembedded.org

Tags:
Created by Brandon Schwartz on 2013/05/29 19:42
   
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 7.4.3 - Documentation