Skip to main content
https://img.shields.io/travis/SuperTanker/tsrc.svg?branch=master https://img.shields.io/pypi/v/tsrc.svg https://img.shields.io/github/license/SuperTanker/tsrc.svg

Demo

tsrc demo on asciinema.org

Documentation

See https://supertanker.github.io/tsrc/

Screenshots

  • tsrc sync

https://dmerej.info/blog/pics/tsrc-sync.png
  • tsrc log

https://dmerej.info/blog/pics/tsrc-log.png

Tutorial

Getting started

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

  • Install tsrc with pip3 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 using git@example.com:foo.git origin url.

  • Similarly, bar will be cloned in <workspace>/bar using git@example.com/bar.git

Managing Merge Requests

  • 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 active user>
  • When the review is done, tell GitLab to merge it once the CI passes:

    $ tsrc push --accept

Why not Google repo?

See the FAQ

Release files for tsrc 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsrc 0.4.0
File Size Uploaded
tsrc-0.4.0.tar.gz 28.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tsrc 0.4.0
File Interpreter ABI Platform
tsrc-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.0 kB

Release files / tsrc-0.4.0.tar.gz

Download URL tsrc-0.4.0.tar.gz
Size 28.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d1bfb8d3f3c9b3f8fdfbee07dba1bb6bffc11642d0ef13c0135e20eb72e829a3
BLAKE2b-256 checksum
How to use checksums
34651b174b2168c5f66c3a33c6cd425bd3f5e45607c3de4acbc4a7b0668684ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tsrc-0.4.0-py3-none-any.whl

Download URL tsrc-0.4.0-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df716303ecc4725aebe55cbfc88ba574a0fe6ca69747caf6c63748bb2b32856a
BLAKE2b-256 checksum
How to use checksums
5ba9e1a65d13448b67a85a1dc8f883344a922e8eaeb63dc604f7648cc86b61d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

3.0.1

2 release files

3.0.0

2 release files

2.7.1

2 release files

2.7.0

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

This release

0.4.0 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page