<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting up a git repository that is accessible via HTTP WebDAV</title>
	<atom:link href="http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/</link>
	<description>Computer Science, Mathematics, Games</description>
	<lastBuildDate>Mon, 14 Jun 2010 17:39:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nuno Sucena Almeida</title>
		<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/comment-page-1/#comment-1797</link>
		<dc:creator>Nuno Sucena Almeida</dc:creator>
		<pubDate>Mon, 14 Jun 2010 17:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=28#comment-1797</guid>
		<description>Hi, with respect to the self-signed certificate issues, using a linux machine I managed to solve it by following the steps you can find at (my webpage) http://aeminium.org/slug/software/tips/git-webdav-ssl.html</description>
		<content:encoded><![CDATA[<p>Hi, with respect to the self-signed certificate issues, using a linux machine I managed to solve it by following the steps you can find at (my webpage) <a href="http://aeminium.org/slug/software/tips/git-webdav-ssl.html" rel="nofollow">http://aeminium.org/slug/software/tips/git-webdav-ssl.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/comment-page-1/#comment-1730</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=28#comment-1730</guid>
		<description>Alright, I got a bit further now, maybe it&#039;s all solved.
After looking in /Web/git/Logs/ErrorLog, I found out there&#039;s a permission problem on the lock file.
In my httpd-dav.conf, I have the line...

DavLockDB &quot;/usr/var/DavLock&quot;

I then checked the /usr/ directory, the &#039;var&#039; directory was missing.
$ mkdir var
$ cd var
$ chown www .
$ chgrp www .

And then repeating the process seems that now I can push!! =)

So hereby the answer for those who should come by and have the same problem.</description>
		<content:encoded><![CDATA[<p>Alright, I got a bit further now, maybe it&#8217;s all solved.<br />
After looking in /Web/git/Logs/ErrorLog, I found out there&#8217;s a permission problem on the lock file.<br />
In my httpd-dav.conf, I have the line&#8230;</p>
<p>DavLockDB &#8220;/usr/var/DavLock&#8221;</p>
<p>I then checked the /usr/ directory, the &#8216;var&#8217; directory was missing.<br />
$ mkdir var<br />
$ cd var<br />
$ chown www .<br />
$ chgrp www .</p>
<p>And then repeating the process seems that now I can push!! =)</p>
<p>So hereby the answer for those who should come by and have the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/comment-page-1/#comment-1729</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=28#comment-1729</guid>
		<description>Hi Björn,

I&#039;ve got some trouble trying to set up a git server.
Here&#039;s my goal:

1: read/write server (preferrably using webdav)
2: GitX client (eg. a user-interface client)

I&#039;m used to CVS, and know how to use the terminal app. for basic CVS operations, but I don&#039;t want to do that anymore. As it&#039;s been a while since I used CVS, I don&#039;t have any current installation, but want to have some version control again.
I also got tired of typing. Now I want a button I can click, whenever I want the computer to work for me.

Here&#039;s what I&#039;ve learned / done so far. I&#039;m using Mac OS X Leopard for everything.

install git:
* Download git-1.7.0.tar.gz, depack it, run ./configure &amp;&amp; make &amp;&amp; sudo make install
* Check version by doing $git --version, verified, this works.
* Download and install man pages, verified, this works.
* Customize prompt to use __git_ps1, this works.
* Create a repository at /Web/git/repository.git/, enable WebDAV with BasicAuth, this seems to work, as when I go there, my browser asks me for username/password. I can view the files/folders in the browser after restarting Apache.
* Created a .netrc file in my home directory on my client machine. This seems to work if using curl --netrc.

Now... This is where I&#039;m stuck.
I made a junk-project; eg. a folder with an Xcode project in it, and a few text-files.
I want to add this to the repository on the server.
From what I understood, I have to first create a repository inside the project folder, so I&#039;ve tried...
$ git init
Initialized empty Git repository in /Users/username/MyProject/.git/
(master) $ git add .
(master) $ git config remote.upload.url http://username@domain/repository.git/
(master) $ git commit
[typing &#039;initial commit.&#039; in vi and pressing :wq to write and exit
(master) $ git push upload master
Here I&#039;m asked to type a password.
 If I type my sudo password, I get
fatal: HTTP request failed
 If I type my repository password, I get...
error: cannot lock existing info/refs
fatal: git-http-push failed

-So I guess I am supposed to type my repository password, which makes more sense.

I then tried something different...

$ mkdir test; cd test
$ git clone http://username:password@domain/repository.git/
Initialized empty Git repository in /Users/jens/__test/repository/.git/
warning: You appear to have cloned an empty repository.
$ cd repository/
(master) $ echo &quot;helloiamjmp&quot; &gt;testfile.txt
(master) $ git add testfile.txt
(master) $ git commit
(master) $ git config remote.upload.url http://username@domain/repository.git/
(master) $ git push upload master
Password: (entered repository password)
Password: (entered repository password)
error: cannot lock existing info/refs
fatal: git-http-push failed

Do you have any idea on where I&#039;m going wrong, and perhaps why / how ?</description>
		<content:encoded><![CDATA[<p>Hi Björn,</p>
<p>I&#8217;ve got some trouble trying to set up a git server.<br />
Here&#8217;s my goal:</p>
<p>1: read/write server (preferrably using webdav)<br />
2: GitX client (eg. a user-interface client)</p>
<p>I&#8217;m used to CVS, and know how to use the terminal app. for basic CVS operations, but I don&#8217;t want to do that anymore. As it&#8217;s been a while since I used CVS, I don&#8217;t have any current installation, but want to have some version control again.<br />
I also got tired of typing. Now I want a button I can click, whenever I want the computer to work for me.</p>
<p>Here&#8217;s what I&#8217;ve learned / done so far. I&#8217;m using Mac OS X Leopard for everything.</p>
<p>install git:<br />
* Download git-1.7.0.tar.gz, depack it, run ./configure &amp;&amp; make &amp;&amp; sudo make install<br />
* Check version by doing $git &#8211;version, verified, this works.<br />
* Download and install man pages, verified, this works.<br />
* Customize prompt to use __git_ps1, this works.<br />
* Create a repository at /Web/git/repository.git/, enable WebDAV with BasicAuth, this seems to work, as when I go there, my browser asks me for username/password. I can view the files/folders in the browser after restarting Apache.<br />
* Created a .netrc file in my home directory on my client machine. This seems to work if using curl &#8211;netrc.</p>
<p>Now&#8230; This is where I&#8217;m stuck.<br />
I made a junk-project; eg. a folder with an Xcode project in it, and a few text-files.<br />
I want to add this to the repository on the server.<br />
From what I understood, I have to first create a repository inside the project folder, so I&#8217;ve tried&#8230;<br />
$ git init<br />
Initialized empty Git repository in /Users/username/MyProject/.git/<br />
(master) $ git add .<br />
(master) $ git config remote.upload.url <a href="http://username@domain/repository.git/" rel="nofollow">http://username@domain/repository.git/</a><br />
(master) $ git commit<br />
[typing &#8216;initial commit.&#8217; in vi and pressing :wq to write and exit<br />
(master) $ git push upload master<br />
Here I&#8217;m asked to type a password.<br />
 If I type my sudo password, I get<br />
fatal: HTTP request failed<br />
 If I type my repository password, I get&#8230;<br />
error: cannot lock existing info/refs<br />
fatal: git-http-push failed</p>
<p>-So I guess I am supposed to type my repository password, which makes more sense.</p>
<p>I then tried something different&#8230;</p>
<p>$ mkdir test; cd test<br />
$ git clone <a href="http://username:password@domain/repository.git/" rel="nofollow">http://username:password@domain/repository.git/</a><br />
Initialized empty Git repository in /Users/jens/__test/repository/.git/<br />
warning: You appear to have cloned an empty repository.<br />
$ cd repository/<br />
(master) $ echo &#8220;helloiamjmp&#8221; &gt;testfile.txt<br />
(master) $ git add testfile.txt<br />
(master) $ git commit<br />
(master) $ git config remote.upload.url <a href="http://username@domain/repository.git/" rel="nofollow">http://username@domain/repository.git/</a><br />
(master) $ git push upload master<br />
Password: (entered repository password)<br />
Password: (entered repository password)<br />
error: cannot lock existing info/refs<br />
fatal: git-http-push failed</p>
<p>Do you have any idea on where I&#8217;m going wrong, and perhaps why / how ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
