<?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>newthink.net &#187; Subversion</title>
	<atom:link href="http://www.newthink.net/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.newthink.net</link>
	<description>Less Talk. More Do.</description>
	<lastBuildDate>Tue, 26 Jan 2010 18:28:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running Subversion From xinetd</title>
		<link>http://www.newthink.net/2007/11/29/running-subversion-from-xinetd/</link>
		<comments>http://www.newthink.net/2007/11/29/running-subversion-from-xinetd/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 21:45:34 +0000</pubDate>
		<dc:creator>Ash Christopher</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://newthink.net/blog/2007/11/29/running-subversion-from-xinetd/</guid>
		<description><![CDATA[Now that we have Subversion installed on our server, we really need some way to have it always available. We could run subversion in daemon mode but we would have to write init.d scripts which can get rather complex (especially if you are writing one properly, and not just hacking one together).
Instead, we will add [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we have Subversion installed on our server, we really need some way to have it always available. We could run subversion in daemon mode but we would have to write init.d scripts which can get rather complex (especially if you are writing one properly, and not just hacking one together).</p>
<p>Instead, we will add subversion to xinetd. The benefit of this is that subversion is only running when we need access to the repository rather than running all the time. By default, subversion is not set up in xinetd, so the following is how I set it up:</p>
<p>First make sure that xinetd is installed.<br />
<code><br />
# yum install xinetd<br />
</code><br />
Next we want to add the following to our /etc/xinetd.d/svnserve<br />
<code><br />
# default: off<br />
# description: svnserve is the server part of Subversion.<br />
service svn<br />
{<br />
&nbsp;&nbsp;disable	= no<br />
&nbsp;&nbsp;port	= 3690<br />
&nbsp;&nbsp;socket_type   = stream<br />
&nbsp;&nbsp;protocol      = tcp<br />
&nbsp;&nbsp;wait          = no<br />
&nbsp;&nbsp;user          = root<br />
&nbsp;&nbsp;server        = /usr/bin/svnserve<br />
&nbsp;&nbsp;server_args   = -i -r /svn<br />
}<br />
</code><br />
Finally, lets restart xinetd:<br />
<code><br />
/etc/init.d/xinetd restart<br />
</code><br />
Now xinetd will start the subversion repository server every time a subversion request is made.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newthink.net/2007/11/29/running-subversion-from-xinetd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Subversion On Fedora 8</title>
		<link>http://www.newthink.net/2007/11/28/setting-up-subversion-on-fedora-8/</link>
		<comments>http://www.newthink.net/2007/11/28/setting-up-subversion-on-fedora-8/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 22:14:59 +0000</pubDate>
		<dc:creator>Ash Christopher</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://newthink.net/blog/2007/11/28/setting-up-subversion-on-fedora-8/</guid>
		<description><![CDATA[After fighting with the corporate firewall (ssh tunnels were not successfully able to navigate to a SVN repo on a shared host) I decided I should set subversion up on my home server. Since I am a little paranoid about throwing caution to the wind with regard to server changes, I decided to set it [...]]]></description>
			<content:encoded><![CDATA[<p>After fighting with the corporate firewall (ssh tunnels were not successfully able to navigate to a SVN repo on a shared host) I decided I should set subversion up on my home server. Since I am a little paranoid about throwing caution to the wind with regard to server changes, I decided to set it up on my Fedora 8 vmware partition.</p>
<p>Here was my process.<br />
<code><br />
# yum install subversion<br />
</code><br />
Ok, that was pretty easy. I now have subversion installed on my system; both from a client and user&#8217;s perspective. Next I need to create a subversion repository location on my disk (/svn can be replaced with any location on your server).<br />
<code><br />
# svnadmin create /svn<br />
</code><br />
In /svn/conf/passwd add the following (it is in plaintext, but I am sure there is an encrypted solution):<br />
<code><br />
[users]<br />
achristopher = <em>some secret, yet plaintext password</em><br />
</code><br />
In the /svn/conf/svnserve.conf, you should set the following:<br />
<code><br />
[general]<br />
anon-access = read<br />
auth-access = write</p>
<p>password-db = passwd</p>
<p>realm = Test Repo<br />
</code><br />
There, our subversion repository has been set up. Now all we have to do is start the subversion daemon.<br />
<code><br />
# svnserv -r /svn -d<br />
</code><br />
We can test the subversion repo:<br />
<code><br />
# mkdir /tmp/test</p>
<p># svn import /tmp/test svn://localhost/svn/test -m "Initial creation."<br />
Committed revision 1.</p>
<p># svnlook tree /svn<br />
/<br />
 svn/<br />
  test/<br />
</code><br />
We have just added a directory to our subversion repository. Now lets checkout this project, and get to work:<br />
<code><br />
# rm -Rf /tmp/test<br />
# svn checkout svn://localhost/svn/test<br />
Checked out revision 1.<br />
</code></p>
<p>I cheated a little there, because I had entered my password before I created this posting, so you can expect to see something like the following:<br />
<code><br />
Authentication realm: <svn ://localhost:3690> Test Repo<br />
Password for 'achristopher':<br />
</svn></code><br />
Just enter your password (the one entered in plain text above) and continue working.</p>
<p><strong>To follow: How to set subversion to work with xinetd (it isnt that exciting, but definitely new post worthy).</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newthink.net/2007/11/28/setting-up-subversion-on-fedora-8/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
