<?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: Gantty learns a trick: Trac to Gantt in 30 seconds flat</title>
	<atom:link href="http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/</link>
	<description>Computer Science, Ruby, and Software Engineering.</description>
	<lastBuildDate>Thu, 11 Feb 2010 05:57:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jakub Holý</title>
		<link>http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/comment-page-1/#comment-2578</link>
		<dc:creator>Jakub Holý</dc:creator>
		<pubDate>Fri, 16 Jan 2009 12:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/#comment-2578</guid>
		<description>&lt;p&gt;Thank you for the script, it&#039;s really a useful piece of code.&lt;/p&gt;

&lt;p&gt;I&#039;ve an improvement proposal: It would be cool if it also read and transformed the following custom ticket fields from ticket_custom (don&#039;t remember what Trac plugin provides them):
* estimatedhours: the esimated number of hours a task will take to complete
* totalhours: number of hours spend so far on the ticket implementation/resolution
* blockedby: comma separated numbers of tickets that block this one (a similar attribute from another extension is &quot;dependencies&quot;)&lt;/p&gt;

&lt;p&gt;I&#039;d implement those ehnancements myself but don&#039;t know Ruby.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you for the script, it&#8217;s really a useful piece of code.</p>

<p>I&#8217;ve an improvement proposal: It would be cool if it also read and transformed the following custom ticket fields from ticket_custom (don&#8217;t remember what Trac plugin provides them):
* estimatedhours: the esimated number of hours a task will take to complete
* totalhours: number of hours spend so far on the ticket implementation/resolution
* blockedby: comma separated numbers of tickets that block this one (a similar attribute from another extension is &#8220;dependencies&#8221;)</p>

<p>I&#8217;d implement those ehnancements myself but don&#8217;t know Ruby.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ardekantur</title>
		<link>http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/comment-page-1/#comment-2255</link>
		<dc:creator>Ardekantur</dc:creator>
		<pubDate>Wed, 03 Dec 2008 20:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/#comment-2255</guid>
		<description>&lt;p&gt;Radek: Thanks for trying it out! I cleaned up your comments :-) You should get a GitHub account and fork that script. It&#039;d be awesome and useful for everyone.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Radek: Thanks for trying it out! I cleaned up your comments :-) You should get a GitHub account and fork that script. It&#8217;d be awesome and useful for everyone.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Radek Krotil</title>
		<link>http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/comment-page-1/#comment-2247</link>
		<dc:creator>Radek Krotil</dc:creator>
		<pubDate>Wed, 03 Dec 2008 18:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ardekantur.com/2008/11/gantty-learns-a-trick-trac-to-gantt-in-30-seconds-flat/#comment-2247</guid>
		<description>&lt;p&gt;Thank you, this script is very useful!&lt;/p&gt;

&lt;p&gt;Just a few remarks (I never used Ruby before):
1)With @milestone_task.start = Date.today, you can easily get end date before start date and gantty-0.1.8 didn&#039;t like it.&lt;/p&gt;

&lt;p&gt;2) Empty timepoint causes division by zero in   @milestone_task.percent_complete = ((uncompleted_tickets.count.to_f / all_tickets.count.to_f) * 100).to_i&lt;/p&gt;

&lt;p&gt;so I fixed it like this:&lt;/p&gt;

&lt;p&gt;if all_tickets.count.to_i != 0
  @milestone_task.percent_complete = ((uncompleted_tickets.count.to_f / all_tickets.count.to_f) * 100).to_i
else
  @milestone_task.percent_complete = 0
end&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you, this script is very useful!</p>

<p>Just a few remarks (I never used Ruby before):
1)With @milestone_task.start = Date.today, you can easily get end date before start date and gantty-0.1.8 didn&#8217;t like it.</p>

<p>2) Empty timepoint causes division by zero in   @milestone_task.percent_complete = ((uncompleted_tickets.count.to_f / all_tickets.count.to_f) * 100).to_i</p>

<p>so I fixed it like this:</p>

<p>if all_tickets.count.to_i != 0
  @milestone_task.percent_complete = ((uncompleted_tickets.count.to_f / all_tickets.count.to_f) * 100).to_i
else
  @milestone_task.percent_complete = 0
end</p>]]></content:encoded>
	</item>
</channel>
</rss>

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