trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
245 stars 57 forks source link

Recent GitLab update changes HTTPS URL format #45

Closed paulhibbitts closed 6 years ago

paulhibbitts commented 7 years ago

A recent change to how GitLab formats repository HTTPS URLs is causing an error to happen when setting up Git Sync.

Previously, GitLab HTTPS URLs were in this format: https://gitlab.com/paulhibbitts/sandbox-grav-oer-content-space.git

However, now after a recent GitLab.com update (referred to in https://gitlab.com/gitlab-org/gitlab-ce/issues/30410), this URL can change based on your login state to this format: https://paulhibbitts@gitlab.com/paulhibbitts/sandbox-grav-oer-content-space.git

While at least there is a workaround (which is a user must first log out of GitLab before running the Git Sync plugin), might it be possible to accommodate both URL formats? Please also note that many (older) open source installs of GitLab still only provide the original format HTTPS URL.

Thanks very much, Paul

paulhibbitts commented 6 years ago

Looks like this has been addressed on the GitLab side of things.