support for self-hosting gitlab-ce version (path unusing `-` dash)
norimsu opened this issue ยท 8 comments
Hi, I'm happy to find this plug-in.
But there is some problem with using it.
I use self-hosting gitlab-ce.
The link requested by "/~/blob/..." does not work.
The other addresses work well except for "/~".
http://some-gitlab.com/some-group/some-project/~/blob/some-file.code # doesn't work - 404
http://some-gitlab.com/some-group/some-project/blob/some-file.code # work
The GitLab-CE version I use is '12.3.4 (f33961a395)'
What do you think about adding this content as an option?
span-tree/content/src/scripts/components/TreeItem/TreeItem.jsx
Lines 35 to 37 in a3fa18e
None of the redirections in SpanTree involve the use of a ~
(tilde).
1. http://some-gitlab.com/some-group/some-project/~/blob/some-file.code # doesn't work - 404
2. http://some-gitlab.com/some-group/some-project/-/blob/some-file.code # works
3. http://some-gitlab.com/some-group/some-project/blob/some-file.code # works
Can you tell me when you click on a file in SpanTree, which link appears from the above?
Just for reference SpanTree uses 2
for redirection.
oh, it's mistake
-
not ~
for GitLab-CE 12.3.4 (f33961a395)
2. http://some-gitlab.com/some-group/some-project/-/blob/some-branch/some-file.code # does not work - 404
3. http://some-gitlab.com/some-group/some-project/blob/some-branch/some-file.code # works
4. http://some-gitlab.com/some-group/some-project/tree/some-branch/some-file.code # works
This is an issue that exists on GitLab (versions < 13
).
Thanks for clarifying @norimsu . We have started working on a compatibility mode. It will be released within a week.
same problem here, i installed from Chrome Web Store which version is 0.0.2.3, when will upgrade the store version
it works ๐ thx
thx. ๐๐๐๐๐๐