CAF Mirror Information


CAF public mirrors

There are four 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 the three. Unfortunately, GeoIP information for Mainland China is not sufficiently accurate to automatically route requests to the nearest server, so we recommend that clients in Mainland China configure their systems manually to direct repo requests to one of the three servers.

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