<?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>betweenGo &#187; Subversion</title>
	<atom:link href="http://betweengo.com/category/tools/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://betweengo.com</link>
	<description>We make Ruby on Rails easy.  We make ATG easy.</description>
	<lastBuildDate>Thu, 24 Jun 2010 19:42:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ignore Files and Directories in Subversion</title>
		<link>http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/</link>
		<comments>http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 21:46:00 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>
		<category><![CDATA[svn:ignore]]></category>

		<guid isPermaLink="false">http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/</guid>
		<description><![CDATA[snubbed by Rennett Stowe
In the course of a project there are always files and directories that you don’t want to check in but which Subversion complains it doesn’t know anything about them.&#160; So it makes sense to tell Subversion to ignore them, in other words, keep quiet.  
The mechanism for doing this works okay [...]


Related posts:<ol><li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p align="center"><a title="snubber on Flickr" href="http://www.flickr.com/photos/tomsaint/2707833200/"><img style="display: block; float: none; margin-left: auto; margin-right: auto" src="http://farm4.static.flickr.com/3105/2707833200_a94ba3424c.jpg" /></a><a title="snubbed on Flickr" href="http://www.flickr.com/photos/tomsaint/2707833200/">snubbed</a> by <a title="Flickr: Rennett Stowe&#39;s Photostream" href="http://www.flickr.com/photos/tomsaint/">Rennett Stowe</a></p>
<p>In the course of a project there are always files and directories that you don’t want to check in but which Subversion complains it doesn’t know anything about them.&#160; So it makes sense to tell Subversion to ignore them, in other words, keep quiet. <img src='http://betweengo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The mechanism for doing this works okay but I wouldn’t say it’s perfect.</p>
<p>This is how I do it one.</p>
<ol>
<li>Go to the directory where want to ignore a file or subdirectory. </li>
<li>Issue the command
<pre>svn propedit svn:ignore .</pre>
</li>
<li>Your editor then will be launched and you can enter one line at a time those files and/or subdirectories you want to ignore.
<pre>some_file
some_directory</pre>
</li>
<li>Commit your changes.
<pre>svn commit -–depth empty</pre>
<p>Two things to notice. </p>
<ol>
<li>
<pre>--depth empty argument</pre>
<p>only commit the propedit changes </li>
<li>Committing your changes means everyone will end up ignoring these files and/or directories so make sure you are ignoring the right ones. </li>
</ol>
</li>
<li>If you don’t want to commit your changes you can revert them.
<pre>svn revert .</pre>
</li>
</ol>
<p>For further reading please see <a title="Ignore Files and Directories in Subversion" href="http://www.petefreitag.com/item/662.cfm">Ignore Files and Directories in Subversion</a>.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparison of DSP and DSPEL</title>
		<link>http://betweengo.com/2008/04/29/comparison-of-dsp-and-dspel/</link>
		<comments>http://betweengo.com/2008/04/29/comparison-of-dsp-and-dspel/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 21:47:51 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Page Development]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[ATG]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=176</guid>
		<description><![CDATA[ATG has two JSP tag libraries, DSP and DSPEL.  Both have similar syntax but DSPEL allows you to use JSTL.
Here&#8217;s a simple comparison of how you would use DSP versue how you would use DSPEL to do a simple RQL query.
DSPEL

&#60;dspel:droplet name=&#34;/atg/dynamo/droplet/RQLQueryForEach&#34;&#62;
  &#60;dspel:param name=&#34;repository&#34; bean=&#34;/betweengo/Repository&#34;/&#62;
  &#60;dspel:param name=&#34;itemDescriptor&#34; value=&#34;Merchant&#34;/&#62;
  &#60;dspel:param name=&#34;queryRQL&#34;
  [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/05/09/accessing-repositoryitems-with-jstl/' rel='bookmark' title='Permanent Link: Accessing RepositoryItems with JSTL'>Accessing RepositoryItems with JSTL</a></li>
<li><a href='http://betweengo.com/2009/07/28/how-to-debug-no-output-for-atg-foreach/' rel='bookmark' title='Permanent Link: How to Debug No Output for ATG ForEach'>How to Debug No Output for ATG ForEach</a></li>
<li><a href='http://betweengo.com/2008/07/17/jumping-within-page-from-dropdown/' rel='bookmark' title='Permanent Link: Jumping to different parts of a page using a dropdown'>Jumping to different parts of a page using a dropdown</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>ATG has two JSP tag libraries, <a title="Appendix A: DSP Tag Libraries" href="http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG2006.3/pagedev/pagedev1201.html">DSP and DSPEL</a>.  Both have similar syntax but DSPEL allows you to use JSTL.</p>
<p>Here&#8217;s a simple comparison of how you would use DSP versue how you would use DSPEL to do a simple RQL query.</p>
<p><strong>DSPEL</strong></p>
<pre>
&lt;dspel:droplet name=&quot;/atg/dynamo/droplet/RQLQueryForEach&quot;&gt;
  &lt;dspel:param name=&quot;repository&quot; bean=&quot;/betweengo/Repository&quot;/&gt;
  &lt;dspel:param name=&quot;itemDescriptor&quot; value=&quot;Merchant&quot;/&gt;
  &lt;dspel:param name=&quot;queryRQL&quot;
    value=&quot;name EQUALS \&quot;${requestScope['nm']}\&quot;&quot;/&gt;
  &lt;dspel:oparam name=&quot;empty&quot;&gt;
    No merchant with the name &quot;&lt;c:out value=&quot;${requestScope['nm']}&quot;/&gt;&quot;.
  &lt;/dspel:oparam&gt;
  &lt;dspel:oparam name=&quot;output&quot;&gt;
    Name: &lt;dspel:valueof param=&quot;element.name&quot;/&gt;
  &lt;/dspel:oparam&gt;
&lt;/dspel:droplet&gt;
</pre>
<p><strong>DSP</strong></p>
<pre>
&lt;% String query = &quot;name EQUALS \&quot;&quot; + request.getAttribute(&quot;nm&quot;) + &quot;\&quot;&quot;;%&gt;

&lt;dsp:droplet name=&quot;/atg/dynamo/droplet/RQLQueryForEach&quot;&gt;
  &lt;dsp:param name=&quot;repository&quot; bean=&quot;/betweengo/Repository&quot;/&gt;
  &lt;dsp:param name=&quot;itemDescriptor&quot; value=&quot;Merchant&quot;/&gt;
  &lt;dsp:param name=&quot;queryRQL&quot; value=&quot;&lt;%= query %&gt;&quot;/&gt;
  &lt;dsp:oparam name=&quot;empty&quot;&gt;
    No merchant with the name &quot;&lt;%= request.getAttribute(&quot;nm&quot;) %&gt;&quot;.
  &lt;/dsp:oparam&gt;
  &lt;dsp:oparam name=&quot;output&quot;&gt;
    Name: &lt;dsp:valueof param=&quot;element.name&quot;/&gt;
  &lt;/dsp:oparam&gt;
&lt;/dsp:droplet&gt;
</pre>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/05/09/accessing-repositoryitems-with-jstl/' rel='bookmark' title='Permanent Link: Accessing RepositoryItems with JSTL'>Accessing RepositoryItems with JSTL</a></li>
<li><a href='http://betweengo.com/2009/07/28/how-to-debug-no-output-for-atg-foreach/' rel='bookmark' title='Permanent Link: How to Debug No Output for ATG ForEach'>How to Debug No Output for ATG ForEach</a></li>
<li><a href='http://betweengo.com/2008/07/17/jumping-within-page-from-dropdown/' rel='bookmark' title='Permanent Link: Jumping to different parts of a page using a dropdown'>Jumping to different parts of a page using a dropdown</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/04/29/comparison-of-dsp-and-dspel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Capistrano and Mongrel</title>
		<link>http://betweengo.com/2008/03/28/configuring-capistrano-and-mongrel/</link>
		<comments>http://betweengo.com/2008/03/28/configuring-capistrano-and-mongrel/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 01:08:18 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://betweengo.com/ruby-on-rails/2008/03/28/configuring-capistrano-and-mongrel/</guid>
		<description><![CDATA[For this article I used the chapter Setting Up A Development Environment in Agile Web Development with Rails, version 2.0,  plus these two articles.

 Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You
 Using Capistrano with Rails

Capistrano working together with Mongrel allows you to deploy and restart Mongrel clusters quite nicely.
Configure Mongrel [...]


Related posts:<ol><li><a href='http://betweengo.com/2008/03/31/configuring-apache-to-work-with-a-mongrel-cluster/' rel='bookmark' title='Permanent Link: Configuring Apache to work with a Mongrel Cluster'>Configuring Apache to work with a Mongrel Cluster</a></li>
<li><a href='http://betweengo.com/2008/05/27/monit/' rel='bookmark' title='Permanent Link: Monit and Mongrel'>Monit and Mongrel</a></li>
<li><a href='http://betweengo.com/2008/03/28/installing-ruby-on-rails-on-red-hat-enterprise-linux-4/' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Red Hat Enterprise Linux 4'>Installing Ruby on Rails on Red Hat Enterprise Linux 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For this article I used the chapter Setting Up A Development Environment in Agile Web Development with Rails, version 2.0,  plus these two articles.</p>
<ul>
<li> <a href="http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/" rel="bookmark" title="Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You">Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You</a></li>
<li> <a href="http://www.capify.org/getting-started/rails" title="Using Capistrano with Rails">Using Capistrano with Rails</a></li>
</ul>
<p>Capistrano working together with Mongrel allows you to deploy and restart Mongrel clusters quite nicely.</p>
<p><strong>Configure Mongrel Cluster</strong></p>
<p>First you need to configure a Mongrel cluster.  Here is an example that creates three Mongrel instances starting at port 8000, listening on the local interface, 127.0.0.1.</p>
<pre>$  mongrel_rails cluster::configure -N 3 -p 8000 -e production -a 127.0.0.1 \
   -c /usr/local/rails/production/current \
   -C /usr/local/rail/production/current/config/mongrel_cluster.yml</pre>
<p>Here is how the created file looks like.</p>
<pre>---
cwd: /usr/local/rails/production/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file: tmp/pids/mongrel.pid
servers: 3</pre>
<p>Note that for testing purposes you should comment out the address line.</p>
<pre>#address: 127.0.0.1</pre>
<p>We specified listening only on the local interface for security purposes but for testing the cluster we need to access it directly via its remote IP address.</p>
<p><strong>Setup Capistrano </strong></p>
<p>Next you create a stub Capfile and config/deploy.rb.</p>
<pre>$ capify .</pre>
<p>Now you can get a list of all the tasks that are available and there quite a few.</p>
<pre>$ cap -T</pre>
<p>Next modify config/deploy.rb like in this example.</p>
<pre>require 'mongrel_cluster/recipes'

set :application, "foobook"
set :repository, "http://example.com/svn/foo/trunk/foobook"

role :web, "192.168.3.17"
role :app, "192.168.3.17"
role :db,  "192.168.3.117", :primary =&gt; true

set :deploy_to, "/usr/local/rails/production"
set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml"
set :svn_user, "fkim"
set :svn_password, "fkim"
#set :user, "root"            # defaults to the currently logged in user
set :scm, :subversion         # defaults to :subversion
set :svn, "/usr/bin/svn"      # defaults to searching the PATH</pre>
<p><strong>Deploy using Capistrano</strong></p>
<p>Now run setup which will create the directories remotely.</p>
<pre>$ cap deploy:setup</pre>
<p>Check dependencies.</p>
<pre>$ cap -q deploy:check</pre>
<p>Deploy for the first time.</p>
<pre>$ cap deploy:cold</pre>
<p>Everytime after you can deploy like this.</p>
<pre>$ cap deploy</pre>
<p><strong>Starting and Stopping Mongrel using Capistrano</strong></p>
<p>If you want to just start the mongrel cluster.</p>
<pre>$ cap mongrel:cluster:start</pre>
<p>If you want to just stop the mongrel cluster.</p>
<pre>$ cap mongrel:cluster:stop</pre>
<p><strong>And that&#8217;s it.</strong></p>
<p>Not that bad at all.  Starting and stopping mongrel was the biggest issue for me.  I realized that I did not need to create the spin script as suggested in the <a href="http://www.capify.org/getting-started/rails" title="Using Capistrano with Rails">Using Capistrano with Rails</a> article.  If the mongrel configuration is correct then Capistrano will correctly start and stop it and you can use the above cap commands to test it.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2008/03/31/configuring-apache-to-work-with-a-mongrel-cluster/' rel='bookmark' title='Permanent Link: Configuring Apache to work with a Mongrel Cluster'>Configuring Apache to work with a Mongrel Cluster</a></li>
<li><a href='http://betweengo.com/2008/05/27/monit/' rel='bookmark' title='Permanent Link: Monit and Mongrel'>Monit and Mongrel</a></li>
<li><a href='http://betweengo.com/2008/03/28/installing-ruby-on-rails-on-red-hat-enterprise-linux-4/' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Red Hat Enterprise Linux 4'>Installing Ruby on Rails on Red Hat Enterprise Linux 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2008/03/28/configuring-capistrano-and-mongrel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Subversion Branching</title>
		<link>http://betweengo.com/2007/12/18/subversion-branching/</link>
		<comments>http://betweengo.com/2007/12/18/subversion-branching/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 15:01:05 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://betweengo.com/subversion/2007/12/18/subversion-branching/</guid>
		<description><![CDATA[Subversion branching and tagging is basically copying from one repository directory to another.
This article gives great instructions on how to branch and tag with subversion.  This article is also good.
To compare branches you can simply do something like this svn diff [path] [path].  For example svn diff http://foo.com/branches/stable http://foo.com/trunk.
To merge from a branch [...]


Related posts:<ol><li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2008/09/18/perforce-branching/' rel='bookmark' title='Permanent Link: Perforce Branching'>Perforce Branching</a></li>
<li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Subversion branching and tagging is basically copying from one repository directory to another.</p>
<p>This <a href="http://docs.codehaus.org/display/HAUS/How+to+Tag+and+Branch+a+Subversion+Repository">article</a> gives great instructions on how to branch and tag with subversion.  This <a href="http://gcc.gnu.org/wiki/SvnBranch">article</a> is also good.</p>
<p>To compare branches you can simply do something like this <a href="http://svnbook.red-bean.com/en/1.0/re09.html">svn diff</a> [path] [path].  For example svn diff http://foo.com/branches/stable http://foo.com/trunk.</p>
<p>To merge from a branch to the trunk you can use <a href="http://svnbook.red-bean.com/en/1.0/re16.html">svn merge</a> like this.  Note that you need to have the trunk checked </p>
<p><code>$ cd trunk<br />
$ svn merge -r 3:4 svn+ssh://fkim@betweengo.com/home/fkim/svn/foo/branches/stable/doc/html doc/html</code></p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2008/09/18/perforce-branching/' rel='bookmark' title='Permanent Link: Perforce Branching'>Perforce Branching</a></li>
<li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2007/12/18/subversion-branching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO Stop Being Prompted For Password in TortoiseSVN</title>
		<link>http://betweengo.com/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/</link>
		<comments>http://betweengo.com/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 16:01:35 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://betweengo.com/subversion/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/</guid>
		<description><![CDATA[Just as you can setup the Subversion client to not prompt for a password every time you communicate with the Subversion server in a similar but not so secure way you can do this with TortoiseSVN.
The easiest way to do this is to right click in Windows Explorer, select Tortoise > Settings.  Then in [...]


Related posts:<ol><li><a href='http://betweengo.com/2006/08/02/howto-map-a-network-drive-even-when-youre-not-logged-in/' rel='bookmark' title='Permanent Link: HOWTO Map a Network Drive Even When You&#8217;re Not Logged In'>HOWTO Map a Network Drive Even When You&#8217;re Not Logged In</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/' rel='bookmark' title='Permanent Link: Implement RSA Authentication Under SSH'>Implement RSA Authentication Under SSH</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just as you can <a href="http://betweengo.com/subversion/2006/02/22/howto-implement-rsa-authentication-under-ssh/">setup the Subversion client to not prompt for a password</a> every time you communicate with the Subversion server in a similar but not so secure way you can do this with TortoiseSVN.</p>
<p>The easiest way to do this is to right click in Windows Explorer, select Tortoise > Settings.  Then in the Settings window select Network.  Then in the SSH client set use the Tortoise SSH client, TortoisePlink, to use your username and password.  For example:</p>
<p>D:\TortoiseSVN\bin\TortoisePlink.exe -l foo -pw bar</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2006/08/02/howto-map-a-network-drive-even-when-youre-not-logged-in/' rel='bookmark' title='Permanent Link: HOWTO Map a Network Drive Even When You&#8217;re Not Logged In'>HOWTO Map a Network Drive Even When You&#8217;re Not Logged In</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/' rel='bookmark' title='Permanent Link: Implement RSA Authentication Under SSH'>Implement RSA Authentication Under SSH</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Implement RSA Authentication Under SSH</title>
		<link>http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/</link>
		<comments>http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/#comments</comments>
		<pubDate>Wed, 22 Feb 2006 05:07:25 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=64</guid>
		<description><![CDATA[To implement RSA authentication under ssh so that the user is not continually asked prompted for a remote-host password when using ssh, scp, or any programs using ssh underneath such as cvs and svn do the following.

Create a public/private RSA key pair.  This will be used for RSA authentication.  When generating this RSA [...]


Related posts:<ol><li><a href='http://betweengo.com/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/' rel='bookmark' title='Permanent Link: HOWTO Stop Being Prompted For Password in TortoiseSVN'>HOWTO Stop Being Prompted For Password in TortoiseSVN</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2008/04/07/my-first-rails-20-application-w-restful-authentication/' rel='bookmark' title='Permanent Link: My First Rails 2.0 Application w/ Restful Authentication'>My First Rails 2.0 Application w/ Restful Authentication</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To implement RSA authentication under ssh so that the user is not continually asked prompted for a remote-host password when using <code>ssh</code>, <code>scp</code>, or any programs using ssh underneath such as <code>cvs </code>and <code>svn</code> do the following.</p>
<ol>
<li>Create a public/private RSA key pair.  This will be used for RSA authentication.  When generating this RSA key pair don&#8217;t enter a passphrase otherwise you will always be prompted for it.
<pre>$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/fkim/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/fkim/.ssh/id_rsa.
Your public key has been saved in /home/fkim/.ssh/id_rsa.pub.
The key fingerprint is:
2a:59:54:3f:82:8f:79:92:1d:39:7b:62:02:68:97:e6 fkim@paltp1235

$ cd .ssh
$ chmod 400 id_rsa id_rsa.pub</pre>
</li>
<li>Copy the public RSA key to the remote host.
<pre>$ scp -p ~/.ssh/id_rsa.pub  fkim@betweengo.com:~/
Password:
id_rsa.pub                                    100%  396     0.4KB/s   00:00</pre>
</li>
<li>ssh to the remote host and create an .ssh directory if it does not already exist.
<pre>$ ssh fkim@betweengo.com
Password:
[box ~]$ mkdir .ssh
[box ~]$ chmod 755 .ssh</pre>
</li>
<li>Append the public RSA key to the list of authorized keys.
<pre>[box ~]$ cat id_rsa.pub &gt;&gt; .ssh/authorized_keys2
[box ~]$ chmod 644 .ssh/authorized_keys2</pre>
</li>
<li>Log out and log back in to verify that you no longer need to enter your password.
<pre>$ ssh fkim@betweengo.com
[box ~]$</pre>
</li>
</ol>
<p>Note if this does not work it is sometimes because the ssh client cannot find the id_rsa file.  It looks for it normally where it keeps the known hosts file.  On most systems this is the default location for where it writes the id_rsa file.  On one system I found that it was looking for the id_rsa file in <code>C:\.ssh</code>.</p>
<p>In some cases RSA authentication will not work and you will need to use DSA authentication.  This article, <a href="http://wiki.met.tamu.edu/index.php?title=SSH_Logins_Without_Providing_a_Password#Method_for_OpenSSH_local_to_OpenSSH_remote">SSH Logins Without Providing A Password</a>, gives a good description of how to do this.  The instructions are quite similar.</p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2006/10/30/howto-stop-being-prompted-for-password-in-tortoisesvn/' rel='bookmark' title='Permanent Link: HOWTO Stop Being Prompted For Password in TortoiseSVN'>HOWTO Stop Being Prompted For Password in TortoiseSVN</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2008/04/07/my-first-rails-20-application-w-restful-authentication/' rel='bookmark' title='Permanent Link: My First Rails 2.0 Application w/ Restful Authentication'>My First Rails 2.0 Application w/ Restful Authentication</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subversion on Dreamhost</title>
		<link>http://betweengo.com/2005/10/24/subversion-on-dreamhost/</link>
		<comments>http://betweengo.com/2005/10/24/subversion-on-dreamhost/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 15:21:43 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Cygwin]]></category>

		<guid isPermaLink="false">http://betweengo.com/uncategorized/2005/10/24/subversion-on-dreamhost/</guid>
		<description><![CDATA[This post is a log of how I personally got Subversion running on Dreamhost using this post.

Obtained the Subversion source from http://subversion.tigris.org/project_packages.html#source-release, compiled it, and put the binaries in my ~/bin directory.       
Added the Subversion binaries to my path by adding these lines to my ~/.bash_profile file.
# Set PATH [...]


Related posts:<ol><li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
<li><a href='http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/' rel='bookmark' title='Permanent Link: Implement RSA Authentication Under SSH'>Implement RSA Authentication Under SSH</a></li>
<li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This post is a log of how I personally got Subversion running on Dreamhost using this <a href="http://scoops.totallyrule.com/articles/2005/06/14/subversion-on-dreamhost">post</a>.</p>
<ol>
<li>Obtained the Subversion source from <a href="http://subversion.tigris.org/project_packages.html#source-release">http://subversion.tigris.org/project_packages.html#source-release</a>, compiled it, and put the binaries in my <code>~/bin</code> directory.       </li>
<li>Added the Subversion binaries to my path by adding these lines to my <code>~/.bash_profile</code> file.
<pre># Set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
  PATH=&quot;~/bin:${PATH}&quot;
fi</pre>
<p>For this change to take effect you either have to relogin or: </p>
<pre>$ . ~/.bash_profile</pre>
<p></li>
<li>Initialized new subversion repositories. For example:
<pre>$ svnadmin create ~/svn/mk
$ svn mkdir \
    file:///home/fkim/svn/mk/trunk \
    file:///home/fkim/svn/mk/branches \
    file:///home/fkim/svn/mk/tags</pre>
<p>I am following the suggested way of <a title="How to Organize a Subversion Repository" href="http://docs.codehaus.org/display/HAUSMATES/How+to+Organize+a+Subversion+Repository">organizing a Subversion repository</a>. </p>
<p></li>
<li>Imported the files into the subversion repository. For example:
<pre>svn import ~/meetingkoreans.com file:///home/fkim/svn/mk/trunk/
svn import ~/meetingkoreans.com svn+ssh://fkim@meetingkoreans.com/home/fkim/svn/mk/trunk/</pre>
<p>Note: I was having a strange problem when I tried to do an import and kept getting an already exists error.&#160; It turned out the problem was because what I was trying to import was a link instead of the actual directory.&#160; This might only be an issue on Cygwin. </p>
<p></li>
<li>Checked the files out. To do this locally:
<pre>svn co file:///home/fkim/svn/mk/trunk meetingkoreans.com</pre>
<p>To do this remotely:</p>
<pre>svn co svn+ssh://fkim@meetingkoreans.com/home/fkim/svn/mk/trunk mkrb</pre>
</li>
</ol>


<p>Related posts:<ol><li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
<li><a href='http://betweengo.com/2006/02/22/howto-implement-rsa-authentication-under-ssh/' rel='bookmark' title='Permanent Link: Implement RSA Authentication Under SSH'>Implement RSA Authentication Under SSH</a></li>
<li><a href='http://betweengo.com/2005/09/06/newline-problems-with-subversion/' rel='bookmark' title='Permanent Link: Newline problems with Subversion'>Newline problems with Subversion</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2005/10/24/subversion-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Newline problems with Subversion</title>
		<link>http://betweengo.com/2005/09/06/newline-problems-with-subversion/</link>
		<comments>http://betweengo.com/2005/09/06/newline-problems-with-subversion/#comments</comments>
		<pubDate>Tue, 06 Sep 2005 20:39:17 +0000</pubDate>
		<dc:creator>Frank Kim</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://betweengo.com/?p=27</guid>
		<description><![CDATA[I was receiving an error like this when trying to commit a file into subversion.
svn: File '/foo/bar.gif' has inconsistent newlines
After searching, I found this nice page explaining how to fix the problem.
Newline problems with Subversion
Essentially you need to do this before you do the commit.
svn propdel svn:eol-style bar.gif


Related posts:Ignore Files and Directories in Subversion
Subversion on [...]


Related posts:<ol><li><a href='http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/' rel='bookmark' title='Permanent Link: Ignore Files and Directories in Subversion'>Ignore Files and Directories in Subversion</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was receiving an error like this when trying to commit a file into subversion.</p>
<p><code>svn: File '/foo/bar.gif' has inconsistent newlines</code></p>
<p>After searching, I found this nice page explaining how to fix the problem.</p>
<p><a href="http://www.palbrattberg.com/?p=105">Newline problems with Subversion</a></p>
<p>Essentially you need to do this before you do the commit.</p>
<p><code>svn propdel svn:eol-style bar.gif</code></p>


<p>Related posts:<ol><li><a href='http://betweengo.com/2010/03/01/ignore-files-and-directories-in-subversion/' rel='bookmark' title='Permanent Link: Ignore Files and Directories in Subversion'>Ignore Files and Directories in Subversion</a></li>
<li><a href='http://betweengo.com/2005/10/24/subversion-on-dreamhost/' rel='bookmark' title='Permanent Link: Subversion on Dreamhost'>Subversion on Dreamhost</a></li>
<li><a href='http://betweengo.com/2007/12/18/subversion-branching/' rel='bookmark' title='Permanent Link: Subversion Branching'>Subversion Branching</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://betweengo.com/2005/09/06/newline-problems-with-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->