Skip to content

Support for custom Gitlab URLs #505

Description

@kanirudh

My company uses a self-hosted gitlab using gitolite, I face the following error while running the plugin.

gitlab.nvim: Failure initializing plugin: invalid git URL format: gitolite@gitlab.p.ghpr.asia:gt/core/algo-services-core.git which I found comes from

return GitData{}, fmt.Errorf("invalid git URL format: %s", url)

version 3.4.0 tag v3.4.0 branch main commit e29909c

(base) ➜  algo-services-core git:(release/ASVC-80/new_context) ✗ echo $GITLAB_URL
https://gitlab.p.ghpr.asia/

(base) ➜  algo-services-core git:(release/ASVC-80/new_context) ✗ git remote get-url origin
gitolite@gitlab.p.ghpr.asia:gt/core/algo-services-core.git

I don't any configuration can bypass this setting if I am reading the go code correctly, is there a solution for this ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions