<?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: Growl Notification for Subversion</title>
	<atom:link href="http://www.beervsman.com/2010/05/04/growl-notification-for-subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beervsman.com/2010/05/04/growl-notification-for-subversion/</link>
	<description>As nerdy as you want it</description>
	<lastBuildDate>Fri, 27 Jan 2012 03:19:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sean Whitney</title>
		<link>http://www.beervsman.com/2010/05/04/growl-notification-for-subversion/comment-page-1/#comment-36294</link>
		<dc:creator>Sean Whitney</dc:creator>
		<pubDate>Fri, 27 Jan 2012 03:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.beervsman.com/?p=86#comment-36294</guid>
		<description>Updated your script to support monitoring multiple svn repositories

Here&#039;s a patch file


--- svn-growlnotify.sh	2010-05-04 15:15:22.000000000 -0700
+++ /Users/sean/bin/svn-growlnotify.sh	2012-01-26 16:43:35.000000000 -0800
@@ -10,7 +10,6 @@
 # Default settings
 SVN_ROOT=&quot;&quot;
 LOG_URL=&quot;&quot;
-REV_FILE=&quot;$HOME/.svn-growlnotify.version&quot;
 MAX_REVS=&quot;5&quot;
 GROWLNOTIFY=&quot;/usr/local/bin/growlnotify&quot;
 
@@ -24,6 +23,9 @@
 		g) GROWLNOTIFY=$OPTARG;;
 	esac
 done
+REV_FILE=&quot;$HOME/.svn-growlnotify/$(basename $SVN_ROOT)&quot;
+
+test -d $HOME/.svn-growlnotify &#124;&#124; mkdir -p $HOME/.svn-growlnotify
 
 if [ &quot;$SVN_ROOT&quot; = &quot;&quot; ]; then
 	echo &quot;Usage: $0 -s  [-l LOG_URL] [-r REV_FILE] [-m MAX_REVS] [-g GROWLNOTIFY]&quot;


I also converted your cronjobs to a launchd job.  Mine is set to 120 seconds instead of 60.






	Label
	repository name
	ProgramArguments
	
		/path/to/svn-growlnotify.sh
		-s
		http://your.repository.ur/l
		1&gt;/dev/null
		2&gt;&amp;1
	
	StartInterval
  120




I named the file svn.repository.plist, and put it in ~/Library/LaunchAgents 
then I ran launchctl load svn.repository.plist

Sean</description>
		<content:encoded><![CDATA[<p>Updated your script to support monitoring multiple svn repositories</p>
<p>Here&#8217;s a patch file</p>
<p>&#8212; svn-growlnotify.sh	2010-05-04 15:15:22.000000000 -0700<br />
+++ /Users/sean/bin/svn-growlnotify.sh	2012-01-26 16:43:35.000000000 -0800<br />
@@ -10,7 +10,6 @@<br />
 # Default settings<br />
 SVN_ROOT=&#8221;"<br />
 LOG_URL=&#8221;"<br />
-REV_FILE=&#8221;$HOME/.svn-growlnotify.version&#8221;<br />
 MAX_REVS=&#8221;5&#8243;<br />
 GROWLNOTIFY=&#8221;/usr/local/bin/growlnotify&#8221;</p>
<p>@@ -24,6 +23,9 @@<br />
 		g) GROWLNOTIFY=$OPTARG;;<br />
 	esac<br />
 done<br />
+REV_FILE=&#8221;$HOME/.svn-growlnotify/$(basename $SVN_ROOT)&#8221;<br />
+<br />
+test -d $HOME/.svn-growlnotify || mkdir -p $HOME/.svn-growlnotify</p>
<p> if [ "$SVN_ROOT" = "" ]; then<br />
 	echo &#8220;Usage: $0 -s  [-l LOG_URL] [-r REV_FILE] [-m MAX_REVS] [-g GROWLNOTIFY]&#8221;</p>
<p>I also converted your cronjobs to a launchd job.  Mine is set to 120 seconds instead of 60.</p>
<p>	Label<br />
	repository name<br />
	ProgramArguments</p>
<p>		/path/to/svn-growlnotify.sh<br />
		-s<br />
		<a href="http://your.repository.ur/l" rel="nofollow">http://your.repository.ur/l</a><br />
		1&gt;/dev/null<br />
		2&gt;&amp;1</p>
<p>	StartInterval<br />
  120</p>
<p>I named the file svn.repository.plist, and put it in ~/Library/LaunchAgents<br />
then I ran launchctl load svn.repository.plist</p>
<p>Sean</p>
]]></content:encoded>
	</item>
</channel>
</rss>

