porting scripts to python3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | scripts: python3: convert iterables to listsscripts/ scripts/ scripts/ +4 more | +12 | 2 replies | |
| 2/16 | scripts: python3: use new style except statementscripts/ scripts/ scripts/ +1 more | +14 | 0 replies | |
| 3/16 | scripts: python3: rename raw_input to inputscripts/ scripts/ scripts/ +1 more | +16 | 0 replies | |
| 4/16 | scripts: python3: fix urllib importsscripts/ scripts/ | +9 | 0 replies | |
| 5/16 | ksize.py: python3: get rid of strings.joinscripts/ | +1 | 0 replies | |
| 6/16 | scripts: python3: get rid of __future__ importsscripts/ scripts/ scripts/ +1 more | +0 | 0 replies | |
| 7/16 | scripts: python3: use new metaclass syntaxscripts/ scripts/ | +4 | 0 replies | |
| 8/16 | combo-layer: python3: import reducescripts/ | +1 | 0 replies | |
| 9/16 | engine.py: python3: rename sys.maxint to sys.maxsizescripts/ | +3 | 0 replies | |
| 10/16 | scripts: python3: use explicit relative importsscripts/ scripts/ | +2 | 0 replies | |
| 11/16 | scripts: python3: replace exec statement with builtinscripts/ | +1 | 0 replies | |
| 12/16 | engine: python3: replace iteritems() -> items()scripts/ | +3 | 1 reply | |
| 13/16 | dirsize: python3: fix TypeError: unorderable typesscripts/ | +5 | 0 replies | |
| 14/16 | scripts: python3: decode subprocess outputscripts/ scripts/ scripts/ +1 more | +8 | 0 replies | |
| 15/16 | combo-layer: python3: use tempfile.TemporaryFilescripts/ | +2 | 0 replies | |
| 16/16 | scripts: python3: change python to python3 in shebangscripts/ scripts/ scripts/ +23 more | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] porting scripts to python3
Hi,
Please review set of python3 fixes for oe scripts.
As most of the scripts are not covered by tests it was quite hard to test them. I tested only those which I know how to work with. It would be greate to have any help with testing.
The following changes since commit dcbfc72303d6782d9108538c830cf2ee7849bf59:
poky: Add Ubuntu 16.04 to tested/supported list since I run it myself (2016-06-02 10:37:05 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/oe/python3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe/python3
Ed Bartosh (16):
scripts: python3: convert iterables to lists
scripts: python3: use new style except statement
scripts: python3: rename raw_input to input
scripts: python3: fix urllib imports ksize.py: python3: get rid of strings.join
scripts: python3: get rid of __future__ imports
scripts: python3: use new metaclass syntax
combo-layer: python3: import reduce engine.py: python3: rename sys.maxint to sys.maxsize
scripts: python3: use explicit relative imports
scripts: python3: replace exec statement with builtin
engine: python3: replace iteritems() -> items()
dirsize: python3: fix TypeError: unorderable types
scripts: python3: decode subprocess output
combo-layer: python3: use tempfile.TemporaryFile
scripts: python3: change python to python3 in shebang
scripts/bitbake-whatchanged | 9 +++---- scripts/buildhistory-collect-srcrevs | 2 +- scripts/cleanup-workdir | 4 +-- scripts/combo-layer | 15 ++++++----- scripts/contrib/bbvars.py | 16 +++++------ scripts/contrib/devtool-stress.py | 2 +- scripts/contrib/list-packageconfig-flags.py | 2 +- scripts/contrib/verify-homepage.py | 6 ++--- scripts/cp-noerror | 10 +++---- scripts/gen-lockedsig-cache | 2 +- scripts/lib/bsp/engine.py | 34 +++++++++++------------- scripts/lib/bsp/kernel.py | 25 +++++++++-------- scripts/lib/devtool/__init__.py | 2 +- scripts/lib/devtool/build.py | 2 +- scripts/lib/devtool/standard.py | 4 +-- scripts/lib/recipetool/create_buildsys.py | 2 +- scripts/lib/recipetool/create_buildsys_python.py | 6 ++--- scripts/oe-pkgdata-util | 2 +- scripts/oe-publish-sdk | 2 +- scripts/oe-selftest | 2 +- scripts/oe-trim-schemas | 2 +- scripts/oepydevshell-internal.py | 4 +-- scripts/opkg-query-helper.py | 2 +- scripts/pybootchartgui/pybootchartgui/main.py.in | 2 -- scripts/pybootchartgui/pybootchartgui/parsing.py | 3 --- scripts/pythondeps | 2 +- scripts/relocate_sdk.py | 2 +- scripts/send-error-report | 22 +++++++-------- scripts/swabber-strace-attach | 2 +- scripts/sysroot-relativelinks.py | 2 +- scripts/test-remote-image | 10 +++---- scripts/tiny/dirsize.py | 16 +++++------ scripts/tiny/ksize.py | 8 +++--- scripts/wic | 2 -- scripts/yocto-bsp | 2 +- scripts/yocto-kernel | 2 +- scripts/yocto-layer | 2 +- 37 files changed, 107 insertions(+), 127 deletions(-)
--
Regards,
Ed