plainbox:session: fix FLAG_IGNORE_JOB_CHECKSUMS_S

This patch fixes a embarrasing bug that gets triggered when session
resume is invoked with the ignore-job-checksums flag. The bug is a
result of later refactoring, which added binary flags in place of string
flags and set membership tests.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:session: fix FLAG_REWRITE_LOG_PATHNAMES_F

This patch fixes a embarrasing bug that gets triggered when session
resume is invoked with the rewrite-log-pathnames flag. The bug is a
result of later refactoring, which added binary flags in place of string
flags and set membership tests.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:session: fix typo in comment

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:commands: add 'session list --only-ids'

This patch adds a new argument to 'plainbox session list'. If invoked
with the --only-ids argument, the output is frendlier for scripting and
consists of session identifiers which are printed one per line.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:clitools: add support for early logging

This patch adds support for early logging. Early logging can be enabled
even before command line argument parsing is attempted. It is perfect
for debugging command line handling code itself.

The feature is enabled by setting environment variables. There are three
new variables: PLAINBOX_DEBUG, PLAINBOX_TRACE and PLAINBOX_LOG_LEVEL.
The details of their behavior are documented in the plainbox manual
page.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
"automatic merge of lp:~zkrynicki/checkbox/session-cmd-scripting/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"
"automatic merge of lp:~zkrynicki/checkbox/early-logging/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"
"automatic merge of lp:~zkrynicki/checkbox/session-fixes/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"