GNOME Bugzilla – Bug 723082
'trychekout' gets confused on consecutive errors
Last modified: 2014-01-29 11:03:39 UTC
Even with 'trychekout' enabled, if a module fails jhbuild would directly jump to the interactive prompt if the previous one failed too. This is caused by the fact that the last tried action is not properly reset when picking up a new module, so if jhbuild already tried to force_checkout the previos module it would run out of options for the current one. The attached patch resets self.triedcheckout on start_module().
Created attachment 267281 [details] [review] terminal: Clean trycheckout status when picking up a new module If two consecutive modules were to fail with trycheckout enabled, jhbuild would get quite confused as the last tried recovery phase didn't get reset properly. This would cause jhbuild to go straight to eg. the force_checkout phase if the previous module built by forcing the configure phase, or bail out completely if the previous module failed.
Thanks.