Moved __version__ attribute to checkbox.parsers.__version__ as requested by users
Synchronization of version changes from checkbox-old to checkbox-support
checkbox_ng:commands:test_cli: test correct tracking of resources.

This ensures that the CLI's tree selection visually "ignores" resources
while still keeping track of them internally and returning them as part
of the selection when queried. It's a retrofitted test for the earlier
fix to bug LP: #1288399.
plainbox:secure:providers: use both implicit locale_dir for effective_locale_dir

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:secure:providers: add Provider1Definition.implicit_build_locale_dir

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:commands:startprovider: use README.md not, readme.md

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:commands:startprovider: modernize the template

This patch modernizes the generated template content.

* The 'name' field is replaced with the 'id' field
* The 'summary' field is added to every job
* Both 'summary' and 'description' are marked as translatable
* The manage.py file uses gettext-noop for provider description
* The .{bzr,git}ignore files now ignore 'build/mo/*'

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:commands:startprovider: add po/ to generated template

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: fix I18NCommand to use proper directory order

This patch fixes incorrect directory order in the set of directories
constructed when building binary message catalogs. The correct order is
build/mo/$language/LC_MESSAGES. Previously LC_MESSAGES and $language
were swapped.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: add support for installation layouts

This patch changes manage.py install to support several directory
layouts that define where each part of the provider ends up in.
Available profiles are flat (same as before, default), unix (suitable
for packaging).

Tests are adjusted to verify both layouts.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: improve assertFileContent

The assertFileContent method will now fail with an informative message
if the file doesn't exist.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: fail `manage.py i18n` if gettext_domain is unset

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: create po for 'manage.py i18n'

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: don't set locale_dir in setup()

Setting locale_dir in setup() is no longer required.
Provider1.from_definition() can now properly detect the 'build/mo'
subdirectory (thanks to improvements in
Provider1Definition.effective_locale_dir)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: display provider description in `manage.py info`

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox:provider_manager: display partial_id in `manage.py info`

Since all of the jobs share the namespace it makes no sense to
re-display it over and over for each job.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-old:data:whitelists:sru: Add the OpenCV screenshot validation test
"automatic merge by tarmac [r=zkrynicki][bug=][author=sylvain-pineau]"
"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"
"    checkbox_ng:commands:test_cli: test correct tracking of resources.
    
    This ensures that the CLI's tree selection visually "ignores" resources
    while still keeping track of them internally and returning them as part
    of the selection when queried. It's a retrofitted test for the earlier
    fix to bug LP: #1288399.
 [r=zkrynicki][bug=1288399][author=roadmr]"