From a31779370c6d1534e9d9e426c5d6883518870a72 Mon Sep 17 00:00:00 2001 From: Michael Wyraz Date: Wed, 4 Jul 2018 09:29:16 +0200 Subject: [PATCH] Set gitlab API to v4 https://github.com/MarcelSimon/MigrateGitlabToGogs/issues/5 --- 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 ed7d3df..c556c40 100755 --- a/migrate_gitlab_to_gogs.py +++ b/migrate_gitlab_to_gogs.py @@ -33,7 +33,7 @@ print(' as private repositories.') 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"