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.8.tar.gz
.
File metadata
- Download URL: ansys-tools-repo-sync-0.1.8.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5e55398e212f4bf55c2499465b605c99c9c389538f887499886046a8b1b22a |
|
MD5 | 1b7f0e974ac3bbf89f32f0af0498ec2d |
|
BLAKE2b-256 | 785d8320057ea8d5b40d5305db460c24747a3e296391d934c22988ac0afc8f0e |
File details
Details for the file ansys_tools_repo_sync-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: ansys_tools_repo_sync-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95ec6af8e50c97a0f6f6345b2ed92a79836236417559a94f5ede3e4b7a78c26 |
|
MD5 | 2dec5b4cbcf5b443dab1ea5affdb2cb8 |
|
BLAKE2b-256 | abfd2da33a15bc65de8ff4aa532a2f8a4dd6e36634ee826be24b99168ebff94b |