Open escapewindow opened 7 years ago
This is not blocking Tier-1 and requires cli.py migration to py3 under tools which is something we don't know when we'll address in the future. Putting this on hold for now.
Whenever balrogscript is being py3'd, it can rely on scriptworker to:
Work was done in bug1445593
Now that code has moved out of built-tools, this should be simpler. I think the major bit of code that needs to be ported is [https://github.com/mozilla-releng/balrogscript/tree/master/balrogscript/submitter].
It probably makes sense to simplify that code as a first step. balrogscript.submitter.cli
has a bunch of inheritance, but none of the mixins are used by more than one leaf class, so they can all be merged so there is no inheritance. In addition, all the uses of the classes are to create an instance, and call exactly one method on it; I think we could simplify things to just call free functions instead.