Re: Configuration with gitweb

2013-05-27 Thread Peter Snelling
I've figured out this errror. I'd missed the ssh configuration screen on in 
the admin interface. I generated a key there, and put that on the git 
server's .ssh/authorized_keys, and it works. I'll ask a few users to try it 
out now...
 
- Peter
 

On Monday, May 27, 2013 11:37:49 AM UTC-4, Peter Snelling wrote:

> I'm still having some trouble with this. I enabled logs on the server, and 
> when I try to enable path="snelling@172.16.27.63:/
> localdisk/git/repositories/TCD.git" and raw file url = "
> http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h=",
>  
> it get the following log.
>  
> But I'm wondering if this is the right thing to do. If I can get this 
> working, I should have dozens of users. They'll each run git on their own 
> workstation, and push their updates to the repository at 172.16.27.63:/
> localdisk/git/repositories/TCD.git, with their own userid. Do I really 
> have to enable a repository in reviewboard for each one?
>  
> Here are the logs (when I try to use snelling and my password):
>  
> 15:15:28 DEBUG 
>
>  - GitTool: Attempting ssh connection with host: 172.16.27.63, username: 
> snelling
>
>  15:15:28 DEBUG 
>
>  - starting thread (client mode): 0x1be15fd0L
>
>  15:15:28 INFO 
>
>  - Connected (version 2.0, client OpenSSH_5.3)
>
>  15:15:28 DEBUG 
>
>  - kex algos:['diffie-hellman-group-exchange-sha256', 
> 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
> 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client 
> encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
> 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
> 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] server 
> encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
> 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
> 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] client 
> mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 
> 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server 
> mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 
> 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client 
> compress:['none', 'z...@openssh.com'] server compress:['none', 
> 'z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False
>
>  15:15:28 DEBUG 
>
>  - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
>
>  15:15:28 DEBUG 
>
>  - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: 
> local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; 
> compression: local none, remote none
>
>  15:15:28 DEBUG 
>
>  - Switch to new keys ...
>
>  15:15:29 DEBUG 
>
>  - userauth is OK
>
>  15:15:29 INFO 
>
>  - Authentication (password) successful!
>
>  15:15:29 DEBUG 
>
>  - EOF in transport thread
>
>  15:15:29 ERROR 
>
>  - Git: Failed to find valid repository 
> ssh://snelling@172.16.27.63/localdisk/git/repositories/TCD.git: Error 
> connecting to server: No authentication methods available
> fatal: The remote end hung up unexpectedly
>
>
>
>  
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Configuration with gitweb

2013-05-27 Thread Peter Snelling
I'm still having some trouble with this. I enabled logs on the server, and 
when I try to enable path="snelling@172.16.27.63:/
localdisk/git/repositories/TCD.git" and raw file url = 
"http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h=",
 
it get the following log.
 
But I'm wondering if this is the right thing to do. If I can get this 
working, I should have dozens of users. They'll each run git on their own 
workstation, and push their updates to the repository at 172.16.27.63:/
localdisk/git/repositories/TCD.git, with their own userid. Do I really have 
to enable a repository in reviewboard for each one?
 
Here are the logs (when I try to use snelling and my password):
 
15:15:28 DEBUG 

 - GitTool: Attempting ssh connection with host: 172.16.27.63, username: 
snelling

 15:15:28 DEBUG 

 - starting thread (client mode): 0x1be15fd0L

 15:15:28 INFO 

 - Connected (version 2.0, client OpenSSH_5.3)

 15:15:28 DEBUG 

 - kex algos:['diffie-hellman-group-exchange-sha256', 
'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client 
encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 
'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 
'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] server 
encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 
'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'aes192-cbc', 
'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] client mac:['hmac-md5', 
'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 
'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server 
mac:['hmac-md5', 'hmac-sha1', 'umac...@openssh.com', 'hmac-ripemd160', 
'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client 
compress:['none', 'z...@openssh.com'] server compress:['none', 
'z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False

 15:15:28 DEBUG 

 - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr

 15:15:28 DEBUG 

 - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local 
aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; 
compression: local none, remote none

 15:15:28 DEBUG 

 - Switch to new keys ...

 15:15:29 DEBUG 

 - userauth is OK

 15:15:29 INFO 

 - Authentication (password) successful!

 15:15:29 DEBUG 

 - EOF in transport thread

 15:15:29 ERROR 

 - Git: Failed to find valid repository 
ssh://snelling@172.16.27.63/localdisk/git/repositories/TCD.git: Error 
connecting to server: No authentication methods available
fatal: The remote end hung up unexpectedly


On Friday, May 24, 2013 5:24:41 PM UTC-4, Peter Snelling wrote:

> When I try that, the admin web interface says:
>  
> "Unable to authenticate against this repository using one of the supported 
> authentication types."
>  
> - Peter
>
> On Friday, May 24, 2013 5:08:45 PM UTC-4, David Trowbridge wrote:
>
>> In the repository configuration, you'll want to set your path to 
>> snelling@172.16.27.63:/localdisk/git/repositories/TCD.git and the raw 
>> file url to the gitweb url that you currently have as the path.
>>
>> -David
>>
>>
>> On Fri, May 24, 2013 at 1:53 PM, Peter Snelling wrote:
>>
>>> I've just installed ReviewBoard 1.7.7.1 on a Suse linux server (with 
>>> git, apache, postgresql, modswgi, memcached, ...). 
>>> I had some trouble adding our central git repository using the admin web 
>>> interface. What finally seemed to work was using a gitweb interface to our 
>>> repository. I set the Path to:
>>>
>>>
>>> http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h=>> >
>>>
>>> and nothing else (no mirror path, raw file url mask, etc.). 
>>>  
>>> But now I'm having trouble doing "post-review" from my linux desktop. My 
>>> local git is cloned from that repository: 
>>>
>>> snelling@172.16.27.63:/localdisk/git/repositories/TCD.git
>>>
>>>  
>>> When I try to post a review from my desktop, I get:
>>>
>>> There was an error creating this review request.
>>> The repository path 
>>> "snelling@172.16.27.63:/localdisk/git/repositories/TCD.git" is not in the
>>>  list of known repositories on the server.
>>>
>>> Any idea what I'm doing wrong? Is the userid or absolute path /localdisk 
>>> causing a problem?
>>>  
>>>
>>> -- 
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~--~~~~--~~--~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to reviewboar

Re: Configuration with gitweb

2013-05-24 Thread Peter Snelling
When I try that, the admin web interface says:
 
"Unable to authenticate against this repository using one of the supported 
authentication types."
 
- Peter

On Friday, May 24, 2013 5:08:45 PM UTC-4, David Trowbridge wrote:

> In the repository configuration, you'll want to set your path to 
> snelling@172.16.27.63:/localdisk/git/repositories/TCD.git and the raw 
> file url to the gitweb url that you currently have as the path.
>
> -David
>
>
> On Fri, May 24, 2013 at 1:53 PM, Peter Snelling 
> 
> > wrote:
>
>> I've just installed ReviewBoard 1.7.7.1 on a Suse linux server (with git, 
>> apache, postgresql, modswgi, memcached, ...). 
>> I had some trouble adding our central git repository using the admin web 
>> interface. What finally seemed to work was using a gitweb interface to our 
>> repository. I set the Path to:
>>
>>
>> http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h=> >
>>
>> and nothing else (no mirror path, raw file url mask, etc.). 
>>  
>> But now I'm having trouble doing "post-review" from my linux desktop. My 
>> local git is cloned from that repository: 
>>
>> snelling@172.16.27.63:/localdisk/git/repositories/TCD.git
>>
>>  
>> When I try to post a review from my desktop, I get:
>>
>> There was an error creating this review request.
>> The repository path 
>> "snelling@172.16.27.63:/localdisk/git/repositories/TCD.git" is not in the
>>  list of known repositories on the server.
>>
>> Any idea what I'm doing wrong? Is the userid or absolute path /localdisk 
>> causing a problem?
>>  
>>
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com 
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Configuration with gitweb

2013-05-24 Thread David Trowbridge
In the repository configuration, you'll want to set your path to
snelling@172.16.27.63:/localdisk/git/repositories/TCD.git and the raw file
url to the gitweb url that you currently have as the path.

-David


On Fri, May 24, 2013 at 1:53 PM, Peter Snelling
wrote:

> I've just installed ReviewBoard 1.7.7.1 on a Suse linux server (with git,
> apache, postgresql, modswgi, memcached, ...).
> I had some trouble adding our central git repository using the admin web
> interface. What finally seemed to work was using a gitweb interface to our
> repository. I set the Path to:
>
>
> http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h= >
>
> and nothing else (no mirror path, raw file url mask, etc.).
>
> But now I'm having trouble doing "post-review" from my linux desktop. My
> local git is cloned from that repository:
>
> snelling@172.16.27.63:/localdisk/git/repositories/TCD.git
>
>
> When I try to post a review from my desktop, I get:
>
> There was an error creating this review request.
> The repository path 
> "snelling@172.16.27.63:/localdisk/git/repositories/TCD.git"
> is not in the
> list of known repositories on the server.
>
> Any idea what I'm doing wrong? Is the userid or absolute path /localdisk
> causing a problem?
>
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Configuration with gitweb

2013-05-24 Thread Peter Snelling
I've just installed ReviewBoard 1.7.7.1 on a Suse linux server (with git, 
apache, postgresql, modswgi, memcached, ...). 
I had some trouble adding our central git repository using the admin web 
interface. What finally seemed to work was using a gitweb interface to our 
repository. I set the Path to:

http://172.16.27.63/cgi-bin/gitweb/gitweb.cgi?p=TCD.git;a=blob_plain;f=;h=

and nothing else (no mirror path, raw file url mask, etc.). 
 
But now I'm having trouble doing "post-review" from my linux desktop. My 
local git is cloned from that repository: 

snelling@172.16.27.63:/localdisk/git/repositories/TCD.git

 
When I try to post a review from my desktop, I get:

There was an error creating this review request.
The repository path 
"snelling@172.16.27.63:/localdisk/git/repositories/TCD.git" is not in the
list of known repositories on the server.

Any idea what I'm doing wrong? Is the userid or absolute path /localdisk 
causing a problem?
 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.