lp:~zyga/checkbox/better-qualifiers

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

Recent revisions

2753. By Zygmunt Krynicki

plainbox:secure:qualifiers: make WhiteList namespace aware

This patch adds implicit_namespace to WhiteList initializer, the
WhiteList.from_string() and the WhiteList.from_file() methods.

The initializer will now prepend the implicit namespace to all the
patterns that don't contain the double-colon namespace operator that
separates job namespace form job partial id

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

2752. By Zygmunt Krynicki

plainbox:secure:qualifiers: add FieldQualifier

This patch adds a generic SimpleQualifier subclass capable of applying
any IMatcher to any field from a job definition.

Simple compositions of FieldQualifier, OperatorMatcher and PatternMatcher
can entirely replace all custom qualifiers currently in use.

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

2751. By Zygmunt Krynicki

plainbox:secure:qualifiers: add PatternMatcher

This simple IMatcher implementation uses regular expressions to
match a value to the built-in pattern. It can be used to replace
and generalize the RegExpJobQualifier (along with upcoming FieldQualifier)

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

2750. By Zygmunt Krynicki

plainbox:secure:qualifiers: add OperatorMatcher

This simple IMatcher implementation uses any binary operator,
from the standard operator module, to compare two values together.

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

2749. By Zygmunt Krynicki

plainbox:secure:qualifiers: add IMatcher

This patch adds a new interface for qualifier implementations. IMatcher
is a simple wrapper for a function returning a boolean. It is expected
that various kinds of matchers can be implemented for specific purposes
but they all need to follow this interface.

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

2748. By Brendan Donegan

"automatic merge by tarmac [r=sylvain-pineau][bug=][author=brendan-donegan]"

2747. By Zygmunt Krynicki

"automatic merge by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

2746. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

2745. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=][author=zkrynicki]"

2744. By Zygmunt Krynicki

"automatic merge by tarmac [r=roadmr][bug=1236377,1236505,1243610,1254189,1254191,1255066,1255085,1265748,1267794,1273100][author=zkrynicki]"

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