Skip to main content

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.

doc/images/repo_sync.png

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


Download files

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

Source Distribution

ansys-tools-repo-sync-0.1.13.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

ansys_tools_repo_sync-0.1.13-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file ansys-tools-repo-sync-0.1.13.tar.gz.

File metadata

File hashes

Hashes for ansys-tools-repo-sync-0.1.13.tar.gz
Algorithm Hash digest
SHA256 bb9d7c03c42a677bdfad69436afe8bf582b7f24b79ce0380719a3a172a7e956d
MD5 087f0f9709657940eccd42ba043a2edb
BLAKE2b-256 62627cfe36cb95cf777d6d5c8d6f5eea6d15f08aa27bda4a99b4f337407d8a59

See more details on using hashes here.

File details

Details for the file ansys_tools_repo_sync-0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_tools_repo_sync-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 db9ff77a2927407694dfb42cd09b63d966b225e1c66e68d96eb7b66e701c8f76
MD5 c9fe73142ab5d8d2cf3c67caed163123
BLAKE2b-256 fd4047590b2d0ceb2c864be1e62dc8ea8a4ea9842b6b27fa4f21777e066d5773

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page