Loading README.md +4 −2 Original line number Diff line number Diff line Loading @@ -25,12 +25,14 @@ This tool recursively copies/synchronizes a GitLab group from one GitLab server options: -h, --help show this help message and exit --src-api SRC_API GitLab source API --src-api SRC_GITLAB_API GitLab source API --src-token SRC_TOKEN GitLab source token (optional if source GitLab group and sub projects have `public` visibility) --src-sync-path SRC_SYNC_PATH GitLab source root group path to synchronize --dest-api DEST_API GitLab destination API --dest-api DEST_GITLAB_API GitLab destination API --dest-token DEST_TOKEN GitLab destination token with at least scopes `api,read_repository,write_repository` and `Owner` role --dest-sync-path DEST_SYNC_PATH Loading gitlab_cp/sync.py +2 −0 Original line number Diff line number Diff line Loading @@ -804,6 +804,7 @@ def run() -> None: parser.add_argument( "--src-api", default=os.getenv("SRC_GITLAB_API"), metavar="SRC_GITLAB_API", help="GitLab source API", ) parser.add_argument( Loading @@ -819,6 +820,7 @@ def run() -> None: parser.add_argument( "--dest-api", default=os.getenv("DEST_GITLAB_API"), metavar="DEST_GITLAB_API", help="GitLab destination API", ) parser.add_argument( Loading Loading
README.md +4 −2 Original line number Diff line number Diff line Loading @@ -25,12 +25,14 @@ This tool recursively copies/synchronizes a GitLab group from one GitLab server options: -h, --help show this help message and exit --src-api SRC_API GitLab source API --src-api SRC_GITLAB_API GitLab source API --src-token SRC_TOKEN GitLab source token (optional if source GitLab group and sub projects have `public` visibility) --src-sync-path SRC_SYNC_PATH GitLab source root group path to synchronize --dest-api DEST_API GitLab destination API --dest-api DEST_GITLAB_API GitLab destination API --dest-token DEST_TOKEN GitLab destination token with at least scopes `api,read_repository,write_repository` and `Owner` role --dest-sync-path DEST_SYNC_PATH Loading
gitlab_cp/sync.py +2 −0 Original line number Diff line number Diff line Loading @@ -804,6 +804,7 @@ def run() -> None: parser.add_argument( "--src-api", default=os.getenv("SRC_GITLAB_API"), metavar="SRC_GITLAB_API", help="GitLab source API", ) parser.add_argument( Loading @@ -819,6 +820,7 @@ def run() -> None: parser.add_argument( "--dest-api", default=os.getenv("DEST_GITLAB_API"), metavar="DEST_GITLAB_API", help="GitLab destination API", ) parser.add_argument( Loading