lp:~ack/landscape-client/package-reporter-run-timestamp
- Get this branch:
- bzr branch lp:~ack/landscape-client/package-reporter-run-timestamp
Branch merges
- Free Ekanayaka (community): Approve
- Adam Collard (community): Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 165 lines (+45/-13)3 files modifiedlandscape/message_schemas.py (+6/-3)
landscape/package/reporter.py (+5/-2)
landscape/package/tests/test_reporter.py (+34/-8)
Related bugs
Bug #1674252: Add a timestamp to package reporting result | Medium | Fix Committed |
Related blueprints
Branch information
Recent revisions
- 960. By Steffen Allner
-
Merge fetch-strings-
and-bytes [f=1672720] [r=danilo, mh-gocept, landscape- builder] [a=Gocept]
Fix UnicodeDecodeError (bug #1672720) when exchanging message with the server.Encode unicode strings in landscape.lib.fetch before passing over to libcurl.
- 959. By Данило Шеган
-
Merge bpickle3-update [f=] [r=landscape-
builder, adam-collard, free.ekanayaka] [a=Данило Шеган]
Move to the latest bpickle3 library for both python 2.x and 3.xLatest bpickle3 library has fixes for backwards compatibility and works exactly the same in both python 2.x and 3.x, mapping internal types to appropriate bpickle representations.
Mostly from "upstream" pull request at https:/
/github. com/CanonicalLt d/bpickle3/ pull/1 - 958. By Steffen Allner
-
Merge py3-sysinfo [f=] [r=mh-gocept,
danilo, landscape- builder] [a=Gocept]
Update landscape.sysinfo tests to work with python 2.x and 3.x. - 957. By Steffen Allner
-
Merge py3-network [f=] [r=danilo,
nilo,landscape- builder] [a=Gocept]
Support both python 2 and 3 in the landscape.lib.network module. This module mostly consists of methods used in this model to retrieve information about network devices. To achieve this, calls to socket methods are used, which require bytes as input. To maintain compatibility with the code using `get_active_ device_ info` the result of this function still consists of strings in Python 3 but the internal methods now explicitly work on bytes. The `skipped_ interfaces` are still a tuple of strings to maintain signature stability. - 956. By Adam Collard
-
Merge retain-
lib-fs- backwards- compat [f=1672808] [r=free. ekanayaka, landscape- builder, ack] [a=Adam Collard]
Add backwards compatible aliases for landscape.lib.fs. read_file and landscape. lib.fs. create_ file given their usage in server code. - 955. By Steffen Allner
-
Merge py3-twisted-util [f=] [r=nilo,
landscape- builder, danilo, sallner] [a=Gocept]
Support python 2 and 3 in code which receives data from the stdout and stderr and therefore handles with Bytes and not with Stings in Python 3. To reduce the amount of compat code, the code has been changed to use the same `io.BytesIO()` in Python 2 and 3. - 954. By Steffen Allner
-
Merge py3-fs [f=] [r=landscape-
builder, adam-collard, nilo,danilo] [a=Gocept]
Split off read/create/append_ file into text and binary file counterparts to serve strictly one purpose, thus clarifying the intention in each individual call. Make rest of the code in landscape/lib/fs.py python2/3 compatible.
- 953. By Steffen Allner
-
Merge test-python3-ported [f=] [r=danilo,
landscape- builder, nilo] [a=Gocept]
Run partial python3 tests (listed in file "py3_ready_tests") along with full python2 test run as part of "make check".
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~landscape/landscape-client/trunk