Project

General

Profile

SourceCodeRepositories » History » Version 9

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

1 6 Denis 'GNUtoo' Carikli
h1. Mirrors
2 1 Wolfgang Wiedmeyer
3 9 Denis 'GNUtoo' Carikli
h2. Pushing the code
4 1 Wolfgang Wiedmeyer
5 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.
6 1 Wolfgang Wiedmeyer
7
# Check the LineageOS manifest for newly added repos
8 3 Wolfgang Wiedmeyer
# If there are any, add them in the LineageOS-mirror manifest and push the changes to git.replicant.us
9
# If there are any, create the newly added repos in the LineageOS-mirror group (using the exact same names the repos have in LineageOS)
10 5 Joonas Kylmälä
<pre>
11 7 Denis 'GNUtoo' Carikli
# sudo -iu git
12
$ cd repositories/LineageOS-mirror/
13
$ git clone --mirror git://github.com/LineageOS/<repo-name>.git
14
$ cd <repo-name>.git
15
$ touch git-daemon-export-ok
16 1 Wolfgang Wiedmeyer
</pre>
17
18
h2. Notes
19 6 Denis 'GNUtoo' Carikli
20
h3. cgit
21
22
See [[Cgit]] for where to adjust its configuration.
23 1 Wolfgang Wiedmeyer
24
h3. Bundles
25
26
It's worth to check if all mirror repos have bundles in place.
27
28
h3. CAF variants
29
30
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.
31
32
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.