Show last authors
1 = CAF public mirrors =
2
3 There are currently 6 main mirror locations:
4
5 * Portland, Oregon, USA: [[portland.source.codeaurora.org>>url:https://portland.source.codeaurora.org/]]
6 * Oregon, (another location), USA: [[oregon.source.codeaurora.org>>url:https://oregon.source.codeaurora.org/]]
7 * Mumbai, India: [[mumbai.source.codeaurora.org>>url:https://mumbai.source.codeaurora.org/]]
8 * Singapore: [[singapore.source.codeaurora.org>>url:https://singapore.source.codeaurora.org/]]
9 * Beijing, China: [[source.codeaurora.cn>>url:http://source.codeaurora.cn/]]
10
11 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.
12
13 === Using CDN-backed bundle files ===
14
15 **NOTE: not recommended for Mainland China.**
16
17 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:
18
19 {{code language="shell"}}
20 git config --global url.https://source.codeaurora.org.insteadOf git://codeaurora.org
21 {{/code}}
22
23 This should significantly improve cloning speed for many people accessing CAF from outside of North America or APAC.
24
25 === Use the fast mirror for read-only "repo sync" ===
26
27 To use the mirror in a private repo, run the following command:
28
29 {{code language="shell"}}
30 git config --global url.ssh://git@privgit.codeaurora.org.insteadOf ssh://git@git.codeaurora.org
31 {{/code}}
32
33 == Accessing Public CAF in Mainland China ==
34
35 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:
36
37 {{code language="shell"}}
38 git config --global url.http://source.codeaurora.cn.insteadOf git://codeaurora.org
39 git config --global url.http://source.codeaurora.cn.insteadOf https://source.codeaurora.org
40 {{/code}}
41
42 == Accessing other Public CAF projects in mainland China ==
43
44 Some individual projects require additional options:
45
46 [[Firefox OS for Snapdragon>>FirefoxOS.WebHome]]
47 {{code language="shell"}}git config --global --add url.http://source.codeaurora.cn/quic/lf.insteadof git://github.com{{/code}}
48
49 [[Linux Base>>QLBEP.WebHome]]
50 {{code language="shell"}}git config --global --add url.http://source.codeaurora.cn/quic/le.insteadof git://git.openembedded.org{{/code}}

Need help?

If you need help with XWiki you can contact: