[openstack-dev] when I run "git review -s", it occur a error

yige2008123 yige2008123 at 126.com
Thu Jul 2 01:56:07 UTC 2015


thank you ZZelle replay, I slove it by  second option, but my hava 
another problem

➜  # git review
fatal: remote error:
ICLA contributor agreement requires current contact information.

Please review your contact information:

   https://review.openstack.org/#/settings/contact


this my gerrit setting below:




It is my openstak info about email:





pleas tell me how to fix it, thank you



On 2015年07月01日 21:08, ZZelle wrote:
> Hi,
>
> Git review tries to download gerrit hook used to add automatically a 
> Change-Id when missing.
>
> Old versions of git-review (<1.24 iirc) badly supports http(s) 
> protocols and use scp to download the hook.
>
>
> You have 2 options:
> * upgrade your git-review
> * or download manually the hook:
>   mkdir .git/hooks
>   wget https://review.openstack.org/tools/hooks/commit-msg -qO 
> .git/hooks/commit-msg
>   chmod +x .git/hooks/commit-msg
>
>
> Cédric
>
>
>
>
>
>
>
> On Wed, Jul 1, 2015 at 1:38 PM, 胡西宁 <xining at unitedstack.com 
> <mailto:xining at unitedstack.com>> wrote:
>
>
>     hi everyone, when I run "git review -s",  it occur a error below,
>     who can help me slove it, thanks
>
>     # LANG=C LANGUAGE=C git review -v
>
>     2015-07-01 19:33:24.301828 Running: git log --color=never
>     --oneline HEAD^1..HEAD
>     2015-07-01 19:33:24.306742 Running: git remote
>     2015-07-01 19:33:24.310573 Running: git branch -a --color=never
>     2015-07-01 19:33:24.315126 Running: git rev-parse --show-toplevel
>     --git-dir
>     2015-07-01 19:33:24.318862 Running: git remote show -n gerrit
>     Found origin Push URL:
>     https://review.openstack.org/stackforge/python-tackerclient.git
>     Fetching commit hook from: scp://review.openstack.org:None
>     2015-07-01 19:33:24.323647 Running: scp
>     review.openstack.org:hooks/commit-msg .git/hooks/commit-msg
>     Problems encountered installing commit-msg hook
>     The following command failed with exit code 1
>         "scp  review.openstack.org:hooks/commit-msg .git/hooks/commit-msg"
>     -----------------------
>     .git/hooks/commit-msg: No such file or directory
>
>
>     this my remote repo:
>     #git remote -v
>     gerrit
>     https://review.openstack.org/stackforge/python-tackerclient.git
>     (fetch)
>     gerrit
>     https://review.openstack.org/stackforge/python-tackerclient.git (push)
>     origin https://github.com/stackforge/python-tackerclient.git (fetch)
>     origin https://github.com/stackforge/python-tackerclient.git (push)
>
>     thanks
>     cinghu
>
>
>
>     __________________________________________________________________________
>     OpenStack Development Mailing List (not for usage questions)
>     Unsubscribe:
>     OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>     <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150702/a7597fda/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gidebecg.png
Type: image/png
Size: 58968 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150702/a7597fda/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcejgbia.png
Type: image/png
Size: 50233 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150702/a7597fda/attachment-0003.png>


More information about the OpenStack-dev mailing list