[Buildroot] [PATCH v2 00/10] autobuild-run: python3 compat and misc improvements
André Erdmann
dywi at mailerd.de
Wed Mar 18 15:50:33 UTC 2015
Changes v1->v2:
* catch up with git HEAD: further cleanup/python3-compat changes (patches 1-6)
* "move check_requirements() to SystemInfo" is mostly identical to v1;
changed: use "upload" var, remove entry from TODO list
* "encapsulate subprocess calls" had to be reworked
It now wraps subprocess.Popen() instead of subprocess.call(),
and implements run_cmd(), run_cmd_write_to() and (new:) run_cmd_get_stdout()
on top of it. This covers all uses cases of the subprocess module and,
in the case of run_cmd_get_stdout(), handles the bytes->str conversion.
In v1, the "set-locale" patch added a subprocess.check_output() wrapper,
which has been dropped.
* "set subprocess env" is a separate commit now,
used to be part of the "set-locale" patch
André Erdmann (10):
autobuild-run: fixup imports
autobuild-run, python3: dict.iteritems()->items()
autobuild-run, python3: decode subprocess output
autobuild-run, python3: encode/decode mmap data
autobuild-run: avoid use of builtin as varname
autobuild-run: reorganize imports
autobuild-run: move check_requirements() to SystemInfo
autobuild-run: encapsulate subprocess calls
autobuild-run: control subprocess env
autobuild-run: set locale to en_US or C
scripts/autobuild-run | 280 +++++++++++++++++++++++++++++++++-----------------
1 file changed, 183 insertions(+), 97 deletions(-)
--
2.3.2
More information about the buildroot
mailing list