gitosis

pip install from a gitosis

你离开我真会死。 提交于 2019-11-30 14:06:33
I have working gitosis repo. If I do git clone git@server:repo.git it clones the repo correctly. However, it does not work if I do: git clone ssh://git@server:repo.git Cloning into repo... ssh: connect to host port 22: Connection refused fatal: The remote end hung up unexpectedly The problem is that when I use pip I I do: pip install git+ssh://git@server:repo.git and of course yields: Cloning into repo... ssh: connect to host port 22: Connection refused fatal: The remote end hung up unexpectedly If I want to do: pip install git+git@server:repo.git I get ValueError: ('Expected version spec in',

Gitosis not updating server configuration after push of configuration changes

孤人 提交于 2019-11-30 10:38:02
I've set up gitosis using the tutorial privided at: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way I found that I was unable to push and create a new repository after adding the appropriate permissions in the gitosis.conf. I would continually get "read access Denied" error. I ended up checking the actual repository on the server which contained my updated gitosis.conf file. However when I checked the '.gitosis.conf' file located in the home folder of the gitosis user, I found that it was not updated. Once I replaced the contents of this file with the one in the

Gitosis alternative?

≡放荡痞女 提交于 2019-11-30 10:23:23
问题 Are there alternatives to gitosis that are easier to use? I currently run gitosis on a Ubuntu server for my lab. We regularly add new users and repos. I find the gitosis.conf syntax non-intuitive, and if I make even a minor mistake the whole gitosis system fails, see for example this question on SO. When gitosis fails it also kills access to the git repository that contains gitosis.conf ... go figure... There must be a better way. I've thought about private GitHub accounts, but is there

password problem with git clone gitosis@host:gitosis-admin.git

落花浮王杯 提交于 2019-11-30 02:54:51
问题 I'm confronted with some problems when trying to configure gitosis on Ubuntu. When i run this command git clone gitosis@host:gitosis-admin.git For my local machine i used git clone git@59.80.70.68:gitosis-admin.git where 59.80.70.68 is the ip of the server. But I get a password problem. I tried entering password of the server machine, but it fails Kindly help me. 回答1: Gitosis never works with passwords. It always uses SSH keys. You need to configure the use of whatever public key goes with

pip install from a gitosis

帅比萌擦擦* 提交于 2019-11-29 20:33:10
问题 I have working gitosis repo. If I do git clone git@server:repo.git it clones the repo correctly. However, it does not work if I do: git clone ssh://git@server:repo.git Cloning into repo... ssh: connect to host port 22: Connection refused fatal: The remote end hung up unexpectedly The problem is that when I use pip I I do: pip install git+ssh://git@server:repo.git and of course yields: Cloning into repo... ssh: connect to host port 22: Connection refused fatal: The remote end hung up

Gitosis not updating server configuration after push of configuration changes

ⅰ亾dé卋堺 提交于 2019-11-29 15:52:52
问题 I've set up gitosis using the tutorial privided at: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way I found that I was unable to push and create a new repository after adding the appropriate permissions in the gitosis.conf. I would continually get "read access Denied" error. I ended up checking the actual repository on the server which contained my updated gitosis.conf file. However when I checked the '.gitosis.conf' file located in the home folder of the

Problem with Hudson + Git + Gitosis on windows

萝らか妹 提交于 2019-11-28 12:38:36
I have git and gitosis running smoothly on windows with msysgit (with OpenSSH), and I would now like Hudson to start using git. So, I have ensured that the hudson windows service is running as the hudson user, and I have added the hudson user through gitosis-admin. I also have unixutils, and they are in the windows path. But, Hudson fails at clone the project. I can clone my project using git bash, when logged in as the hudson user, but not on the windows command line, and I am afraid this is how Hudson git plugin is attempting to do the clone. When I try to clone from the regular command line

Git/gitosis: How to check validity of user name and email?

[亡魂溺海] 提交于 2019-11-27 13:42:50
I have installed git and gitosis and I need to add a check that the user name is valid when something is pushed into the repository. I reckon the pre-receive hook is the correct hook to place this, but I'm unable to find the real user name and email address which gitosis enters into the repository (the ones set by git config user.name and git config user.email) from environment variables. LOGNAME and USER are both 'git'. How does gitosis detect this info and can I find it in the pre-receive hook as well? Hmm, from what I gather from githooks(5) the pre-receive hook gets fed the updated refs on

How to change gitosis default search path?

纵然是瞬间 提交于 2019-11-27 04:48:54
问题 I installed gitosis on my ubuntu desktop. But when I try "git clone git@localhost:gitosis-admin.git", it kept searching /home/git/, not /home/git/repositories. So I have to type "git clone git@localhost:repositories/gitosis-admin.git". I guess there's something wrong with the default search path of gitosis. However, how to change it? UPDATE 1: I searched around and some pages says the reason of cannot clone use the address like "git@localhost:gitosis-admin.git" is because I'm on the git

Git/gitosis: How to check validity of user name and email?

筅森魡賤 提交于 2019-11-26 16:28:34
问题 I have installed git and gitosis and I need to add a check that the user name is valid when something is pushed into the repository. I reckon the pre-receive hook is the correct hook to place this, but I'm unable to find the real user name and email address which gitosis enters into the repository (the ones set by git config user.name and git config user.email) from environment variables. LOGNAME and USER are both 'git'. How does gitosis detect this info and can I find it in the pre-receive