Re: [Wireshark-dev] error initializing git review

2015-02-06 Thread Alexis La Goutte
Hi Ed,

It is good ?

If no, do you have try to use SSH ?

Regards,

On Thu, Feb 5, 2015 at 7:32 PM, Graham Bloice graham.blo...@trihedral.com
wrote:

 On 5 February 2015 at 18:02, Ed Beroset bero...@mindspring.com wrote:

 Graham Bloice wrote:
 On 5 February 2015 at 17:48, Ed Beroset bero...@mindspring.com wrote:
 

  Problems encountered installing commit-msg hook
  The following command failed with exit code 104
  GET https://bero...@code.wireshark.org/tools/hooks/commit-msg;
  ---
 [...]

 
  I don't really know how to go about troubleshooting this since I
 haven't
  ever used it and don't know what it's supposed to do.  If it's
 relevant,
  I'm behind a corporate firewall that forces me to use https: instead of
  ssh: Any clues?
 
 Is the URL correct?

 I have no idea.


 What do you get with those URL's in a browser, or with wget?



 Shouldn't it be
 https://bero...@code.wireshark.org/wireshark/tools/hooks/commit-msg
 
 What does git remote -v show?

 origin  https://bero...@code.wireshark.org/review/wireshark (fetch)
 origin  https://bero...@code.wireshark.org/review/wireshark (push)

 Ed


 git review as a verbose option, `-v`, you could try that to see if there's
 more info.

 git review isn't compulsory, it just makes life easier.

 --
 Graham Bloice

 ___
 Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
 Archives:http://www.wireshark.org/lists/wireshark-dev
 Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
  mailto:wireshark-dev-requ...@wireshark.org
 ?subject=unsubscribe

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] error initializing git review

2015-02-05 Thread Ed Beroset
Graham Bloice wrote:
On 5 February 2015 at 17:48, Ed Beroset bero...@mindspring.com wrote:


 Problems encountered installing commit-msg hook
 The following command failed with exit code 104
 GET https://bero...@code.wireshark.org/tools/hooks/commit-msg;
 ---
[...]


 I don't really know how to go about troubleshooting this since I haven't
 ever used it and don't know what it's supposed to do.  If it's relevant,
 I'm behind a corporate firewall that forces me to use https: instead of
 ssh: Any clues?

Is the URL correct?  

I have no idea.

Shouldn't it be
https://bero...@code.wireshark.org/wireshark/tools/hooks/commit-msg

What does git remote -v show?

origin  https://bero...@code.wireshark.org/review/wireshark (fetch)
origin  https://bero...@code.wireshark.org/review/wireshark (push)

Ed
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] error initializing git review

2015-02-05 Thread Graham Bloice
On 5 February 2015 at 18:02, Ed Beroset bero...@mindspring.com wrote:

 Graham Bloice wrote:
 On 5 February 2015 at 17:48, Ed Beroset bero...@mindspring.com wrote:
 

  Problems encountered installing commit-msg hook
  The following command failed with exit code 104
  GET https://bero...@code.wireshark.org/tools/hooks/commit-msg;
  ---
 [...]

 
  I don't really know how to go about troubleshooting this since I haven't
  ever used it and don't know what it's supposed to do.  If it's relevant,
  I'm behind a corporate firewall that forces me to use https: instead of
  ssh: Any clues?
 
 Is the URL correct?

 I have no idea.


What do you get with those URL's in a browser, or with wget?



 Shouldn't it be
 https://bero...@code.wireshark.org/wireshark/tools/hooks/commit-msg
 
 What does git remote -v show?

 origin  https://bero...@code.wireshark.org/review/wireshark (fetch)
 origin  https://bero...@code.wireshark.org/review/wireshark (push)

 Ed


git review as a verbose option, `-v`, you could try that to see if there's
more info.

git review isn't compulsory, it just makes life easier.

-- 
Graham Bloice
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] error initializing git review

2015-02-05 Thread Hadriel Kaplan

On Feb 5, 2015, at 1:02 PM, Ed Beroset bero...@mindspring.com wrote:

 Shouldn't it be
 https://bero...@code.wireshark.org/wireshark/tools/hooks/commit-msg
 
 What does git remote -v show?
 
 originhttps://bero...@code.wireshark.org/review/wireshark (fetch)
 originhttps://bero...@code.wireshark.org/review/wireshark (push)

If you followed the instructions to use SSH (i.e., added your SSH keys in 
gerrit and on your local machine), then change the URLs to use SSH:
 git remote set-url origin ssh://bero...@code.wireshark.org:29418/wireshark


___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] error initializing git review

2015-02-05 Thread Graham Bloice
On 5 February 2015 at 17:48, Ed Beroset bero...@mindspring.com wrote:

 I've followed the steps here:
 https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcObtain.html

 And I've successfully gotten to the step where it says to run git review
 -s but then it fails.  The full error dump is:

 Traceback (most recent call last):
   File /usr/bin/git-review, line 10, in module
 sys.exit(main())
   File /usr/lib/python2.7/site-packages/git_review/cmd.py, line 1202, in
 main
 set_hooks_commit_msg(remote, hook_file)
   File /usr/lib/python2.7/site-packages/git_review/cmd.py, line 264, in
 set_hooks_commit_msg
 res = run_http_exc(CannotInstallHook, hook_url, stream=True)
   File /usr/lib/python2.7/site-packages/git_review/cmd.py, line 175, in
 run_http_exc
 raise klazz(255, str(err), ('GET', url), env)
 git_review.cmd.CannotInstallHook: Problems encountered installing
 commit-msg hook
 The following command failed with exit code 255
 GET https://bero...@code.wireshark.org/tools/hooks/commit-msg;
 ---
 Problems encountered installing commit-msg hook
 The following command failed with exit code 104
 GET https://bero...@code.wireshark.org/tools/hooks/commit-msg;
 ---
 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
 htmlhead
 title404 Not Found/title
 /headbody
 h1Not Found/h1
 pThe requested URL /tools/hooks/commit-msg was not found on this
 server./p
 /body/html

 ---
 ---

 I don't really know how to go about troubleshooting this since I haven't
 ever used it and don't know what it's supposed to do.  If it's relevant,
 I'm behind a corporate firewall that forces me to use https: instead of
 ssh: Any clues?

 Ed


Is the URL correct?  Shouldn't it be
https://bero...@code.wireshark.org/wireshark/tools/hooks/commit-msg

What does git remote -v show?


-- 
Graham Bloice
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe