I'm with Florian I think your repo URL needs to look like https://gerrit.wikimedia.org/r/mediawiki/extensions/DynamicPageList or ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DynamicPageList.git. You can just edit your DynamicPageList/.git/config origin
On Tue, Jan 3, 2017 at 11:38 AM, Florian Schmidt < florian.schmidt.welzow@t-online.de> wrote:
Could you please clone the repo using ssh:// instead of https://? If you clone via https:// you need to provide the http password, which you can obtain from your gerrit settings (however, I would prefer working with ssh :P).
Best, Florian
-----Ursprüngliche Nachricht----- Von: Wikitech-l [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Daniel Barrett Gesendet: Dienstag, 3. Januar 2017 19:36 An: Wikimedia developers wikitech-l@lists.wikimedia.org Betreff: [Wikitech-l] Gerrit authentication denied - help
I am using Gerrit for the first time and am getting an authentication failure when I run "git review -R". Any help appreciated.
I've successfully created a developer account, installed my SSH public key, and run "ssh -p 29418 dbarrett@gerrit.wikimedia.org" to confirm that it works.
I successfully cloned a repository (git clone https://dbarrett@gerrit. wikimedia.org/r/mediawiki/extensions/DynamicPageList), created a branch, made a change, and committed it to the branch with a standard commit message, all following the directions at https://www.mediawiki.org/ wiki/Gerrit/Tutorial. But when I try to push, I get:
$ git review -R Password for 'https://dbarrett@gerrit.wikimedia.org': <enter password for developer account> remote: Unauthorized fatal: Authentication failed for 'https://dbarrett@gerrit. wikimedia.org/r/mediawiki/extensions/DynamicPageList/'
(Frankly, I'm surprised to see password authentication at all, given the SSH key is installed, and the private key is added to my ssh-agent.)
What should I try next? Thank you very much.
DanB
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l