Manage groups of git repositories
Project description
tsrc: manage groups of git repositories
Overview · Installation · Usage example · Documentation · Release notes · Contributing · License
Overview
tsrc is a command-line tool that helps you manage groups of several git repositories.
It can be seen in action on asciinema.org.
Note
tsrc does not adhere strictly to the semver specification. So before upgrading to a new version, please take the time to read the Changelog first!
Installation
tsrc is available on pypi and can be installed via pipx. (Or pip if you know what you are doing).
It requires Python 3.6 or later.
Usage Example
Create a manifest repository. (git@example.org/manifest)
Push a file named manifest.yml looking like:
repos:
- url: git@example.com/foo.git
dest: foo
- url: git@example.com/bar.git
dest: bar
Create a new workspace with all the repositories listed in the manifest:
$ tsrc init git@git.local/manifest.git
:: Configuring workspace in /path/to/work
...
=> Cloning missing repos
* (1/2) foo
...
* (2/2) bar
...
: Configuring remotes
Done ✓
Synchronize all the repositories in the workspace:
$ tsrc sync
=> Updating manifest
...
:: Configuring remotes
:: Synchronizing workspace
* (1/2) foo
=> Fetching origin
=> Updating branch
Already up to date
* (2/2) bar
=> Updating branch
Updating 29ac0e1..b635a43
Fast-forward
bar.txt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 bar.txt
Done ✓
Documentation
For more details and examples, please refer to tsrc documentation.
Release notes
Detailed changes for each release are documented in the changelog.
Contributing
We welcome feedback, bug reports, and bug fixes in the form of pull requests.
Detailed instructions can be found in the documentation.
License
tsrc is licensed under a BSD 3-Clause license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tsrc-2.2.0.tar.gz
.
File metadata
- Download URL: tsrc-2.2.0.tar.gz
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/5.7.0-1-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76e74a159a2dbc2fd81f14d267824e1e688bb00c408d833b94169168e58a9ea |
|
MD5 | 42763d35d2321a8fb340482693d91be4 |
|
BLAKE2b-256 | 3d73b2587f3043f5cbc8b80ad8d278ff3f981ddc69779d13508ae49b5cc5620d |
File details
Details for the file tsrc-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: tsrc-2.2.0-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.1 Linux/5.7.0-1-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca2e29e85b88edaaccd9cda5f768531ab751f590a8dd080774f372e7fd53efae |
|
MD5 | 3dd6497c008fe150f17ab20386f36aa2 |
|
BLAKE2b-256 | c649b923188c8775ee214040ad54ef44906e6242cc0f8169bf1604b91ed043d7 |