Bugzilla – Bug 547605
multiple submitreqs break ...
Last modified: 2011-03-14 12:59:18 UTC
Now that osc request accept appears to delete a home:... branch of a package, it is easy to create a mess: osc sr -m 'fix my bug' Moblin:UI osc sr -m 'fix my bug' Moblin:Factory results in two requests, both of which are fine, until one is accepted - at which point the other breaks - with some broken/deleted link goodness. It would be preferable if you could only submit once, or at least get a warning, or (perhaps) not delete the source until there are no pending submitrequests on a package (?).
Actually, the webui asks for this specifically, seems like osc doesn't. @Marcus: does it?
No osc doesn't ask for it but it offers the "--no-cleanup" option. By default the "submitrequest_on_accept_action" config option is used (if nothing else is specified) which is by default empty. Therefore the api decides what happens with a source package after the accept.
Actually, in this specific case, the API should have checked if there are any pending requests based on this source package and don't remove it (even if asked to) until all related requests are handled.