Project

General

Profile

SourceCodeRepositories » History » Version 10

Denis 'GNUtoo' Carikli, 04/10/2019 12:40 PM

1 10 Denis 'GNUtoo' Carikli
h1. Source code repositories
2 1 Wolfgang Wiedmeyer
3 10 Denis 'GNUtoo' Carikli
h2. Mirrors 
4
5
h3. Pushing the code with SSH
6 1 Wolfgang Wiedmeyer
7 9 Denis 'GNUtoo' Carikli
If you have SSH access, you can then clone the git repository directly on the server. This is way faster than having to push the code from a slow ADSL connection for instance.
8 1 Wolfgang Wiedmeyer
9
# Check the LineageOS manifest for newly added repos
10 3 Wolfgang Wiedmeyer
# If there are any, add them in the LineageOS-mirror manifest and push the changes to git.replicant.us
11
# If there are any, create the newly added repos in the LineageOS-mirror group (using the exact same names the repos have in LineageOS)
12 5 Joonas Kylmälä
<pre>
13 7 Denis 'GNUtoo' Carikli
# sudo -iu git
14
$ cd repositories/LineageOS-mirror/
15
$ git clone --mirror git://github.com/LineageOS/<repo-name>.git
16
$ cd <repo-name>.git
17
$ touch git-daemon-export-ok
18 1 Wolfgang Wiedmeyer
</pre>
19
20
h2. Notes
21 6 Denis 'GNUtoo' Carikli
22
h3. cgit
23
24
See [[Cgit]] for where to adjust its configuration.
25 1 Wolfgang Wiedmeyer
26
h3. Bundles
27
28
It's worth to check if all mirror repos have bundles in place.
29
30
h3. CAF variants
31
32
If we ever add support for a device that uses CAF branches of Qualcomm repos, we need to figure out how the mirror can still be updated and how releases can be tagged.
33
34
CAF branches are in the same repos as the default branches. So two or more local repos are created for one remote repo when the default branch and the CAF branches are checked out. The current setup for tagging a new release and updating the mirror assumes that there is one local repo for one remote repo.