<?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: How To: Host a Subversion Repository in Ubuntu Hardy</title>
	<atom:link href="http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/</link>
	<description>adjective: of or pertaining to things that should work but go awry</description>
	<lastBuildDate>Sat, 06 Mar 2010 12:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ac4000</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-986</link>
		<dc:creator>ac4000</dc:creator>
		<pubDate>Tue, 16 Feb 2010 03:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-986</guid>
		<description>That svnmailer bit was just what I needed; thank you!</description>
		<content:encoded><![CDATA[<p>That svnmailer bit was just what I needed; thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Wegner</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-671</link>
		<dc:creator>Scott Wegner</dc:creator>
		<pubDate>Tue, 25 Nov 2008 17:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-671</guid>
		<description>Hi Nithya, glad you found the tutorial helpful.

For mail notifications, there is already a hook &quot;mailer.py&quot; distributed with the subversion package, although there is also a more robust version called svnmailer.  You can install it via the &lt;a href=&quot;apt:svnmailer&quot; rel=&quot;nofollow&quot;&gt;svnmailer&lt;/a&gt; package.

The setup requires a couple more configuration file edits.  First of all, in svn repository configuration folder (/home/svn/my-project/conf), you need to create a new file &quot;svnmailer.conf&quot;.  Here is the layout of my file:

&lt;code&gt;[general]
config_charset = iso-8859-1
smtp_host = smtp-host.my-isp.net
smtp_user = my-smtp-usename@my-isp.net
smtp_pass = my-smtp-password&lt;/code&gt;

&lt;code&gt;[author table]
scott = scott@scotts-isp.net
kyle = kyle@kyles-isp.net&lt;/code&gt;

&lt;code&gt;[maps]
from_addr = [author table]&lt;/code&gt;

&lt;code&gt;[defaults]
from_addr = svn-admin@my-isp.net
to_addr = scott@scotts-isp.net kyle@kyles-isp.net
generate_diffs = add modify copy
long_mail_action = 100000 showurls/truncate&lt;/code&gt;

This is for a very basic configuration.  You should be able to guess at which fields need to be modified for your own configuration (setup your SMTP mailer info, setup the user accounts to mail for, etc.)  For an advanced configuration, see the full &lt;a href=&quot;http://opensource.perlig.de/svnmailer/doc-1.0/#general&quot; rel=&quot;nofollow&quot;&gt;svnmailer documentation&lt;/a&gt;.

The other file you&#039;ll need to modify is /home/svn/my-project/hooks/post-commit.  There is a &quot;template&quot; version available which you can use by copying it with the following command (inside the /home/svn/my-project/hooks directory):

&lt;code&gt;cp post-commit.tmpl post-commit&lt;/code&gt;

Then open it and scroll down to the very bottom.  Edit it so that the only uncommented lines (ones that don&#039;t start with &#039;#&#039;) look like:

&lt;code&gt;REPOS=&quot;$1&quot;
REV=&quot;$2&quot;&lt;/code&gt;

&lt;code&gt;/usr/bin/svn-mailer --commit --config /home/svn/my-project/conf/svnmailer.conf \
 --repository &quot;${REPOS}&quot; --revision &quot;${REV}&quot; &amp;&lt;/code&gt;

After that you should be ready to go!  Try committing to your repository to make sure everything works out.</description>
		<content:encoded><![CDATA[<p>Hi Nithya, glad you found the tutorial helpful.</p>
<p>For mail notifications, there is already a hook &#8220;mailer.py&#8221; distributed with the subversion package, although there is also a more robust version called svnmailer.  You can install it via the <a href="apt:svnmailer" rel="nofollow">svnmailer</a> package.</p>
<p>The setup requires a couple more configuration file edits.  First of all, in svn repository configuration folder (/home/svn/my-project/conf), you need to create a new file &#8220;svnmailer.conf&#8221;.  Here is the layout of my file:</p>
<p><code>[general]<br />
config_charset = iso-8859-1<br />
smtp_host = smtp-host.my-isp.net<br />
smtp_user = <a href="mailto:my-smtp-usename@my-isp.net">my-smtp-usename@my-isp.net</a><br />
smtp_pass = my-smtp-password</code></p>
<p><code>[author table]<br />
scott = <a href="mailto:scott@scotts-isp.net">scott@scotts-isp.net</a><br />
kyle = <a href="mailto:kyle@kyles-isp.net">kyle@kyles-isp.net</a></code></p>
<p><code>[maps]<br />
from_addr = [author table]</code></p>
<p><code>[defaults]<br />
from_addr = <a href="mailto:svn-admin@my-isp.net">svn-admin@my-isp.net</a><br />
to_addr = <a href="mailto:scott@scotts-isp.net">scott@scotts-isp.net</a> <a href="mailto:kyle@kyles-isp.net">kyle@kyles-isp.net</a><br />
generate_diffs = add modify copy<br />
long_mail_action = 100000 showurls/truncate</code></p>
<p>This is for a very basic configuration.  You should be able to guess at which fields need to be modified for your own configuration (setup your SMTP mailer info, setup the user accounts to mail for, etc.)  For an advanced configuration, see the full <a href="http://opensource.perlig.de/svnmailer/doc-1.0/#general" rel="nofollow">svnmailer documentation</a>.</p>
<p>The other file you&#8217;ll need to modify is /home/svn/my-project/hooks/post-commit.  There is a &#8220;template&#8221; version available which you can use by copying it with the following command (inside the /home/svn/my-project/hooks directory):</p>
<p><code>cp post-commit.tmpl post-commit</code></p>
<p>Then open it and scroll down to the very bottom.  Edit it so that the only uncommented lines (ones that don&#8217;t start with &#8216;#&#8217;) look like:</p>
<p><code>REPOS="$1"<br />
REV="$2"</code></p>
<p><code>/usr/bin/svn-mailer --commit --config /home/svn/my-project/conf/svnmailer.conf \<br />
 --repository "${REPOS}" --revision "${REV}" &#038;</code></p>
<p>After that you should be ready to go!  Try committing to your repository to make sure everything works out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithya</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-669</link>
		<dc:creator>Nithya</dc:creator>
		<pubDate>Mon, 24 Nov 2008 19:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-669</guid>
		<description>Hi,
Thanks for the tutorial. It is a great one to set-up SVN instantly.

One quick question: How do I enable post-commit mail notifications?

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for the tutorial. It is a great one to set-up SVN instantly.</p>
<p>One quick question: How do I enable post-commit mail notifications?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Easy Subversion GUI for Nautilus and Ubuntu &#124; automaticable</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-573</link>
		<dc:creator>Easy Subversion GUI for Nautilus and Ubuntu &#124; automaticable</dc:creator>
		<pubDate>Mon, 15 Sep 2008 22:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-573</guid>
		<description>[...] your files versioned and backed up in a central repository is essential.  I&#8217;ve written about how to set up your own subversion repository, but you can go a step further and install a graphical interface to use subversion right within [...]</description>
		<content:encoded><![CDATA[<p>[...] your files versioned and backed up in a central repository is essential.  I&#8217;ve written about how to set up your own subversion repository, but you can go a step further and install a graphical interface to use subversion right within [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akshat</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-559</link>
		<dc:creator>akshat</dc:creator>
		<pubDate>Thu, 28 Aug 2008 18:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-559</guid>
		<description>Wonderful tutorial. Thanks a ton for making things easier for the &quot;rest of us&quot; :) Cheers!</description>
		<content:encoded><![CDATA[<p>Wonderful tutorial. Thanks a ton for making things easier for the &#8220;rest of us&#8221; <img src='http://www.automaticable.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.automaticable.com/2008-06-25/how-to-host-a-subversion-repository-in-ubuntu-hardy/comment-page-1/#comment-532</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Fri, 18 Jul 2008 20:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.automaticable.com/?p=316#comment-532</guid>
		<description>This is a sublimely straightforward and simple how-to. Kudos to the author.

I&#039;ve wanted to switch from an outdated version of Perforce to svn for a long time. I&#039;ve bought two books and read lots of online documentation, and I&#039;m no stranger to Linux, having used Ubuntu daily for over two years. But every other reference has been full of &quot;you could do this, or you could do that, or this other thing&#039;, and I quickly get lost in the details of BerkeleyDB vs. FSFS, or trying to figure out how to set up my first repository without jeopardizing my ability to set up other repositories on the same machine in the future.

This article explains exactly what I wanted to do. Using an existing Hardy installation, in about 20 minutes I was able to set everything up for the first repository, including three passworded user accounts, and do a checkout onto a Mac client. Now the project can move forward, and if I need to learn more, I can do it later.

Fantastic job!</description>
		<content:encoded><![CDATA[<p>This is a sublimely straightforward and simple how-to. Kudos to the author.</p>
<p>I&#8217;ve wanted to switch from an outdated version of Perforce to svn for a long time. I&#8217;ve bought two books and read lots of online documentation, and I&#8217;m no stranger to Linux, having used Ubuntu daily for over two years. But every other reference has been full of &#8220;you could do this, or you could do that, or this other thing&#8217;, and I quickly get lost in the details of BerkeleyDB vs. FSFS, or trying to figure out how to set up my first repository without jeopardizing my ability to set up other repositories on the same machine in the future.</p>
<p>This article explains exactly what I wanted to do. Using an existing Hardy installation, in about 20 minutes I was able to set everything up for the first repository, including three passworded user accounts, and do a checkout onto a Mac client. Now the project can move forward, and if I need to learn more, I can do it later.</p>
<p>Fantastic job!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
