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

2015-07-01 Thread ZZelle
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, 胡西宁 xin...@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)
 originhttps://github.com/stackforge/python-tackerclient.git (fetch)
 originhttps://github.com/stackforge/python-tackerclient.git (push)

 thanks
 cinghu



 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-07-01 Thread 胡西宁


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)

originhttps://github.com/stackforge/python-tackerclient.git (fetch)
originhttps://github.com/stackforge/python-tackerclient.git (push)

thanks
cinghu



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-07-01 Thread Jeremy Stanley
On 2015-07-02 09:56:07 +0800 (+0800), yige2008123 wrote:
 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.
[...]

If you already followed the instructions at
http://docs.openstack.org/infra/manual/developers.html#account-setup
and still get that, see https://ask.openstack.org/question/56720 for
additional troubleshooting tips.
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev