Open vladvershinin opened 2 years ago
I see now that I've imported my repository using Idea -> File -> New project from Version Control...
And I used https://github.com/YandexClassifieds/projectname
url to import.
That's how git origin doesn't end with .git
.
I see now that I've imported my repository using Idea -> File -> New project from Version Control... And I used
https://github.com/YandexClassifieds/projectname
url to import. That's how git origin doesn't end with.git
.
So, switch to git@github.com:YandexClassifieds/projectname.git
help as workaround.
But at least an indication would be appreciated in such situation for future users.
While the .git
is a problem, in my case the regex also fails for URLs with a .
in the path, e.g. user/namespace.package
.
Some of the supported URL formats don't come from sources I expect this plugin to link to, but the current regex looks a bit too restrictive to me.
(btw .git
is also optional for ssh remote URLs)
Sorry for the delay in replying. I understand the problem. I will try to fix the regular expression.
Hey @kawamataryo any update on this?
Having trouble with URLs like
git@github.dev.my-company.com:MyArea/MyCompany.MyRepository.MyProduct.git
https://github.dev.my-company.com/MyArea/MyCompany.MyRepository.MyProduct.git
End up with https://null/null/blob/8a14b7c598c2e654cc52b40b8d22ba15324b6761/...
Sorry for the delayed response. I plan to rectify this issue soon.
I fixed it to work with URLs that don't have .git
, However, it still does not work with URLs containing namespace.
I also get null with latest PHP Storm and plugin. I clone my repo with ssh and then open the directory in PHP Storm to start the project.
https://nullnull/null/blob/c4d8a5b99e35a340f821b378d68229e588f0ed96...
Hi!
At some point in time, I've started to get
https://null/null/blob/....
links. Looks like something happens with my repo value as it returns fromGitRepositoryManager.getInstance(project).getRepositoryForFileQuick(virtualFile)
sorepo?.remotes?.first()?.firstUrl
doesn't match to the regexp.*(?:@|\\/\\/)(.[^:\\/]*).([^\\.]+)\\.git
.