lp://qastaging/~zyga/checkbox/investigation

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp://qastaging/~zyga/checkbox/investigation
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
Checkbox
Status:
Development

Recent revisions

3498. By Zygmunt Krynicki

plainbox:i18n: fix non-default domain lookups

This patch changes how plainbox.i18n.{bind,}textdomain() works. In the
past they would just proxy the calls to the original python gettext
module.

This works okay for anything not using our internal i18n APIs. If, however,
someone is using dgettext() with a domain that's not 'plainbox', it would
fail to load the translation catalog from a custom domain *and* a custom
locale directory at the same time.

This patch moves textdomain and bindtextdomain functions to be a method
of the ITranslator API. Inside the GettextTranslator we now use
bindtextdomain as hints and store the locale directory which is finally
used to instantiate the translation catalog. For compatibility, both
methods are still calling their equivalents from thet gettext module.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3497. By Zygmunt Krynicki

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 <email address hidden>

3496. By Zygmunt Krynicki

plainbox:provider_manager: fail gracefully in InstallCommand.get_command_epilog()

Signed-off-by: Zygmunt Krynicki <email address hidden>

3495. By Zygmunt Krynicki

plainbox:provider_manager: fix PEP-8 issue

Signed-off-by: Zygmunt Krynicki <email address hidden>

3494. By Zygmunt Krynicki

plainbox:provider_manager: add support for i18n in manage_py_extension

Signed-off-by: Zygmunt Krynicki <email address hidden>

3493. By Zygmunt Krynicki

plainbox:units:testplan: fix get_effective_category

This patch fixes TestPlan.get_effective_category() when no overrides
are being applied and the natural category is supposed to be returned.

Signed-off-by: Zygmunt Krynicki <email address hidden>

3492. By Zygmunt Krynicki

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 <email address hidden>

3491. By Zygmunt Krynicki

plainbox:session: fix typo in comment

Signed-off-by: Zygmunt Krynicki <email address hidden>

3490. By Zygmunt Krynicki

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 <email address hidden>

3489. By Zygmunt Krynicki

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 <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/checkbox
This branch contains Public information 
Everyone can see this information.

Subscribers