lp://staging/~ericsnowcurrently/landscape-client/fix-1680560-fix-db-package

Created by Eric Snow and last modified
Get this branch:
bzr branch lp://staging/~ericsnowcurrently/landscape-client/fix-1680560-fix-db-package
Only Eric Snow can upload to this branch. If you are Eric Snow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Eric Snow
Project:
Landscape Client
Status:
Merged

Recent revisions

1010. By Eric Snow

Mark the two packages as conflicting.

1009. By Eric Snow

Use Python 2 for landscape-common.

1008. By Eric Snow

Do not use symlinks.

1007. By Eric Snow

landscape-common -> landscape-common3

1006. By Free Ekanayaka

Merge py3-registration [f=] [r=landscape-builder,simpoir,ericsnowcurrently] [a=Free Ekanayaka]
Adjust wire-to-language type conversions in order to have Landscape registration work.

1005. By Free Ekanayaka

Add missing python3-distutils-extra build dependency [trivial] [r=andreas]

1004. By Steffen Allner

Merge fetch-returns-bytes-in-tests [f=] [r=simpoir,ericsnowcurrently,landscape-builder] [a=Gocept]
Return bytes from mocks of landscape.lib.fetch.fetch().

In this MP an inconsistency between tests and actual implementation was fixed. The landscape.lib.fetch.fetch() returns bytes now explicitly, but this was not reflected in the mocks used throughout the landscape-client project.

I tried to convert all return values of the mocks to bytes and adjusted the tests accordingly.

1003. By Steffen Allner

Merge py3-cleanup [f=] [r=ericsnowcurrently,landscape-builder,nilo] [a=Gocept]
Cleanups related to landscape.compat (and lint).

This MP cleans up small residues from the port to Python 2/3 compatibility. It removes the unwanted coerce_unicode() helper method, which was replaced by individual solutions at the respective place of use. Furthermore unused imports have been removed and the usage (c)StringIO has been investigated, whether it could be replaced by a common io.{String,Bytes}IO() call in Python 2 and 3. This was often not the case, as this was also connected with the logging setup in the tests, which should not be addressed here.

1002. By Eric Snow

Merge fix-test-race-sys-argv [f=1677630] [r=free.ekanayaka,simpoir] [a=Eric Snow]
his patch fixes a race condition in tests involving sys.argv.

Under certain load conditions there is a collision on patched-out
sys.argv. To resolve this, we switch to using the config to store the
bindir that should be used (rather than extrapolating from sys.argv[0]).

1001. By Steffen Allner

Merge raise-error-on-signal [f=] [r=ericsnowcurrently,landscape-builder,nilo] [a=Gocept]
"Raise" a new SignalError from AllOutputProcessProtocol.processEnded().

The exception is propagated through reactor.errback() rather than actually raised. SignalError happens when a twisted-spawned process exits due to a signal. This is a necessary change because of how twisted errbacks are handled in Python 3. However, it is also a valid change for Python 2 since errbacks align with exceptions, not tuples.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~landscape/landscape-client/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers