MetricsGrimoire / Bicho

Bicho is a command line based tool used to parse bug/issue tracking systems
http://metricsgrimoire.github.com/Bicho/
GNU General Public License v2.0
68 stars 30 forks source link

Rounds downloading in bugzilla goes infinite #69

Closed acs closed 11 years ago

acs commented 11 years ago

Downloading Mediawiki issues I have found a problem:


DBG: [26/Jun/2013-04:47:29] Getting bugzilla issues from https://bugzilla.wikimedia.org/buglist.cgi?product=MediaWiki&order=changeddate&ctype=csv&chfieldfrom=2013-06-25%2001:08:33 Round #0 - Total issues to retrieve: 46 ... DBG: [26/Jun/2013-04:49:29] Last issues cached were modified on: 2013-06-26 01:54:42 DBG: [26/Jun/2013-04:49:29] Getting bugzilla issues from https://bugzilla.wikimedia.org/buglist.cgi?product=MediaWiki&order=changeddate&ctype=csv&chfieldfrom=2013-06-26%2001:54:42 Round #1 - Total issues to retrieve: 1 DBG: [26/Jun/2013-04:49:30] Issues to retrieve from: https://bugzilla.wikimedia.org/show_bug.cgi?id=50078&ctype=xml&excludefield=attachmentdata ... Round #1231 - Total issues to retrieve: 1 DBG: [26/Jun/2013-06:23:18] Issues to retrieve from: https://bugzilla.wikimedia.org/show_bug.cgi?id=50078&ctype=xml&excludefield=attachmentdata DBG: [26/Jun/2013-06:23:20] Retrieving activity of issue #50078 from https://bugzilla.wikimedia.org/show_activity.cgi?id=50078 DBG: [26/Jun/2013-06:23:21] Issue #50078 stored DBG: [26/Jun/2013-06:23:22] Last issues cached were modified on: 2013-06-26 01:54:42 DBG: [26/Jun/2013-06:23:22] Getting bugzilla issues from https://bugzilla.wikimedia.org/buglist.cgi?product=MediaWiki&order=changeddate&ctype=csv&chfieldfrom=2013-06-26%2001:54:42 Round #1232 - Total issues to retrieve: 2


The logic is a bit tricky so I propose to limit the max number of rounds.