<?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>sp2hari@weblog... &#187; plugin</title>
	<atom:link href="http://sp2hari.com/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://sp2hari.com</link>
	<description>I see, learn and rediscover... everyday!</description>
	<lastBuildDate>Wed, 28 Jul 2010 01:13:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Save Before Save &#8211; Gedit Plugin</title>
		<link>http://sp2hari.com/2009/07/07/save-before-save-gedit-plugin/</link>
		<comments>http://sp2hari.com/2009/07/07/save-before-save-gedit-plugin/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 08:32:05 +0000</pubDate>
		<dc:creator>sp2hari</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://sp2hari.com/?p=237</guid>
		<description><![CDATA[A few days back, I got a mail from my friend, saying, Subject: Versioning in Windows Hi guys, Does any one know a software that can version files in windows? As simple as: There&#8217;s a certain folder of files I want to be &#8220;version&#8221; tracked, I specify the list of folders. After this, every change]]></description>
			<content:encoded><![CDATA[<p>A few days back, I got a mail from my friend, saying, </p>
<p><em>Subject: Versioning in Windows<br />
Hi guys,</p>
<p>Does any one know a software that can version files in windows?<br />
As simple as: There&#8217;s a certain folder of files I want to be &#8220;version&#8221; tracked, I specify the list of folders.<br />
After this, every change I make is time-archived. So later, I can say, how did it look exactly at 3:47 am on Monday, and I get it back.</p>
<p>Any one has seen any s/w that can do this for me today?<br />
Perhaps something like this, but more frequent: http://www.apple.com/timecapsule/backup.html<br />
I remember having one like this within Google for Linux. I have a feeling they built this in the file system from scratch.</p>
<p>Thanks,<br />
</em></p>
<p>I  replied to him about some windows software I found after some googling and also found out that there is a file system in Linux which can perform this. But changing the file system of a current system sounded &#8220;dangerous&#8221; to me. I didn&#8217;t explore much into it. I use gedit for almost all development in my machine and started wondering how hard or easy can it be to create a gedit plugin which can do this. </p>
<p>That resulted in the following plugin. </p>
<p><strong>Installation instructions. </strong></p>
<p>1. Download the latest plugin file from <a href="http://sp2hari.com/work/saveb4save-1.0.0.zip">here</a>.<br />
2. Extract the files and copy the two files to ~/.gnome2/gedit/plugins<br />
3. Open gedit and enable the plugin.<br />
4. For the first time, configure the path where you need the backups to be stored. </p>
<p><strong>TODO</strong><br />
1. This is a 2 hour hack. Gedit plugin&#8217;s coding convention standards (if there is anything) is not followed.<br />
2. The time taken to save might increase if there are too many backup files. //TODO for next version.<br />
3. A neat GUI to show the diff and all the saved versions in the backup folder.<br />
4. An option to save diffs or the full text.<br />
5. Format of the filename can be provided as an option to the user.</p>
<p>Hope you like the plugin. Please fill in your feedback as comments to this post. </p>
]]></content:encoded>
			<wfw:commentRss>http://sp2hari.com/2009/07/07/save-before-save-gedit-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
