Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I use satis to generate my private list of packages for composer. Unfortunately, satis refuses to accept ssh://user@myserv.com:port/MyRepoName.git syntax. The only syntax it accepts is ssh://user@myserv.com:port/home/git/repositories/MyRepoName.git (so, adding the full path to the repo).

With such syntax satis generates packages.json with such URLs: ssh://user@myserv.com:port/home/git/repositories/MyRepoName.git

But when I try (from my client machine) to clone it - it does not work (Repository not found).

I can only clone useing the short (ssh://user@myserv.com:port/MyRepoName.git) syntax.

So my question is: is there any configuration I can change either on server (ubuntu 12.04 with gitolite) or client (Windows7 + composer) to make cloneing of ssh://user@myserv.com:port/home/git/repositories/MyRepoName.git possible?

I've created an issue in satis project, but before they fix that it might take a while. I need to make full path syntax URL working as a temporary solution.

Any help greatly appreciated, thanks.

share|improve this question
add comment

1 Answer

It seems you give wrong path for it, actually.

Try using ssh://user@myserv.com:port//home/git/repositories/MyRepoName.git, may be.

Also, I don't think you have to specify port at all, it's kinda redundant unless you have ssh listening somewhere else.

UPD.: In case everything is really so bad with the soft you use, you can create symlink to rootfs in user's directory, say ln -s / rootfs, then git clone ssh://user@myserv.com:port/rootfs/home/…bla…bla…

share|improve this answer
    
unfortunately I have to add the port in satis configuration, otherwise it won't build (generate) packages.json; thx for answer ill try your proposition and let you know if it worked! –  loostro Apr 15 '13 at 13:35
    
no, unfortunately it didnt work :( –  loostro Apr 15 '13 at 13:37
    
So, the full path is /home/git/repositories/MyRepoName.git, right? –  poige Apr 15 '13 at 13:44
    
@PiotrGołębiewski, see upd. also. –  poige Apr 15 '13 at 13:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.