-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supports separate URLs in the repo and the web #56
Conversation
On a GitLab server. ex. --- repo: git@git.example.com:namespace/project.git web: https://gitlab.example.com/namespace/project $ git config gitopen.gitlab.domain gitlab.example.com $ git config gitopen.gitlab.ssh-domain git.example.com $ git open
I have no personal need for this, but the code still works for our internal gitlab. But is There is also Therefore I would suggest to rename So that would result in these three options: gitopen.gitlab.domain # the (web)domain name that will work for most of the people
gitopen.gitlab.ssh.domain # A specific ssh domain name, if needed
gitopen.gitlab.ssh.port # A specific ssh port, if needed Shouldn't there be a line or two in the readme to explain these ssh options? |
i have no experience with gitlab so defer to others. +1 on adding some notes to the readme. @elim can you do that? |
But @paulirish, you must have an opinion on how the settings should be organized for this. Note that what I wrote above is a proposal to change the settings. I am willing to create a PR to rewrite the gitlab ssh port setting. |
@ffes @paulirish Thank you for your interest. I am sorry that the reply was delayed. |
How about adding the following to the README?
Sample: https://gist.github.com/elim/b816f4fc5892fbaa0105cdddcbd07ad1 |
LGTM! |
thanks! and @ffes i'm adding you as a maintainer. huge thanks for your help on the gitlab items! |
Supports separate URLs in the repo and the web
On a GitLab server.
ex.
git@git.example.com:namespace/project.git
https://gitlab.example.com/namespace/project
Then,
Then open the web url in your web browser.