~kissiel/plainbox:sudo-snappy-desktop

Last commit made on 2017-07-13
Get this branch:
git clone -b sudo-snappy-desktop https://git.launchpad.net/~kissiel/plainbox
Only Maciej Kisielewski can upload to this branch. If you are Maciej Kisielewski please log in for upload directions.

Branch merges

Branch information

Name:
sudo-snappy-desktop
Repository:
lp:~kissiel/plainbox

Recent commits

e7f5224... by Maciej Kisielewski

use `-S` in sudo controller

Fixing root jobs in not-passless-sudo snappy environments.

Fixes: LP:1581352

Signed-off-by: Maciej Kisielewski <email address hidden>

4150e35... by Maciej Kisielewski

use authentication warm-up in SessionAssistant

Signed-off-by: Maciej Kisielewski <email address hidden>

56d79b9... by Maciej Kisielewski

add warm-up function for RootViaSudoExecutionController

This lays foundation for sudo invocation with '-S' (use stdin instead of tty).
Now, if sudo controller is used, the user will be prompted for sudo pass from
ordinary subprocess call, and not from the job execution environment (where
the prompt is/may_be piped (i.e. hidden).

The API makes execution controllers return a callable that will be called when
just before the job in queue. The warm-up functions are gathered for the whole
to-do list, and the duplicates are ignored. This is why I chose to store the
lambda in the controllers state and return the same lambda every time.
If that lambda was returned from get_warm_up_for_the_job function then every
time new function object would be created.

Signed-off-by: Maciej Kisielewski <email address hidden>

f16833b... by Maciej Kisielewski

bring back stupid whitespace at EOL

Signed-off-by: Maciej Kisielewski <email address hidden>

35401a7... by Maciej Kisielewski

update docs to reflect yearless IQNs

Signed-off-by: Maciej Kisielewski <email address hidden>

f201e20... by Maciej Kisielewski

remove year prefix from exporters

Signed-off-by: Maciej Kisielewski <email address hidden>

35f8299... by Maciej Kisielewski

remove year prefix from tests

Signed-off-by: Maciej Kisielewski <email address hidden>

32733e8... by Maciej Kisielewski

remove "2013." from all provider names and uses

Signed-off-by: Maciej Kisielewski <email address hidden>

491fab0... by PMR <pmr@pmr-lander>

Merge #326929 from ~sylvain-pineau/plainbox:empty_resource

461bd85... by Sylvain Pineau

Always return an empty Resource object if the resource command outputs nothing

This way requirements like 'foo.name or bar.type' won't fail the whole
expression if foo didn't return any records.