lp:~zyga/checkbox/new-validation-core

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/checkbox/new-validation-core
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

3254. By Zygmunt Krynicki

plainbox:unit:template: use public 'provider' property

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

3253. By Zygmunt Krynicki

plainbox:unit:category: improve CategoryUnit validation

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

3252. By Zygmunt Krynicki

plainbox:unit:category: improve UnitCategory docstrings

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

3251. By Zygmunt Krynicki

plainbox:unit: add UnitType (metaclass)

This patch makes each Unit a bit more magic so that (finally)
Unit.Meta and Unit.Meta.fields are automatically generated and
there is no explicit need to subclass all the boring base classes.

In addition, the legacy attribute Unit.fields is automatically aliased
to Unit.Meta.fields

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

3250. By Zygmunt Krynicki

plainbox:provider_manager: add an option to use the new validation stack

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

3249. By Zygmunt Krynicki

plainbox:secure:providers: add a way to use new validation stack via UnitPlugIn

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

3248. By Zygmunt Krynicki

plainbox:commands:run: silence deprecation warnings related to old validation API

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

3247. By Zygmunt Krynicki

plainbox:unit: rewrite validation subsystem

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

3246. By Zygmunt Krynicki

plainbox:unit: copy all the "legacy" code to new _legacy module

This patch takes legacy validation code paths from *each* existing unit
and copies it to the new _legacy module. The module contains a collection
of classes ${name}ValidatorLegacyAPI and ${name}LegacyAPI that contain
legacy code for the the validator and unit classes respectively.

All of the validators were unified to be normal classes with normal
methods and not a random collection of classes with normal and static
methods.

This code is not yet being used. This will come up in subsequent patches.

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

3245. By Zygmunt Krynicki

plainbox:po: update Polish translations

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:checkbox
This branch contains Public information 
Everyone can see this information.

Subscribers