<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>gridengine.info : Tag sourcecode, everything about sourcecode</title>
    <link>http://gridengine.info/tag/sourcecode.rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>tracking Grid Engine news, bugs, howtos and best practices</description>
    <item>
      <title>RSS feed for recent gridengine source code changes</title>
      <description>&lt;p&gt;
Feedback wanted on a new experiment I've been playing around with ...
&lt;/p&gt;&lt;p&gt;
If you make use of an RSS feed reader or aggregator and are interested enough in Grid Engine to want to keep an eye on codebase activity then please check out this newly created (and still in testing) RSS feed:
&lt;/p&gt;&lt;p&gt;&lt;blockquote&gt;&lt;a tite="RSS feed covering recent Grid Engine CVS codebase changes" href="http://gridengine.info/feeds/gridengine-codebase-activity.rdf"&gt;http://gridengine.info/feeds/gridengine-codebase-activity.rdf&lt;/a&gt;&lt;/blockquote&gt;&lt;/p&gt;&lt;p&gt;The feed is generated via the &lt;span class="code"&gt;&lt;a href="http://laughingmeme.org/cvs2rss/"&gt;cvs2rss.pl&lt;/a&gt;&lt;/span&gt; script which in turn, relies on &lt;span class="code"&gt;&lt;a href="http://www.red-bean.com/cvs2cl/"&gt;cvs2cl.pl&lt;/a&gt;&lt;/span&gt;. 
&lt;/p&gt;&lt;p&gt;By default, cvs2rss.pl is only able to generate HTML links to websites using the ViewCVS CGI front end. However, since the code was so well written it was a trivial exercise for me to write a new &lt;span class="code"&gt;CVS2RSS::Formatter::CollabNet&lt;/span&gt; perl module that is capable of deep linking into the collabnet-powered gridengine.sunsource.net CVS browsing tools. 
&lt;/p&gt;&lt;p&gt;
The final customization was copied by from great hack done by newly minted Ph.D. and &lt;a href="http://www.bioperl.org/wiki/Main_Page"&gt;bioperl&lt;/a&gt; guru &lt;a href="http://www.bioperl.org/wiki/User:Jason"&gt;Jason Staijch&lt;/a&gt;. The original version of cvs2rss.pl creates HTML links that go directly to the revised file mentioned in the CVS commit log. Jason ended up hacking the &lt;span class="code"&gt;cvs2rss Formatter::&lt;/span&gt; code so that the URL (by default) points to a page that renders a "colored diff" comparison between the current file revision and the previous version. This is a great, direct and easy way to directly see *&lt;b&gt;exactly&lt;/b&gt;* what was changed or added. 
&lt;/p&gt;&lt;p&gt;
Here is an example showing the "default" behavior of cvs2rss.pl versus the "compare changes URL" behavior:
&lt;ul&gt;&lt;li&gt;Version 1.123.2.5 of "sge_event_master.c", &lt;a href="http://gridengine.sunsource.net/source/browse/gridengine/source/libs/evm/sge_event_master.c?rev=1.123.2.5&amp;view=markup"&gt;default cvs2rss.pl URL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Version 1.123.2.5 of "sge_event_master.c", &lt;a href="http://gridengine.sunsource.net/source/browse/gridengine/source/libs/evm/sge_event_master.c?r1=1.123.2.4&amp;r2=1.123.2.5&amp;="&gt;the comparative URL&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br/&gt;Nice hack, huh?
&lt;/p&gt;&lt;p&gt;
The RSS feed works best for single-file commits as it will generate links that point directly at the above mentioned "colored diff" URL hosted at the gridengine.sunsource.net website. For cases where *&lt;b&gt;many&lt;/b&gt;* file changes are committed at the same time, the best we can do is link generically to the gridengine.sunsource.net CVS browsing page.
&lt;/p&gt;&lt;p&gt;Please check this out and let me know if it is useful. Currently I'm generating the RSS manually but it should be easy to automate if people actually find it worthwhile.
&lt;/p&gt;

</description>
      <pubDate>Fri, 05 May 2006 08:47:16 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:0d86b449-274b-43e5-9086-597d0ca4700a</guid>
      <author>dag@sonsorol.org (chris)</author>
      <comments>http://gridengine.info/2006/05/05/rss-feed-for-recent-gridengine-source-code-changes#comments</comments>
      <category>News</category>
      <category>Code &amp; Building from source</category>
      <category>sourcecode</category>
      <category>CVS</category>
      <category>feed</category>
      <link>http://gridengine.info/2006/05/05/rss-feed-for-recent-gridengine-source-code-changes</link>
    </item>
  </channel>
</rss>
