Steps to replicate the issue (include links if applicable):
- Delete your git directory created by mwcli
- Run mw docker mediawiki get-code
- use http or ssh option
What happens?:
lectrician1@SethLaptop:~$ mw docker mediawiki get-code ? MediaWiki code not detected in /home/lectrician1/git/gerrit/mediawiki/core. Do you want to clone it now? (Negative answers will abort this command) Yes ? Vector skin is not detected in /home/lectrician1/git/gerrit/mediawiki/core. Do you want to clone it now? Yes If you want to clone more skins and extensions please use the --skin and --extension options... ? How do you want to interact with Gerrit for the cloned repositores? ssh ? What is your Gerrit username? lectrician1 Cloning repositories... Cloning into '/home/lectrician1/git/gerrit/mediawiki/core'... <username>@gerrit.wikimedia.org: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. FATAL exit status 128
And this happens even when I'm logged-in with SSH:
lectrician1@SethLaptop:~$ ssh -p 29418 lectrician1@gerrit.wikimedia.org **** Welcome to Gerrit Code Review **** Hi Lectrician1, you have successfully connected over SSH. Unfortunately, interactive shells are disabled. To clone a hosted Git repository, use: git clone ssh://lectrician1@gerrit.wikimedia.org:29418/REPOSITORY_NAME.git Connection to gerrit.wikimedia.org closed.
What should have happened instead?:
The code should have been retrieved.
Software version (skip for WMF-hosted wikis like Wikipedia):
WSL
Other information (browser name/version, screenshots, etc.):