CAF Mirror Information
CAF public mirrors
There are currently 6 main mirror locations:
- Portland, Oregon, USA: portland.source.codeaurora.org
- Oregon, (another location), USA: oregon.source.codeaurora.org
- Mumbai, India: mumbai.source.codeaurora.org
- Singapore: singapore.source.codeaurora.org
- Beijing, China: source.codeaurora.cn
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:
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:
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 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