CAF Mirror Information

Last modified by Lisa Lammens on 2017/07/06 16:27

CAF public mirrors

There are five main mirror locations:

CAF uses geo-IP based DNS servers to direct default requests to the nearest server, with Mainland China requests using round-robin to use either one of Beijing, Shanghai or Hongkong, and other APAC locations using the Hongkong server. All other requests will be sent to the main Portland mirror.

Using CDN-backed bundle files

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.

Accessing CAF in Mainland China

GeoIP information for Mainland China is not sufficiently accurate to automatically route requests to the nearest China server, so we recommend that clients in Mainland China configure their systems manually to direct repo requests to one of the three servers that works best for them.

To always use the Beijing server, run the following commands:

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

To always use the Shanghai server, run the following commands:

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

To always use the Hongkong server, run the following commands:

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

Accessing other CAF projects in mainland China

Some individual projects require additional options:

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

Linux Base
git config --global --add url.https://source.codeaurora.org/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