Synchronize the content of two different repositories.
Project description
The ansys-tools-repo-sync library is intended to synchronize the content of two different repositories.
What does this library do?
For instance, due to intellectual properties concerns, it might not be possible to expose publicly the entire content of a private repository. Its owner could decide to have a second repository, a public one. Part of the content for this public repo would come from the private repository.
ansys-tools-repo-sync allows you to do so by copying a folder and its content from one repo to the other. In addition, it is possible to filter the type extension file authorized to be copied.
How to use it?
A common usage for this tool consist to integrate it in one of your CI/CD pipeline or workflow. Firstly, the tool must be installed.
pip install ansys-tools-repo-sync
Then, it can be used in the considered workflow with the appropriate arguments.
Run it as follows:
repo-sync --manifest path_to_manifest_file --repository target-repository-name --token github_token --organization ansys --protos-path path_to_protos_directory --dry-run
Issues
To post issues, questions, and code, go to ansys-tools-repo-sync Issues.
License
ansys-tools-repo-sync is licensed under the MIT 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 ansys-tools-repo-sync-0.1.18.tar.gz
.
File metadata
- Download URL: ansys-tools-repo-sync-0.1.18.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e1801eff3ab733fd2ba2e5e60cf5975c8864245f3bf30ecc358067f1361bd9 |
|
MD5 | 9873e1e059f6a45804d134f229150800 |
|
BLAKE2b-256 | 242127e4fadc85ac86b877d795cde51943d033336ee964be4eab45b13f8be3c4 |
File details
Details for the file ansys_tools_repo_sync-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: ansys_tools_repo_sync-0.1.18-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e215c67904f80e65e894616c5d0daff9ec35e74c55c6debd58ed38415e8eb7f9 |
|
MD5 | df34c8dc33956927406077b197764472 |
|
BLAKE2b-256 | ff10a784e46802fef00b871af15527f4f7710e15bf1d268c0ad4ccc37d6b48f4 |