lp://staging/~zyga/checkbox/flexible-resources

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

3480. By Zygmunt Krynicki

plainbox:resource: allow {True,False} expressions

This patch changes the static analyzer for resource programs to allow
the constants True and False to be used. This, coupled with the
preceeding patch, allows False to be used as a simple constant
expression that causes a job to be skipped all the time.

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

3479. By Zygmunt Krynicki

plainbox: allow resource programs on variable number of resources

This patch changes resource handling (specifically expression resources
and programs) to allow expressions based on variable number of resource
objects to exist. Specifically, this generalizes the current resource
expressions to have a list of resources, rather than always one. In
practice more than one resource cannot be used but zero resources can.

This allows constant expressions to work, for example, by using "False"
or "0" as a valid resource program.

Along the way some simplifications were made to the ResourceExpression
initializer and to the resource_id_list property (which no longer
computes anything) and, to a smaller extent, to other methods in that
class.

In technical terms the ResourceExpression.resource_id and
ResourceExpression.resource_alias properties were changed to be
resource_id_list and resource_alias_list respectively.

Various pieces of code that handled resource_id or resource_alias were
updated to loop over all appropriate elements. As a special session
controller now inhibits jobs that don't depend on any resource but still
evaluated to a non-True value.

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

3478. By Zygmunt Krynicki

plainbox:sesssion: allow FAILED_RESOURCE not to have a job reference

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

3477. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/bug-logger/ by tarmac [r=kissiel,sylvain-pineau][bug=][author=zkrynicki]"

3476. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/fix-1399607/ by tarmac [r=zkrynicki][bug=1399607][author=kissiel]"

3475. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/fix-1399304/ by tarmac [r=zkrynicki][bug=1399304][author=kissiel]"

3474. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/colorizer/ by tarmac [r=sylvain-pineau][bug=][author=zkrynicki]"

3473. By Launchpad Translations on behalf of checkbox-dev

Launchpad automatic translations update.

3472. By Zygmunt Krynicki

"automatic merge of lp:~zkrynicki/checkbox/checkbox-touch-1.0.2/ by tarmac [r=zkrynicki][bug=][author=zkrynicki]"

3471. By Maciej Kisielewski

"automatic merge of lp:~kissiel/checkbox/checkbox-touch-release/ by tarmac [r=zkrynicki][bug=][author=kissiel]"

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/checkbox
This branch contains Public information 
Everyone can see this information.

Subscribers