lp:~gocept/landscape-client/fix-locale-dependency

Created by Steffen Allner and last modified
Get this branch:
bzr branch lp:~gocept/landscape-client/fix-locale-dependency
Members of Gocept can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gocept
Project:
Landscape Client
Status:
Development

Recent revisions

1001. By Steffen Allner

Avoid locale dependency in tests.

1000. By Steffen Allner

Merge py3-startup [f=] [r=nilo,ack,free.ekanayaka,landscape-builder] [a=Gocept]
This MP allows to startup the client as there has been an issue with writing bytes to the stdout/stderr with the watchdog.

Additionally, I included a hacky workaround to convert all keys in dictionaries to unicode, when they are retrieved from a bpickled stream of data, and to write them back as bytes when bpickle.dumps().

If this is accepted that should be included in the bpickle git repository.

999. By Steffen Allner

Merge py3-packages [f=] [r=free.ekanayaka,ericsnowcurrently,landscape-builder] [a=Gocept]
Add the landscape-common3 deb package and use it in landscape-client.

This MP changes the debian package build configuration of the project to build a Python 3 driven landscape-client package. This is facilitated through a new landscape-common3 package. The existing landscape-common package, based on Python 2, remains unchanged.

998. By Steffen Allner

Merge unicode-env-variables [f=] [r=free.ekanayaka,simpoir,ericsnowcurrently,landscape-builder] [a=Gocept]
As reported in previous comments [0] and [1], having unicode in the environment variables can cause the twisted core to throw an error.

The twisted core assumes that the environment variables are bytes and would throw an Error if it fails to encode them. So we do it in the landscape client before spawning a process. In some cases (setting via terminal) the encoding needs surrogateescape as error handler.

997. By Steffen Allner

Merge py3-monitor-swiftusage [f=] [r=ericsnowcurrently,nilo,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.swiftusage.

We make a few bytes/unicode fixes and address a test ordering issue.

This patch also completes the fundamental Py3 port of the Landscape client. So all tests are now run under both Python 2 and 3, rather than just the selection of tests that had been ported thus far. Further work remains to address remaining (untested) Python 3 incompatibilities.

996. By Steffen Allner

Merge py3-monitor-processorinfo [f=] [r=ericsnowcurrently,nilo,adam-collard,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.processorinfo.

It fixes a problem with comparision between int and list.

995. By Steffen Allner

Merge py3-monitor-aptpreferences [f=] [r=ericsnowcurrently,nilo,tealeg,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.aptpreferences.

It fixes the Py3 change in floor division operator.

994. By Steffen Allner

Merge py3-monitor-packagemonitor [f=] [r=ericsnowcurrently,nilo,tealeg,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.packagemonitor.

It fixes some bytes/unicode issues in the tests.

993. By Steffen Allner

Merge py3-monitor-networkactivity [f=] [r=ericsnowcurrently,nilo,adam-collard,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.networkactivity.

This fixes some bytes/unicode issues as well as dict mutation while iterating.

992. By Steffen Allner

Merge py3-monitor-networkdevice [f=] [r=nilo,ericsnowcurrently,landscape-builder] [a=Gocept]
This is the Py3 port of landscape.monitor.networkdevice.

It involves bytes/unicode fixes.

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