Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] subprocess: cleanup subprocess calls
@ 2016-09-29 21:34 Stephano Cetola
  2016-09-29 21:34 ` [PATCH 1/3] subprocess: remove strings and migrate to direct arrays Stephano Cetola
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stephano Cetola @ 2016-09-29 21:34 UTC (permalink / raw)
  To: openembedded-core

This is the beginning of an effort to move toward a unified way of
using the subprocess module. The end goal is somday create a fork 
of the subprocess.run command intro'd in python 3.5.

The biggest hurdle in these efforts is in testing some of the more
obscure code paths that are touched when changing these subprocess
calls. With more time, many of the Popen calls that still exist
could be moved to either check_output or sub.run.

Stephano Cetola (3):
  subprocess: remove strings and migrate to direct arrays
  utils.py: gut python 2 commands in favor of subprocess.run
  subprocess: remove Popen in favor of check_output

 meta/classes/buildstats.bbclass |  6 ++++-
 meta/classes/spdx.bbclass       | 11 ++++----
 meta/lib/oe/distro_check.py     |  2 +-
 meta/lib/oe/package.py          | 13 ++++-----
 meta/lib/oe/package_manager.py  | 59 ++++++++++++++++++++---------------------
 meta/lib/oe/utils.py            | 11 +++-----
 6 files changed, 51 insertions(+), 51 deletions(-)

-- 
2.10.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-30 16:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 21:34 [PATCH 0/3] subprocess: cleanup subprocess calls Stephano Cetola
2016-09-29 21:34 ` [PATCH 1/3] subprocess: remove strings and migrate to direct arrays Stephano Cetola
2016-09-30 16:10   ` Burton, Ross
2016-09-29 21:34 ` [PATCH 2/3] utils.py: gut python 2 commands in favor of subprocess.run Stephano Cetola
2016-09-29 22:20   ` Christopher Larson
2016-09-29 22:52     ` Stephano Cetola
2016-09-29 21:34 ` [PATCH 3/3] subprocess: remove Popen in favor of check_output Stephano Cetola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox