Re: [gitorious] Can't clone or push with SSH on my local install

2011-10-12 Thread Rodrigo Rosenfeld Rosas
I don't understand this. How can you clone from the read-only URL 
(git://...) if you cannot push to Gitorious?


Em 07-10-2011 16:31, Klaus Silveira escreveu:
I have installed Gitorious on a Debian Squeeze machine using a few 
chef-solo cookbooks 
. Everything is 
working perfectly, except for cloning or pushing repositories. I can't 
get my head around this one, maybe someone can help me.


When trying to clone: git clone git @ 
gitorious.mytest.com:example/example.git


fatal: 'example/example.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly


When i try to clone using GIT: git clone 
git://gitorious.mytest.com/example/example.git


It clones OK, but when pushing:

fatal: protocol error: expected sha/ref, got '
--
The git:// url is read-only. Please see
https://gitorious.mytest.com/example/example for the push url, if
you're a committer.
--'




--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Can't clone or push with SSH on my local install

2011-10-13 Thread Marius MÃ¥rnes Mathiesen
On Fri, Oct 7, 2011 at 9:31 PM, Klaus Silveira wrote:

> I have installed Gitorious on a Debian Squeeze machine using a few chef-solo
> cookbooks . Everything
> is working perfectly, except for cloning or pushing repositories. I can't
> get my head around this one, maybe someone can help me.
>
> When trying to clone: git clone git @ gitorious.mytest.com:
> example/example.git
>
> fatal: 'example/example.git' does not appear to be a git repository
> fatal: The remote end hung up unexpectedly
>
>
Looks like the entry for your public key in ~git/.ssh/authorized_keys does
not include the gitorious command, did you add your key directly?

>
> When i try to clone using GIT: git clone git://
> gitorious.mytest.com/example/example.git
>
> It clones OK, but when pushing:
>
> fatal: protocol error: expected sha/ref, got '
> --
> The git:// url is read-only. Please see
> https://gitorious.mytest.com/example/example for the push url, if you're a
> committer.
> --'
>
>  Well, the git:// protocol is read-only, which means you can't push to it.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com