On 01/28/2010 04:03 PM, Benjamin Podszun wrote:
             In gitorious.yml, I've set repository_base_path:
"/var/git/repositories". So this means all the repositories should be
created in /var/git/repositories/ in the filesystem.
Right, and they are. You can check that for yourself. Note though that
these are using a kind of nested structure of hashed directories, not
the project name.

When I browse the repository, it displays the push url as
"[email protected]:mumbo-jumbo/mainline.git". I assume this is the one (SSH
based push url) that you're talking of. This path scheme (to me) means that
there is a directory called mumbo-jumbo in the home directory of the user
git, which further contains a subdirectory called mainline.git. As you can
clearly see that I've tried to push using this push url, it fails telling
that the repo i'm trying to push to is not a valid repository at all. Also
that
You are wrong regarding your expectation. What you're missing is that
your key is prefixed in the authorized_keys file with (sample from my
installation)

command="gitorious
bpodszun",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty

which means that the command "gitorious" is run everytime you connect.
That is responsible for the path translation (and for checking the
access rights etc). Forget about the repository location for now.

git clone [email protected]:mumbo-jumbo/mainline.git
Can you post the complete error you get here? This should work,
assuming that the project exists. Can you try to change the path to

[email protected]/mumbo-jumbo/mainline.git

(exchanging the colon for a slash)?

fails with the same error. I'm unable to debug of what can be the error.
Thanks for your help.
Please give a whole transcript and append the production.log and
gitorious_auth.log from your server.

Dear All,
I've not been able to make any progresses till now. I tried to set gitorious up again on a fresh machine, and now I'm getting

*unable to chdir or not a git archive

*error. Any idea of what could have gone wrong?


Thank You.

--
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to