Merge lp:~osomon/webbrowser-app/mir-libs into lp:webbrowser-app/staging

Proposed by Olivier Tilloy
Status: Merged
Merged at revision: 1641
Proposed branch: lp:~osomon/webbrowser-app/mir-libs
Merge into: lp:webbrowser-app/staging
Diff against target: 24 lines (+6/-0)
1 file modified
snap/snapcraft.yaml (+6/-0)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/mir-libs
Reviewer Review Type Date Requested Status
Michael Terry Approve
Ubuntu Phablet Team Pending
Review via email: mp+321151@code.launchpad.net

Commit message

Add mir-libs content plug.

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

+ - mir-libs

I don't believe you need this line? But I'm not an expert and even if you don't need it, I think it's harmless, so fine.

(the global plug list applies its plugs to all your commands already)

+ default-provider: mir-libs:mir-libs

It's hard to say because this line isn't used by snapd at all yet, but I think you just need "mir-libs" here. c.f. the ubuntu-app-platform stanza below this one.

lp:~osomon/webbrowser-app/mir-libs updated
1640. By Olivier Tilloy

Non-qualified default provider name.

Revision history for this message
Olivier Tilloy (osomon) wrote :

> I don't believe you need this line? But I'm not an expert and even
> if you don't need it, I think it's harmless, so fine.

I’m not sure either, but I’ll keep it for the sake of consistency with how we’re plugging to the platform snap.

> It's hard to say because this line isn't used by snapd at all yet, but
> I think you just need "mir-libs" here. c.f. the ubuntu-app-platform
> stanza below this one.

You’re probably right. I had just blindly copied what’s in https://bazaar.launchpad.net/~alan-griffiths/mircade-snap/trunk/view/head:/snap/snapcraft.yaml. I guess we’ll find out the day snapd starts making use of that line. I applied your suggestion.

Revision history for this message
Michael Terry (mterry) wrote :

Looks good to me! :) Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'snap/mir-libs'
=== modified file 'snap/snapcraft.yaml'
--- snap/snapcraft.yaml 2017-03-17 17:30:56 +0000
+++ snap/snapcraft.yaml 2017-03-28 14:03:22 +0000
@@ -12,6 +12,7 @@
12 - browser-sandbox12 - browser-sandbox
13 - camera13 - camera
14 - mir14 - mir
15 - mir-libs
15 - network16 - network
16 - network-bind17 - network-bind
17 - opengl18 - opengl
@@ -25,6 +26,11 @@
25 browser-sandbox:26 browser-sandbox:
26 interface: browser-support27 interface: browser-support
27 allow-sandbox: true28 allow-sandbox: true
29 mir-libs:
30 content: mir0
31 default-provider: mir-libs
32 interface: content
33 target: mir-libs
28 platform:34 platform:
29 content: ubuntu-app-platform135 content: ubuntu-app-platform1
30 default-provider: ubuntu-app-platform36 default-provider: ubuntu-app-platform

Subscribers

People subscribed via source and target branches