You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used it to migrate my Gitlab 15.11.9 instance to Gitea 1.20.5.
FYI:
Since I have a reverse proxy which adds SSl, I got the following warning which in the end leads to failure:
migrate.py:54: UserWarning: The base URL in the server response differs from the user-provided base URL (https://git.home.***.ch -> http://gitlab-15.11).
This is usually caused by a misconfigured base URL on your side or a misconfigured external_url on the server side, and can lead to broken pagination and unexpected behavior. If this is intentional, use `keep_base_url=True` when initializing the Gitlab instance to keep the user-provided base URL. (python-gitlab: ***/gitlab/client.py:603)
gl.auth()
Adding keep_base_url=True to gl = gitlab.Gitlab() solved the issue and the migration was successful.
The text was updated successfully, but these errors were encountered:
Thanks for this great script!
I used it to migrate my Gitlab 15.11.9 instance to Gitea 1.20.5.
FYI:
Since I have a reverse proxy which adds SSl, I got the following warning which in the end leads to failure:
Adding
keep_base_url=True
togl = gitlab.Gitlab()
solved the issue and the migration was successful.The text was updated successfully, but these errors were encountered: