<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tim Bowler &#187; svn</title>
	<atom:link href="http://timothybowler.com/category/sys_admin/svn-sys_admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://timothybowler.com</link>
	<description>Certified Scrum Master &#124; Certified Scrum Practitioner &#124; Agile Coach &#124; Agile Practitioner</description>
	<lastBuildDate>Sat, 19 Dec 2009 16:14:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Trac + SVN</title>
		<link>http://timothybowler.com/2008/07/31/trac-svn/</link>
		<comments>http://timothybowler.com/2008/07/31/trac-svn/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 10:02:08 +0000</pubDate>
		<dc:creator>Tim Bowler</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://timothybowler.com/2008/03/15/trac-svn/</guid>
		<description><![CDATA[After googling the internet for hours I managed to get the perfect trac + svn setup. Because we use contractors at work, I needed a setup where the security is global but at the same time based on project by project basis. Therefore trac uses a global .htaccess and svn uses the authz file for [...]]]></description>
			<content:encoded><![CDATA[<p>After googling the internet for hours I managed to get the perfect trac + svn setup. Because we use contractors at work, I needed a setup where the security is global but at the same time based on project by project basis. Therefore trac uses a global .htaccess and svn uses the authz file for authentication. At the moment this is working greate. To set up a new trac project is simply a case of creating the project, copying a base projects database and config file and then editing the new project&#8217;s config file.</p>
<p>We use a base project that is configured for all our core developers, which means im not adding the same permissions and groups all the time.</p>
<p><span id="more-25"></span></p>
<p><strong> How I configured it:</strong></p>
<p><strong>apache svn config:</strong></p>
<pre class="brush: bash; toolbar: true;">&lt;Location /projects/test2&gt;
 DAV svn
 # Set this to the path to your repository
 SVNPath /var/svn/test2
 AuthType Basic
 AuthName &quot;Test2 Project&quot;
 AuthUserFile /var/trac/.htpasswd
 AuthzSVNAccessFile /var/svn/authz
 Require valid-user
&lt;/Location&gt;&lt;/pre&gt;
&lt;strong&gt;apache trac config:&lt;/strong&gt;
&lt;pre&gt;&lt;VirtualHost *:80&gt;
RewriteEngine on
RewriteCond /var/trac/$1 -d
RewriteRule ^/([^/.]+)(/?.*) /trac.cgi$2 [S=1,E=TRAC_ENV:/var/trac/$1]

ServerAdmin tim@domain.com
ServerName trac.domain.com

DocumentRoot /usr/share/trac/cgi-bin/
AddHandler cgi-script .cgi

&lt;Directory /usr/share/trac/cgi-bin/&gt;
  Options Indexes FollowSymLinks MultiViews ExecCGI
  AllowOverride All
  Order allow,deny
  allow from all
&lt;/Directory&gt;

Alias /trac &quot;/usr/share/trac/htdocs&quot;

&lt;Location /&gt;
 SetEnv TRAC_ENV_PARENT_DIR &quot;/var/trac&quot;
 SetEnv PYTHON_EGG_CACHE /var/trac/egg_cache
&lt;Location&gt;

DirectoryIndex trac.cgi
 ErrorLog /var/log/apache2/error.trac.log
CustomLog /var/log/apache2/access.trac.log combined
&lt;/VirtualHost&gt;
</pre>
<p>The above configuration means that all users are in one file, and can be controlled globally.  Below are the plugins which i have installed and consider very helpful.</p>
<p><strong>Plugins &#8211; </strong>Below are some of the plugin which I think really help</p>
<p><a title="ini admin" href="http://www.trac-hacks.org/wiki/IniAdminPlugin" target="_blank">iniadmin</a></p>
<p><a title="account manager" href="http://www.trac-hacks.org/wiki/AccountManagerPlugin" target="_blank">trac account manager</a></p>
<p><a title="svn plugin" href="http://www.trac-hacks.org/wiki/TracSvnAuthzPlugin" target="_blank">trac svn authz</a></p>
<p><a title="web admin" href="http://www.trac-hacks.org/wiki/WebAdminPlugin" target="_blank">trac web admin</a></p>
<p><a title="Timing and estimation" href="http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin" target="_blank">timing and estimatation</a></p>
<p><a title="pagetopdf" href="http://trac-hacks.org/wiki/PageToPdfPlugin" target="_blank">pagetopdf</a></p>
<p><a title="trac TOC" href="http://trac-hacks.org/wiki/TocMacro" target="_blank">Trac table of contents macro </a></p>
<p><a title="XMLRPC" href="http://trac-hacks.swapoff.org/wiki/XmlRpcPlugin" target="_blank">XMLRPC</a></pre>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Ftimothybowler.com%2F2008%2F07%2F31%2Ftrac-svn%2F';
  addthis_title  = 'Trac+%2B+SVN';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://timothybowler.com/2008/07/31/trac-svn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Those pesky .svn folders</title>
		<link>http://timothybowler.com/2008/05/19/those-pesky-svn-folders/</link>
		<comments>http://timothybowler.com/2008/05/19/those-pesky-svn-folders/#comments</comments>
		<pubDate>Mon, 19 May 2008 14:21:26 +0000</pubDate>
		<dc:creator>Tim Bowler</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://timothybowler.com/2008/05/19/those-pesky-svn-folders/</guid>
		<description><![CDATA[There are two ways of doing this
svn export . ../new_dir
or
find . -name .svn -prune -exec rm -rfv {} \;
Either way, both will work. I personally use export, because if there is a problem it means that I do not have to checkout an entire project

  addthis_url    = 'http%3A%2F%2Ftimothybowler.com%2F2008%2F05%2F19%2Fthose-pesky-svn-folders%2F';
  addthis_title  [...]]]></description>
			<content:encoded><![CDATA[<p>There are two ways of doing this</p>
<p>svn export . ../new_dir</p>
<p>or</p>
<p>find . -name .svn -prune -exec rm -rfv {} \;</p>
<p>Either way, both will work. I personally use export, because if there is a problem it means that I do not have to checkout an entire project</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Ftimothybowler.com%2F2008%2F05%2F19%2Fthose-pesky-svn-folders%2F';
  addthis_title  = 'Those+pesky+.svn+folders';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://timothybowler.com/2008/05/19/those-pesky-svn-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
