add a way to discover providers within snaps

Bug #1473939 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PlainBox (Toolkit)
Fix Released
Critical
Sylvain Pineau

Bug Description

To let users develop and deploy their own provider snaps we want to let plainbox load and discover snaps from another set of locations. Traditionally all providers were in /usr/share/plainbox-providers-1/ (and similar for /usr/local and ~/.local). I'd like to propose that if snappy environment is detected we look in /apps/*/current/ instead.

This would allow us to create a simple .snap out of any provider just by using a new installation layout (that's quite close to the current flat layout, just with the different location of .provider file).

Tags: snappy

Related branches

Changed in plainbox:
milestone: 0.23 → 0.24
Changed in plainbox:
milestone: 0.24 → 0.25
Pierre Equoy (pieq)
Changed in plainbox:
milestone: 0.25 → 0.26
Changed in plainbox:
milestone: 0.26 → 0.27
Changed in plainbox:
importance: High → Critical
Pierre Equoy (pieq)
Changed in plainbox:
milestone: 0.27 → 0.28
Changed in plainbox:
assignee: Zygmunt Krynicki (zyga) → Sylvain Pineau (sylvain-pineau)
status: Confirmed → In Progress
Changed in plainbox:
status: In Progress → Fix Committed
Pierre Equoy (pieq)
Changed in plainbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.