Merge lp://staging/~zyga/checkbox/fix-1444662 into lp://staging/checkbox
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~zyga/checkbox/fix-1444662 |
Merge into: | lp://staging/checkbox |
Diff against target: |
148 lines (+71/-3) 4 files modified
plainbox/plainbox/impl/clitools.py (+30/-0) plainbox/plainbox/impl/commands/inv_selftest.py (+5/-3) plainbox/plainbox/impl/test_clitools.py (+33/-0) plainbox/plainbox/test_provider_manager.py (+3/-0) |
To merge this branch: | bzr merge lp://staging/~zyga/checkbox/fix-1444662 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Po-Hsu Lin | Approve | ||
Sylvain Pineau (community) | Approve | ||
Maciej Kisielewski (community) | Approve | ||
Review via email: mp+256491@code.staging.launchpad.net |
Unmerged revisions
- 3791. By Zygmunt Krynicki
-
plainbox:clitools: detect broken locale
This patch makes plainbox abort all execution early if it detects a
broken locale configuration. There is no way to do this that is more
gentle. I've considered assuming UTF-8 and converting the output
manually, setting up some other magic but it all just hides the problem
and surfaces bugs where explicit encoding is not specified. In the end
the user will still see a problem but have no way to understand why.Since the root of the problem is in broken PAM/ssh negotiation we cannot
really fix it by ourselves. Any application on the system that is
configured this way or accessed remotely from other systems (via SSH)
will exhibit various problems. Our approach is to just say no.Fixes: https:/
/bugs.launchpad .net/plainbox/ +bug/1444662 Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3790. By Zygmunt Krynicki
-
plainbox:
commands: self-test: force-set LANG, unset LANGUAGE, LC_ALL for testing Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3789. By Zygmunt Krynicki
-
plainbox:
provider_ manager: set LANG for testing Signed-off-by: Zygmunt Krynicki <email address hidden>
Nice!
Tested from OSX -> ssh -> ubuntu. Nice two warnings. w00t!