remote 'origin' for project is not reviewable while executing command "git pr"
robertzhangwenjie opened this issue · 4 comments
➜ InterfaceTestingFramework git:(master) git pr
Error: remote 'origin' for project 'InterfaceTestingFramework' is not reviewable
Sorry for the late response, I did not notice this issue during the National Day holiday.
Please report details:
- Versions of git and git-repo.
- What is the URL of remote "origin"? Show it using "git remote get-url origin"
- Turn on verbose output by running "git pr -vv"
I got he following verbose output:
$ git pr -vv
DEBUG: get ssh_info from command: ssh gitlab@gitlab.xxx.com ssh_info
DEBUG: fail to check ssh_info for SSH protocol, will check HTTP instead
DEBUG: get ssh_info from API: https://gitlab.xxx.com/ssh_info
DEBUG: fail to get proxy from git config: http.proxy is not set
DEBUG: get ssh_info from API: http://gitlab.xxx.com/ssh_info
DEBUG: 404: bad ssh_info response of 'http://gitlab.xxx.com/ssh_info'
Error: remote 'origin' for project 'test' is not reviewable
Only a few servers including devops.aliyun.com are supported. The servers must implement :
- a "proc-receive" hook, which was first introduced to git v2.29.0 by us. See: https://github.com/git/git/blob/v2.29.0/Documentation/githooks.txt#L339-L398
- a URL which provide version of the protocol, like: https://codeup.aliyun.com/ssh_info
go-gitea/gitea#27014 and go-gitea/gitea#27021 will formally enable this for Gitea, but it has been supported since 1.13.