I have gitorious setup on Ubuntu 11.10. It's on my LAN. the IP is 10.0.0.144. This is defined as 'fireice' via hosts. Gitorious is getting confused with the paths and I'm not sure what to tell it.
It works if I hack in the remote repository path name.. ie /var/www/gitorious/repositories/dd8/0f8/58e305738f607683bcb638adc20b743039.git in gitorious.yml: gitorious_client_host: localhost # Host name users use to reach Gitorious, e.g. "gitorious.org". gitorious_host: fireice e.g. Works via git: v2k@RADAGAST /d/dev $ git clone git://fireice/test/test01.git Cloning into 'test01'... warning: You appear to have cloned an empty repository. Fails via ssh: v2k@RADAGAST /d/dev/t $ git clone git@fireice:test/test01.git Cloning into 'test01'... fatal: 'test/test01.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly A push test: v2k@RADAGAST /d/dev/test01 (master) $ vim test.txt v2k@RADAGAST /d/dev/test01 (master) $ git add test.txt v2k@RADAGAST /d/dev/test01 (master) $ git commit -a [master (root-commit) 9858582] test 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 test.txt v2k@RADAGAST /d/dev/test01 (master) $ git push fatal: protocol error: expected sha/ref, got '☻ ---------------------------------------------- The git:// url is read-only. Please see https://fireice/test/test01 for the push url, if you're a committer. ----------------------------------------------' v2k@RADAGAST /d/dev/test01 (master) $ git remote set-url --push origin git@fireice:test/test01.git v2k@RADAGAST /d/dev/test01 (master) $ git push origin master fatal: 'test/test01.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly v2k@RADAGAST /d/dev/test01 (master) $ git remote set-url --push origin git@fireice:/var/www/gitorious/repositories/ dd8/0f8/58e305738f607683bcb638adc20b743039.git v2k@RADAGAST /d/dev/test01 (master) $ git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 208 bytes, done. Total 3 (delta 0), reused 0 (delta 0) remote: => Syncing Gitorious... [OK] To git@fireice:/var/www/gitorious/repositories/dd8/0f8/58e305738f607683bcb638adc 20b743039.git * [new branch] master -> master -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
