<?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: Rails, Git, and Empty Directories</title>
	<atom:link href="http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/</link>
	<description>Fixing business by increasing collaboration and transparency.</description>
	<lastBuildDate>Tue, 09 Feb 2010 14:02:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Kaukis</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-10215</link>
		<dc:creator>Chris Kaukis</dc:creator>
		<pubDate>Thu, 22 Oct 2009 06:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-10215</guid>
		<description>Well, if you use the .gitignore file to exclude some files, when you commit a pretty young rails project, you can be left with things like empty tmp, lib, vendor, log directories. I was coming across cases where if I cloned a repo, I would have these missing directories and some generators and other scripts/plugins would complain. It&#039;s not obvious right away these were missing.</description>
		<content:encoded><![CDATA[<p>Well, if you use the .gitignore file to exclude some files, when you commit a pretty young rails project, you can be left with things like empty tmp, lib, vendor, log directories. I was coming across cases where if I cloned a repo, I would have these missing directories and some generators and other scripts/plugins would complain. It&#39;s not obvious right away these were missing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonny Dee</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-9709</link>
		<dc:creator>Jonny Dee</dc:creator>
		<pubDate>Tue, 28 Jul 2009 18:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-9709</guid>
		<description>&#039;ve been facing the issue with empty directories, too. The problem with using placeholder files is that you need to create them, and delete them, if they are not necessary anymore (because later on there were added sub-directories or files. With big source trees managing these placeholder files can be cumbersome and error prone.

This is why I decided to write an open source tool which can manage the creation/deletion of such placeholder files automatically. It is licensed under GPLv3 and it is written for .NET platform and runs under Mono (.NET for Linux) and Windows.

Just have a look at: http://code.google.com/p/markemptydirs

Best regards and have fun with it :)

Jonny Dee</description>
		<content:encoded><![CDATA[<p>&#8216;ve been facing the issue with empty directories, too. The problem with using placeholder files is that you need to create them, and delete them, if they are not necessary anymore (because later on there were added sub-directories or files. With big source trees managing these placeholder files can be cumbersome and error prone.</p>
<p>This is why I decided to write an open source tool which can manage the creation/deletion of such placeholder files automatically. It is licensed under GPLv3 and it is written for .NET platform and runs under Mono (.NET for Linux) and Windows.</p>
<p>Just have a look at: <a href="http://code.google.com/p/markemptydirs" rel="nofollow">http://code.google.com/p/markemptydirs</a></p>
<p>Best regards and have fun with it <img src='http://blog.adsdevshop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Jonny Dee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: annoymous</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-7786</link>
		<dc:creator>annoymous</dc:creator>
		<pubDate>Thu, 05 Feb 2009 15:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-7786</guid>
		<description>You don&#039;t need this program, git can track empty directories by putting a .gitignore in them. If you don&#039;t want to track the contents of the directory, put a &quot;*&quot; in that .gitignore. Make sure to remove the subdir lines from your top level .gitignore, and check in the new ignore files in the subdir.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need this program, git can track empty directories by putting a .gitignore in them. If you don&#8217;t want to track the contents of the directory, put a &#8220;*&#8221; in that .gitignore. Make sure to remove the subdir lines from your top level .gitignore, and check in the new ignore files in the subdir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Kaukis</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-6556</link>
		<dc:creator>Chris Kaukis</dc:creator>
		<pubDate>Wed, 14 May 2008 16:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-6556</guid>
		<description>Very cool Patrick! Thanks!</description>
		<content:encoded><![CDATA[<p>Very cool Patrick! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Reagan</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-6550</link>
		<dc:creator>Patrick Reagan</dc:creator>
		<pubDate>Wed, 14 May 2008 12:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-6550</guid>
		<description>Chris - 

I liked your idea and thought - why not pull this into Sake? So I did.  Make sure you have sake installed (sudo gem install sake) and install my task:

sake -T http://pastie.caboo.se/196733.txt
sake -i http://pastie.caboo.se/196733.txt

Now from your project root, you can just run:

sake git:ignore

and it will automatically add the .gitignore files to empty directories. I also updated the code to handle cases where there were already dotfiles in the directory - the task will not throw ignore files there.

Source is available on GitHub:

http://github.com/vigetlabs/sake-tasks/tree/master

p.</description>
		<content:encoded><![CDATA[<p>Chris &#8211; </p>
<p>I liked your idea and thought &#8211; why not pull this into Sake? So I did.  Make sure you have sake installed (sudo gem install sake) and install my task:</p>
<p>sake -T <a href="http://pastie.caboo.se/196733.txt" rel="nofollow">http://pastie.caboo.se/196733.txt</a><br />
sake -i <a href="http://pastie.caboo.se/196733.txt" rel="nofollow">http://pastie.caboo.se/196733.txt</a></p>
<p>Now from your project root, you can just run:</p>
<p>sake git:ignore</p>
<p>and it will automatically add the .gitignore files to empty directories. I also updated the code to handle cases where there were already dotfiles in the directory &#8211; the task will not throw ignore files there.</p>
<p>Source is available on GitHub:</p>
<p><a href="http://github.com/vigetlabs/sake-tasks/tree/master" rel="nofollow">http://github.com/vigetlabs/sake-tasks/tree/master</a></p>
<p>p.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Kaukis</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-6546</link>
		<dc:creator>Chris Kaukis</dc:creator>
		<pubDate>Mon, 12 May 2008 01:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-6546</guid>
		<description>Well, if you use the .gitignore file to exclude some files, when you commit a pretty young rails project, you can be left with things like empty tmp, lib, vendor, log directories. I was coming across cases where if I cloned a repo, I would have these missing directories and some generators and other scripts/plugins would complain. It&#039;s not obvious right away these were missing.</description>
		<content:encoded><![CDATA[<p>Well, if you use the .gitignore file to exclude some files, when you commit a pretty young rails project, you can be left with things like empty tmp, lib, vendor, log directories. I was coming across cases where if I cloned a repo, I would have these missing directories and some generators and other scripts/plugins would complain. It&#8217;s not obvious right away these were missing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randal L. Schwartz</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-6545</link>
		<dc:creator>Randal L. Schwartz</dc:creator>
		<pubDate>Mon, 12 May 2008 01:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-6545</guid>
		<description>I&#039;m curious...since git is a &quot;content&quot; tracker, and there&#039;s no content to an empty directory, why do you need git to track it anyway?</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious&#8230;since git is a &#8220;content&#8221; tracker, and there&#8217;s no content to an empty directory, why do you need git to track it anyway?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryanl</title>
		<link>http://blog.adsdevshop.com/2008/05/11/rails-git-and-empty-directories/comment-page-1/#comment-6544</link>
		<dc:creator>bryanl</dc:creator>
		<pubDate>Mon, 12 May 2008 00:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=381#comment-6544</guid>
		<description>FWIW, I believe Rails Edge has support to automatically create directories when needed.  This problem should go away soon.</description>
		<content:encoded><![CDATA[<p>FWIW, I believe Rails Edge has support to automatically create directories when needed.  This problem should go away soon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
