Merge ~kissiel/plainbox:fix-1741109-hide-automated into plainbox:master

Proposed by Maciej Kisielewski on 2018-01-09
Status: Merged
Approved by: Maciej Kisielewski on 2018-01-09
Approved revision: 5089b53d04987a8d6a2eb6e5de96fa5f641977fb
Merged at revision: 2d876a090dbfafa14c259f629a23529c8ffbeeef
Proposed branch: ~kissiel/plainbox:fix-1741109-hide-automated
Merge into: plainbox:master
Diff against target: 14 lines (+2/-1)
1 file modified
plainbox/impl/ (+2/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau 2018-01-09 Approve on 2018-01-09
Review via email:

Description of the change

Add 'hide-automated' as a valid option to the 'output' variable in [ui] section in configs/launchers.

This variable is listed on and the code did not actually support it. The logic was there, just the declaration was missing in the config module.

This MR adds this declaration.

To test it use launcher with this section in it:

output = hide-automated

It should behave just as 'hide' would.

TBH I don't know why we missed to land this earlier.

Fixes: LP:1741109

To post a comment you must log in.
Sylvain Pineau (sylvain-pineau) wrote :


review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/plainbox/impl/ b/plainbox/impl/
2index 034c613..381c751 100644
3--- a/plainbox/impl/
4+++ b/plainbox/impl/
5@@ -166,7 +166,8 @@ class LauncherDefinition1(LauncherDefinition):
6 section='ui',
7 default='show',
8 validator_list=[config.ChoiceValidator(
9- ['show', 'hide', 'hide-resource-and-attachment'])],
10+ ['show', 'hide', 'hide-resource-and-attachment',
11+ 'hide-automated'])],
12 help_text=_('Silence or restrict command output'))
14 dont_suppress_output = config.Variable(


People subscribed via source and target branches