Hi,
I worked really lot to be able to commit, but nothing helps. I have Windows. My gerrit user is binbot, the SSH key is set. git config --global gitreview.remote origin git config --global gitreview.username binbot Pageant is running, and the key is loaded. I never used it with git, it worked previously with SVN. I installed the latest git. I committed my change to local repository.
I followed all the steps on https://www.mediawiki.org/wiki/Gerrit/Tutorial including " #If_git_review_-R_fail"section. It says to set URL that begins with ssh like this: git remote set-url origin ssh:// binbot@gerrit.wikimedia.org:29418/pywikibot/core.git Is that correct?
c:\Pywikibot-dev\core>git status On branch stable Your branch is ahead of 'origin/stable' by 1 commit. (use "git push" to publish your local commits)
nothing to commit, working tree clean
Now I get two error messages, sometimes the first and sometimes the second:
c:\Pywikibot-dev\core>git review -R warning: auto-detection of host provider took too long (>2000ms) warning: see https://aka.ms/gcm/autodetect for more information. fatal: Egy feladat végrehajtása megszakadt. (This means one task broke.) bash: line 1: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://gerrit.wikimedia.org': No such file or directory
c:\Pywikibot-dev\core>git review -R warning: failed to probe 'https://gerrit.wikimedia.org/' to detect provider warning: An error occurred while sending the request. warning: see https://aka.ms/gcm/autodetect for more information. fatal: An error occurred while sending the request. fatal: A kĂ©relmet megszakĂtották: Nem sikerĂĽlt lĂ©trehozni az SSL/TLS biztonságos csatornát. (This means the request was broken, a safe SSH/TLS channel could not be established.) bash: line 1: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://gerrit.wikimedia.org': No such file or directory
I also read https://aka.ms/gcm/autodetectbut did not help what to do.
Can someone help me understand this mess?