Project

General

Profile

SourceCodeRepositories » History » Version 1

Wolfgang Wiedmeyer, 05/02/2017 12:44 PM
init

1 1 Wolfgang Wiedmeyer
h1. LineageOS Mirror
2
3
h2. Initial setup
4
5
Initialize the repository and sync:
6
<pre>
7
mkdir lineage_mirror
8
cd lineage_mirror
9
repo init -u https://git.replicant.us/replicant/manifest.git -b LineageOS-mirror
10
repo sync
11
</pre>
12
13
h2. Updating
14
15
# Check the LineageOS manifest for newly added repos
16
# Add them in the LineageOS-mirror manifest
17
# Push the changes to git.replicant.us
18
# Create the newly added repos in the LineageOS-mirror group
19
# Update the local mirror with @repo sync@
20
# Push the updated branches to git.replicant.us:
21
22
23
h2. Notes
24
25
h3. Bundles
26
27
It's worth to check if all mirror repos have bundles in place.
28
29
h3. CAF variants
30
31
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.
32
33
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.