lp:~bjornt/landscape-client/lxd-update-fail

Created by Björn Tillenius and last modified
Get this branch:
bzr branch lp:~bjornt/landscape-client/lxd-update-fail
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Björn Tillenius
Project:
Landscape Client
Status:
Merged

Recent revisions

961. By Björn Tillenius

Ignore to report packages that are coming from backports.

The reason for this is that backports are enabled by default from
xenial, but landscape doesn't handle that well, since we don't support
pinning properly.

If we report packages from backports, it means that Landscape will
upgrade to those version if you use an upgrade profile or select all
upgrades to their latest versions.

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.x

Latest 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/CanonicalLtd/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".

952. By Steffen Allner

Merge py3-cloud [f=] [r=danilo,nilo,landscape-builder,ack] [a=Gocept]
Update landscape.lib.cloud test to ensure fetch_ec2_meta_data() always returns unicode strings (by decoding from UTF-8 if we get bytes).

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
This branch contains Public information 
Everyone can see this information.

Subscribers