From fb4b49c7d95daad3aa0bbec78f18311ec5430d27 Mon Sep 17 00:00:00 2001 From: Yann Esposito Date: Sat, 4 Jan 2020 13:22:41 +0100 Subject: [PATCH] update to API v4 of gitlab Recent version of gitlab do not support v3. It works perfectly fine with v4. --- migrate_gitlab_to_gogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate_gitlab_to_gogs.py b/migrate_gitlab_to_gogs.py index af19e5f..1a0cd52 100644 --- a/migrate_gitlab_to_gogs.py +++ b/migrate_gitlab_to_gogs.py @@ -31,7 +31,7 @@ input('Hit any key to continue!') gogs_url = args.target_repo + "/api/v1" -gitlab_url = args.source_repo + '/api/v3' +gitlab_url = args.source_repo + '/api/v4' gogs_token = input(("\n\nPlease provide the gogs access token which we use to access \n" "your account. This is NOT your password! Go to \n"