Project

General

Profile

Actions

SourceCodeRepositories » History » Revision 8

« Previous | Revision 8/16 (diff) | Next »
Denis 'GNUtoo' Carikli, 04/09/2019 03:36 PM


Mirrors

Initial setup

Initialize the repository and sync:

mkdir lineage_mirror
cd lineage_mirror
repo init -u https://git.replicant.us/replicant/manifest.git -b LineageOS-mirror
repo sync

Updating

  1. Check the LineageOS manifest for newly added repos
  2. If there are any, add them in the LineageOS-mirror manifest and push the changes to git.replicant.us
  3. If there are any, create the newly added repos in the LineageOS-mirror group (using the exact same names the repos have in LineageOS)
    # sudo -iu git
    $ cd repositories/LineageOS-mirror/
    $ git clone --mirror git://github.com/LineageOS/<repo-name>.git
    $ cd <repo-name>.git
    $ touch git-daemon-export-ok
    

Notes

cgit

See Cgit for where to adjust its configuration.

Bundles

It's worth to check if all mirror repos have bundles in place.

CAF variants

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.

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.

Updated by Denis 'GNUtoo' Carikli about 5 years ago · 8 revisions

Also available in: PDF HTML TXT