<?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"
	>
<channel>
	<title>Comments on: Renumbering Rails Migration Files with numergrate utility</title>
	<atom:link href="http://alexle.net/archives/206/feed" rel="self" type="application/rss+xml" />
	<link>http://alexle.net/archives/206</link>
	<description>Personal View</description>
	<pubDate>Sat, 22 Nov 2008 08:54:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Andrew</title>
		<link>http://alexle.net/archives/206#comment-161268</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 27 May 2008 15:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://alexle.net/archives/206#comment-161268</guid>
		<description>Wow, this is really good. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Wow, this is really good. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Flournoy</title>
		<link>http://alexle.net/archives/206#comment-83734</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Sat, 01 Dec 2007 23:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://alexle.net/archives/206#comment-83734</guid>
		<description>Here's a patch for line 135 that makes it not barf if you put base data, SQL scripts, etc. in the db/migrate directory. This matches only files, and only files starting with a digit and ending with .rb:

unless File.directory?(file) &#124;&#124; (! file.match(/\d+_.*\.rb/)) &#124;&#124; SKIPPED_FILES.include?(file)</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a patch for line 135 that makes it not barf if you put base data, SQL scripts, etc. in the db/migrate directory. This matches only files, and only files starting with a digit and ending with .rb:</p>
<p>unless File.directory?(file) || (! file.match(/\d+_.*\.rb/)) || SKIPPED_FILES.include?(file)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://alexle.net/archives/206#comment-66666</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 17 Oct 2007 04:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://alexle.net/archives/206#comment-66666</guid>
		<description>thanks for sharing the script. Worked perfectly though i didn't try the --svn option. Instead I ran it as shell and did a manual commit on the resulting files.</description>
		<content:encoded><![CDATA[<p>thanks for sharing the script. Worked perfectly though i didn&#8217;t try the &#8211;svn option. Instead I ran it as shell and did a manual commit on the resulting files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Flournoy</title>
		<link>http://alexle.net/archives/206#comment-47834</link>
		<dc:creator>Jamie Flournoy</dc:creator>
		<pubDate>Tue, 31 Jul 2007 06:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://alexle.net/archives/206#comment-47834</guid>
		<description>Grabbed it, used it, worked for me - thanks!</description>
		<content:encoded><![CDATA[<p>Grabbed it, used it, worked for me - thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Le</title>
		<link>http://alexle.net/archives/206#comment-39809</link>
		<dc:creator>Alex Le</dc:creator>
		<pubDate>Mon, 18 Jun 2007 01:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://alexle.net/archives/206#comment-39809</guid>
		<description>It turns out that `svn rename` doesn't actually rename the file.  It's an ADD followed by a DELETE of the original file.  So performing a `svn rename` on a large migration files move-around can result in devastating consequence to your team.

You've been warned.

Once you move migration using --svn, you have to explicitly commit it to the repository.  Otherwise you will get complaints about the file doesn't exist in the repository or something.

Another prerequisite to run numergrate with --svn option is you have to have Subversion client installed (svn.exe on Windows, included in the full Subversion installation, not the TortoiseSVN installation).  Otherwise nothing will happen, even though you will see messages printed out to the screen.</description>
		<content:encoded><![CDATA[<p>It turns out that `svn rename` doesn&#8217;t actually rename the file.  It&#8217;s an ADD followed by a DELETE of the original file.  So performing a `svn rename` on a large migration files move-around can result in devastating consequence to your team.</p>
<p>You&#8217;ve been warned.</p>
<p>Once you move migration using &#8211;svn, you have to explicitly commit it to the repository.  Otherwise you will get complaints about the file doesn&#8217;t exist in the repository or something.</p>
<p>Another prerequisite to run numergrate with &#8211;svn option is you have to have Subversion client installed (svn.exe on Windows, included in the full Subversion installation, not the TortoiseSVN installation).  Otherwise nothing will happen, even though you will see messages printed out to the screen.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.906 seconds -->
