login community faq

I am trying to setup a VCS on my account. Went with Subversion first, which I was familiar with, but our mission is a little idiosyncratic and it became evident SVN would not cut it. So I looked for alternatives, and Git looks promising. So have setup the Git webapp (knowing nada about Git before waking up this morning) am setting up a client as we speak...

But one thing that struck me, is there does not appear to be a builtin http filetree browser at the same domain the way there is with Subversion. My efforts are targeting a non tech savvy audience, and I would feel a lot better if there was at minimum a 1:1 relationship there domain wise.

I see there are a number of alternatives for providing a web browser interface. I have no problem setting up one of those. However the website -> webapp setup looks like it might get in the way here. Because the git app would be parked at the same place as the web app. I just have a feeling that won't fly with the console as is. So I'm looking for a little direction.

Possibly prematurely as is my usual habit. Thanks :)

Addendum: Is Git super secure btw? Eg. if I make add a user to .htpasswd, can they do more via SSH than just access the repos? And can the .htaccess file be used to limit user access to specific repos? I don't want to give all username/password pairs access to the same repos. That would kinda defeat the purpose of having more than one.

Also the guide says comment out the .htaccess lines for anonymous read. But what does that leave for write? It seems like the authentication is being disabled altogether.

asked Feb 15 '11 at 10:39

Mick's gravatar image

Mick
116

edited Feb 15 '11 at 12:00


Ah never mind. There is a web interface there now. Just took a while to kick in I suppose. Good thing the client I'd setup kicked me to it. Still could use some general help in the Git dept. nonetheless.

answered Feb 15 '11 at 12:04

Mick's gravatar image

Mick
116

Our official docs are here,

1
http://docs.webfaction.com/software/git.html

SSH and .htaccess are different protocols. Defining .htaccess rules does not open access for SSH, only HTTP.

answered Feb 15 '11 at 12:08

johns's gravatar image

johns ♦♦
340427

I see, I think I've followed everything to the letter. But still can't manage to push over http. The initial clone and local changes went fine. There is a web interface at http://vcs.domain.net/.

git.exe push --progress "origin" master:master

error: Cannot access URL http://vcs.domain.net/repos/proj.git/, return code 22 fatal: git-http-push failed

(Feb 15 '11 at 13:33) Mick Mick's gravatar image

Btw, I think when I cloned things, I had commented out the suggested lines in the .htaccess file. I later put them back to try to push things. That added a username/password prompt on push, but I'm not sure if it helped much else.

I added a user to .htpasswd and added the credentials to the repo config file via "git config". Also followed the "git config http.receivepack true" direction. Which I admit, I missed at first.

(Feb 15 '11 at 13:36) Mick Mick's gravatar image

You may submit a support ticket so we can look at the account directly.

(Feb 15 '11 at 15:15) johns ♦♦ johns's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×80
×1
×1

Asked: Feb 15 '11 at 10:39

Seen: 1,216 times

Last updated: Feb 15 '11 at 15:15

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited