gerrit-intellij-plugin
gerrit-intellij-plugin copied to clipboard
Empty list of changes
Hi!
Trying to use the plugin at my work environment. Private Gerrit repository (2.12.5 version). I think that it is a configuration problem, but I don't know how to solve it. The repository has a lot of subdirectories. Some of them are Python projects that I'm managing without further problems using PyCharm. I have configured Gerrit plugin and the credentials seem to be OK, because the "Test" button on the settings interface says that everything is OK. When I try to fetch the changes, anything is happening, only an empty list.
What can I do to see what is happening? Any log or somewhere to look at?
Best regards
@JoseLSegura Have your tried all of these hints? https://github.com/uwolfer/gerrit-intellij-plugin#list-of-changes-is-empty
Similar for me. I checked all hints points Gerrit plugin and Git setup, and remotes. I can fetch and push my commits to gerrit successfully, But don`t see changes in gerrit window. Also when I try to select branch for filtering results I see my project path and branches of my project, so I think that I have right setup. Will be appreciate for help.
I have the same problem. After some experiments I've found that changes are fetched if remote url in git config file is using ssh protocol. However if remote url has https protocol it can't fetch those.
In both cases hostname is the same. But https protocol is defined as https://<fqdn>/a/<project path>, when ssh is ssh://<fqdn>:<port>/<project path>
This is still an issue when cloning projects using https instead of ssh, is this something that you are looking into?
Edit: if someone is coming here for this issue, using https in gerrit changes the base path, as stated by ZsergUA above. The server path used to login is https://<fqdn>, but for cloning it is https://<fqdn>/a. Configuring Clone Base URL to be https://<fqdn>/a solves this issue.
Edit: if someone is coming here for this issue, using https in gerrit changes the base path, as stated by ZsergUA above. The server path used to login is https://
, but for cloning it is https:// /a. Configuring Clone Base URL to be https:// /a solves this issue.
This should be added in the Troubleshoot section of the Readme.
@vyguera Thanks for the suggestion. Would you be willing to come up with a proposal text? Happy to add it then!