<?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: Apache SVN: Auto-Update Server Copy on Commit</title>
	<atom:link href="http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 20:08:00 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jon</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-173575</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Mon, 16 Mar 2009 20:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-173575</guid>
		<description>Thanks! It worked great and exactly what I was struggling with appreciate it!</description>
		<content:encoded><![CDATA[<p>Thanks! It worked great and exactly what I was struggling with appreciate it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sihan</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-147703</link>
		<dc:creator>sihan</dc:creator>
		<pubDate>Thu, 20 Nov 2008 05:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-147703</guid>
		<description>hi
How to do auto updates in SVN in windows platform.

sihan</description>
		<content:encoded><![CDATA[<p>hi<br />
How to do auto updates in SVN in windows platform.</p>
<p>sihan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-61720</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 14 Feb 2008 08:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-61720</guid>
		<description>Config without using your password in your post commit.

In your httpd.conf/apache.conf or virtual host config file where you created the svn web dav config.

Simply insert something like this  


            DAV svn
            SVNParentPath &quot;/location/of/svn/repos&quot;
            Order deny,allow
            Deny from all
            # only allow reading orders
            
              Allow from YOUR_IPADDRESS
            
          

Inside the  block if applicable.

then instead of checking out this:

/usr/bin/svn update  --username xxxxxx --password xxxxxx

USE:

/usr/bin/svn update http://your-svn.url.com/private/reponame

That way no passwords are used and adds a small layer of security of your system gets compramised.</description>
		<content:encoded><![CDATA[<p>Config without using your password in your post commit.</p>
<p>In your httpd.conf/apache.conf or virtual host config file where you created the svn web dav config.</p>
<p>Simply insert something like this  </p>
<p>            DAV svn<br />
            SVNParentPath &#8220;/location/of/svn/repos&#8221;<br />
            Order deny,allow<br />
            Deny from all<br />
            # only allow reading orders</p>
<p>              Allow from YOUR_IPADDRESS</p>
<p>Inside the  block if applicable.</p>
<p>then instead of checking out this:</p>
<p>/usr/bin/svn update  &#8211;username xxxxxx &#8211;password xxxxxx</p>
<p>USE:</p>
<p>/usr/bin/svn update <a href="http://your-svn.url.com/private/reponame" rel="nofollow">http://your-svn.url.com/private/reponame</a></p>
<p>That way no passwords are used and adds a small layer of security of your system gets compramised.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George A. Papayiannis</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-33940</link>
		<dc:creator>George A. Papayiannis</dc:creator>
		<pubDate>Thu, 04 Oct 2007 16:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-33940</guid>
		<description>Hey Ben,

No problem, yeah I had that problem too.  SVN removes all references to environment variables when those scripts are called.

All the best,
George</description>
		<content:encoded><![CDATA[<p>Hey Ben,</p>
<p>No problem, yeah I had that problem too.  SVN removes all references to environment variables when those scripts are called.</p>
<p>All the best,<br />
George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Davies</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-33935</link>
		<dc:creator>Ben Davies</dc:creator>
		<pubDate>Thu, 04 Oct 2007 15:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-33935</guid>
		<description>Hi George, 

Sorry, I&#039;m a dumbass. I needed to specify the full path as part of the svn update command. Doh!

Thanks for your help though!

Ben</description>
		<content:encoded><![CDATA[<p>Hi George, </p>
<p>Sorry, I&#8217;m a dumbass. I needed to specify the full path as part of the svn update command. Doh!</p>
<p>Thanks for your help though!</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Davies</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-33934</link>
		<dc:creator>Ben Davies</dc:creator>
		<pubDate>Thu, 04 Oct 2007 15:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-33934</guid>
		<description>Thats what I thought, though I&#039;m having trouble with SVN UPDATE. I have a post-commit.bat file setup which calls my own php script (which will be used by all the virtual hosts, as the repository name and revision number are passed to the batch file, and passed on to the php script). This all works great (it currently emails me on each commit with the details).

However, I wanted to add a simple call to SVN UPDATE to update the document root of the specified virtual host. When I enter SVN UPDATE in the cmd prompt, I get &quot;Skipped &#039;.&#039;&quot;. Should I be:
- calling the SVN UPDATE from outside the working dir? (all my virtual hosts document roots are in a folder called &#039;server&#039; like so: c:/server/intranet.bob.local, so I would need to call &#039;svn update c:/server&#039;)?

Cheers!

Ben</description>
		<content:encoded><![CDATA[<p>Thats what I thought, though I&#8217;m having trouble with SVN UPDATE. I have a post-commit.bat file setup which calls my own php script (which will be used by all the virtual hosts, as the repository name and revision number are passed to the batch file, and passed on to the php script). This all works great (it currently emails me on each commit with the details).</p>
<p>However, I wanted to add a simple call to SVN UPDATE to update the document root of the specified virtual host. When I enter SVN UPDATE in the cmd prompt, I get &#8220;Skipped &#8216;.&#8217;&#8221;. Should I be:<br />
- calling the SVN UPDATE from outside the working dir? (all my virtual hosts document roots are in a folder called &#8217;server&#8217; like so: c:/server/intranet.bob.local, so I would need to call &#8217;svn update c:/server&#8217;)?</p>
<p>Cheers!</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George A. Papayiannis</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-33925</link>
		<dc:creator>George A. Papayiannis</dc:creator>
		<pubDate>Thu, 04 Oct 2007 13:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-33925</guid>
		<description>Hey Ben,

Yeah that&#039;s correct, either that or check them out to some working folder and make a link (ln) to it from your virtual host directory.  Each of your repositories would have their own hooks directory, so you&#039;d have to setup individual hooks for each repo.  Be sure that the initial checkouts on the server have the right permissions (www-data for me), so that Apache/SVN can run the hook correctly.

Good luck,
George</description>
		<content:encoded><![CDATA[<p>Hey Ben,</p>
<p>Yeah that&#8217;s correct, either that or check them out to some working folder and make a link (ln) to it from your virtual host directory.  Each of your repositories would have their own hooks directory, so you&#8217;d have to setup individual hooks for each repo.  Be sure that the initial checkouts on the server have the right permissions (www-data for me), so that Apache/SVN can run the hook correctly.</p>
<p>Good luck,<br />
George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Davies</title>
		<link>http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/comment-page-1/#comment-33900</link>
		<dc:creator>Ben Davies</dc:creator>
		<pubDate>Thu, 04 Oct 2007 11:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sematopia.com/?p=218#comment-33900</guid>
		<description>Wow, coincidence, I was trying to solve this exact problem today, and you have posted exactly what I was looking for. However, I have a couple of problems!

I&#039;m running several sites using virtual hosts on our server, with a repository for each. It&#039;s my understanding that the server needs to initially checkout each repository into the root of each virtual host, is this correct?

Is it possible for the server to have several working copies open at once?

Cheers!

Ben</description>
		<content:encoded><![CDATA[<p>Wow, coincidence, I was trying to solve this exact problem today, and you have posted exactly what I was looking for. However, I have a couple of problems!</p>
<p>I&#8217;m running several sites using virtual hosts on our server, with a repository for each. It&#8217;s my understanding that the server needs to initially checkout each repository into the root of each virtual host, is this correct?</p>
<p>Is it possible for the server to have several working copies open at once?</p>
<p>Cheers!</p>
<p>Ben</p>
]]></content:encoded>
	</item>
</channel>
</rss>
