lp:~ack/landscape-client/fix-vivid-lxc-detection

Created by Alberto Donato and last modified
Get this branch:
bzr branch lp:~ack/landscape-client/fix-vivid-lxc-detection
Only Alberto Donato can upload to this branch. If you are Alberto Donato please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Alberto Donato
Project:
Landscape Client
Status:
Merged

Recent revisions

819. By Alberto Donato

Use systemd container file to detect LXC on vivid.

818. By Alberto Donato

Bring back container detection from the cgroup file, as a fallback.

817. By Björn Tillenius

Merge systemerror-no-retry [f=1444419] [r=chad.smith,ack] [a=Björn Tillenius]
Don't retry package operations if a SystemError is raised, since a
SystemError is most likely a permanent error and retrying won't help.

The original patch to retry the operation was to handle lock errors,
which are still properly retried with this branch.

816. By David Britton

Enable tarmac auto set milestone feature [r=sparkiegeek] [trivial]

815. By Chris Glass

Merge take-two-1434546-exit-code-2-on-error [f=1434546] [r=ack,benji] [a=Chris Glass]
Restore behavior of the program exiting with a non-zero exit code in case of
error during registration (specifically, "2").

814. By Chris Glass

Merge fix-1429888-wrong-credentials-stacktrace [f=1429888] [r=bjornt,adam-collard] [a=Chris Glass]
This branch fixes the related bug, where inappropriate account/password combinations made client registration badly.

813. By Benji York

Merge bug-1428826-restore-register-function-public-API [f=1428826] [r=adam-collard,bjornt] [a=Benji York]
Instead of running client configuration as an independent executable
(which would have been preferable), the client charm reaches inside and
calls the register() function directly. That has resulted in a
dependency on register()'s API which was not enforced via testing or
documented in register()'s docstring.

This branch restores the API the charm depends on, adds documentation as
to its meaning and importance, and adds tests that will warn us if the
API is broken in the future.

812. By Benji York

Merge better-self-signed-cert-ux-3 [f=] [r=bjornt,danilo] [a=Benji York]
This branch is a pure refactoring of the way the client configuration
communicates so as to separate the UI and network code in preparation
for better SSL error handling and user interaction.

Tests were then able to be improved -- but not as far as we would like.

Notes from Chris:

Most of the code breaks out nested function declaration to make them
easier to test, using functools.partial to keep the invocation sane in a
twisted context (test them "flat", use functools to pass closures to
event handlers).

We used manual stubs instead of mocks for readability and personal
preference [of both of us].

811. By Benji York

Merge faster-test-run [f=] [r=bjornt,free.ekanayaka,chad.smith] [a=Benji York]
A couple of tests inject dpkg failures which are retried 12 times with a 5 second sleep between. For test that's unneccesary, so this branch sets the sleep time to zero for those tests.

810. By Adam Collard

Don't use Python 2.7isms in the test suite (needs to run on Lucid) [trivial] [r=tribaal]

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