SourceCodeRepositories » History » Version 12
Denis 'GNUtoo' Carikli, 04/10/2019 12:56 PM
1 | 10 | Denis 'GNUtoo' Carikli | h1. Source code repositories |
---|---|---|---|
2 | 1 | Wolfgang Wiedmeyer | |
3 | 10 | Denis 'GNUtoo' Carikli | h2. Mirrors |
4 | |||
5 | 11 | Denis 'GNUtoo' Carikli | h3. Pushing mirrors with SSH access |
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 | 11 | Denis 'GNUtoo' Carikli | h3. Pushing the code without SSH |
21 | 6 | Denis 'GNUtoo' Carikli | |
22 | 12 | Denis 'GNUtoo' Carikli | Replicant uses gitolite to handle git access. |
23 | |||
24 | gitolite is configured by configuration files stored in git. The repository that handles that is at: |
||
25 | <pre> |
||
26 | ssh://git@git.replicant.us/gitolite-admin |
||
27 | </pre> |
||
28 | 1 | Wolfgang Wiedmeyer | h3. cgit |
29 | |||
30 | 11 | Denis 'GNUtoo' Carikli | See [[Cgit]] for where to adjust its configuration. |
31 | |||
32 | Once the code is pushed you will need to adjust the cgit configuration to make it appear on the web interface. |
||
33 | 1 | Wolfgang Wiedmeyer | |
34 | h3. Bundles |
||
35 | |||
36 | It's worth to check if all mirror repos have bundles in place. |
||
37 | |||
38 | h3. CAF variants |
||
39 | |||
40 | 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. |
||
41 | |||
42 | 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. |