On 23/09/14 08:25, Gergo Tisza wrote:
For accessing the git server, you should check that
- "git remote show origin" (or "git remote show gerrit" - depends on your
git-review version + config) returns ssh://<gerrit user>@ gerrit.wikimedia.org:29418/<project name> as the push & fetch URL 2) "ssh -p 29418 <gerrit user>@gerrit.wikimedia.org" returns something like "Welcome to Gerrit Code Review"
If the first does not work, there are problems with your git-review config (maybe check the [gitreview] section in your ~/.gitconfig). If the second does not work, ssh authentication is not set up correctly (key forwarding is not enabled or the right key is not available). This could also be the reason for the hook not working as git-review tries to load it via scp.
My git-review config hasn't changed. Nothing has changed, that I know of, except the version of git-review I have installed.
The problems, however, seem to mostly just be with submodules, which is a problem for me because basically everything I do is in submodules. As I understand it, the remotes for the submodules are all set in the parent repository's configuration, and thus will always be the same regardless of how you dowloaded or set up the parent. This is just a guess, mind, but I used ssh to download the extensions repo, the remotes for that are ssh, but the submodule remotes are all https. The weird thing is that apparently git review just used to work with this and automatically translated the submodule remotes depending on what the remotes for the parent were. Now it seems like it's too stupid and I have to manually change all the submodule remotes before I can use them?
git review -s also doesn't seem to do anything, so I also have to run a bash script jeremyb sent me (http://paste.debian.net/plain/122534). For every one.
Does this seem right? Has anyone else running the current version run into problems with this? Is there any less tedious way to fix this?
...is there any way to downgrade git-review?
-I