See https://tankerapp.github.io/tsrc/
tsrc sync
tsrc log
Make sure you are using Python3.3 or higher.
Install
tsrc
withpip3
as usual.Create a manifest repository. (
git@example.org/manifest
)Push a file named
manifest.yml
looking like:repos: - src: foo url: git@example.com/foo.git - src: bar url: git@example.com/bar.git
Clone the repositories with:
$ mkdir workspace $ cd workspace $ tsrc init git@example/manifest.git
In this example:
foo
will be cloned in<workspace>/foo
usinggit@example.com:foo.git
origin url.- Similarly,
bar
will be cloned in<workspace>/bar
usinggit@example.com/bar.git
Generate a token from GitLab
Add the http url to the manifest:
gitlab: url: http://gitlab.local
Create a
~/.config/tsrc.yml
looking like:auth: gitlab: token: <YOUR TOKEN>
Start working on your branch
Create the pull request:
$ tsrc push --assignee <an octive user>
When the review is done, tell GitLab to merge it once the CI passes:
$ tsrc push --accept
See the FAQ