Skip to main content

Manage multiple repositories

Project description


  • tsrc sync
  • tsrc log


Getting started

  • Make sure you are using Python3.4 or higher.

  • Install tsrc with pip3 as usual.

  • Create a manifest repository. (

  • Push a file named manifest.yml looking like:

      - src: foo
      - src: bar
  • Clone the repositories with:

    $ mkdir workspace
    $ cd workspace
    $ tsrc init git@example/manifest.git

In this example:

  • foo will be cloned in <workspace>/foo using origin url.
  • Similarly, bar will be cloned in <workspace>/bar using

Managing Merge Requests on GitLab

  • Generate a token from GitLab

  • Add the http url to the manifest:

      url: http://gitlab.local
  • Create a ~/.config/tsrc.yml looking like:

        token: <YOUR TOKEN>
  • Start working on your branch

  • Create the pull request:

    $ tsrc push --assignee <an active user>
  • When the review is done, tell GitLab to merge it once the CI passes:

    $ tsrc push --accept

Managing Pull Requests on GitHub

  • Start working on your branch
  • Run tsrc push once. You will be prompted for your login and password (then a token will be saved so you don’t have to authenticate again). The pull request will be created.

You can use the --reviewer option several times to request reviews from your team mates. You can also assign someone to the pull request with the --assign option.

Then you can use tsrc push --merge to merge the pull request, or tsrc push --close to close it.

Why not Google repo?

See the FAQ

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tsrc, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size tsrc-0.6.0-py3-none-any.whl (46.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tsrc-0.6.0.tar.gz (31.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page