ansys.tools.repo_sync.__main__#

Tool to copy the content of one repo toward an other.

Run with:

repo-sync       --token <token>       --owner <organization-name>       --repository <repository-name>       --from-dir <path-to-dir-containing-files-to-sync>       --to-dir <target-dir-for-sync>       --include-manifest <path-to-manifest>

Module Contents#

Functions#

synchronize(owner, repository, token, from_dir, ...)

CLI command to execute the repository synchronization.

ansys.tools.repo_sync.__main__.synchronize(owner, repository, token, from_dir, to_dir, include_manifest, branch_checked_out, clean_to_dir, clean_to_dir_based_on_manifest, dry_run, skip_ci, random_branch_name)#

CLI command to execute the repository synchronization.