~sylvain-pineau/plainbox-provider-resource:fake_package_res_snappy2

Last commit made on 2017-06-26
Get this branch:
git clone -b fake_package_res_snappy2 https://git.launchpad.net/~sylvain-pineau/plainbox-provider-resource
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
fake_package_res_snappy2
Repository:
lp:~sylvain-pineau/plainbox-provider-resource

Recent commits

d3ad797... by Sylvain Pineau

Fix package resource to output fake version and modalias on snappy

dc465da... by PMR <pmr@pmr-lander>

Merge #326171 from ~jocave/plainbox-provider-resource:executable-resource-real-path

e2b9771... by Jonathan Cave

Don't override PATH in executable resource

Also print the location of the executable which is useful
for checking whether it came from e.g. a snap

f95a281... by PMR <pmr@pmr-lander>

Merge #325750 from ~sylvain-pineau/plainbox-provider-resource:fake_package_res_snappy

b55b87c... by PMR <pmr@pmr-lander>

Merge #325731 from ~jocave/plainbox-provider-resource:attrs-of-interfaces

89ad932... by Sylvain Pineau

Fix the package resource to return at least one record

On snappy the dpkg-query is not available and the resource fails silently.
It's an issue for jobs expressing requirements as follow:

package.name == 'foo' or lsb.distributor_id == 'Ubuntu Core'

As even if UC is properly detected, the failing package resource with no
records makes the whole expression to fail (i.e == False).

This patch return a fake plainbox package name to fix the problem.

e4df2aa... by Jonathan Cave

Updated slugify docstring

faf818c... by Jonathan Cave

Add attributes to endpoints output

65c8151... by PMR <pmr@pmr-lander>

Merge #324561 from ~pwlars/plainbox-provider-resource:no-dmi-for-non-intel

2eef92e... by Paul Larson

restrict dmi from running on non-intel platforms