This tool recursively copies/synchronizes a GitLab group from one GitLab server to another.
@@ -36,7 +36,8 @@ options:
--dest-sync-path DEST_SYNC_PATH
GitLab destination root group path to synchronize (defaults to --src-sync-path)
--max-visibility{public,internal,private}
maximum visibility of projects in destination group
maximum visibility of groups and projects in destination group
--skip-visibility skip updating the destination group or project visibility (when it exists already)
--exclude EXCLUDE project/group path to exclude from processing (relative to --src-sync-path)
--exclude-from EXCLUDE_FROM
a file which lists paths to exclude (one per line); incompatible with --exclude
@@ -73,6 +74,7 @@ options:
| `--dest-token` | `$DEST_TOKEN` | GitLab destination token with at least scopes `api,read_repository,write_repository` and `Owner` role (**mandatory**) |
| `--dest-sync-path` | `$DEST_SYNC_PATH` | GitLab destination root group path to synchronize (defaults to `--src-sync-path`) |
| `--max-visibility` | `$MAX_VISIBILITY` | maximum visibility of projects in destination group (defaults to `public`) |
| `--skip-visibility` | `$SKIP_VISIBILITY` | skip updating the destination group or project visibility (when it exists already) |
| `--exclude` | `$EXCLUDE` | project/group path(s) to exclude (multiple CLI option; env. variable is a coma separated list; wins over `--include`) |
| `--exclude-from` | `$EXCLUDE_FROM` | a file which lists paths to exclude (one per line); incompatible with `--exclude` / `$EXCLUDE` |
| `--include` | `$INCLUDE` | project/group path(s) to include (multiple CLI option; env. var. is coma separated; all paths included by default) |