Merge lp:~jdstrand/snappy/snappy.bus-name-docs into lp:~snappy-dev/snappy/snappy-moved-to-github

Proposed by Jamie Strandboge
Status: Merged
Approved by: Jamie Strandboge
Approved revision: 454
Merged at revision: 454
Proposed branch: lp:~jdstrand/snappy/snappy.bus-name-docs
Merge into: lp:~snappy-dev/snappy/snappy-moved-to-github
Diff against target: 87 lines (+24/-6)
2 files modified
docs/frameworks.md (+18/-1)
docs/meta.md (+6/-5)
To merge this branch: bzr merge lp:~jdstrand/snappy/snappy.bus-name-docs
Reviewer Review Type Date Requested Status
Jamie Strandboge (community) Approve
Review via email: mp+258894@code.launchpad.net

Description of the change

docs/frameworks.md: discuss `bus-name`
docs/meta.md:
- whitespace
- reference frameworks.md in bus-name

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

merge from trunk

454. By Jamie Strandboge

docs/frameworks.md: quote vendor

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Per irc discussion with mterry, after fixing the quoting, it's ok.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'docs/frameworks.md'
--- docs/frameworks.md 2015-04-23 15:07:47 +0000
+++ docs/frameworks.md 2015-05-12 17:39:46 +0000
@@ -65,15 +65,17 @@
65## Usage65## Usage
66### framework yaml66### framework yaml
6767
68For frameworks, meta/package.yaml should contain something like:68For frameworks, meta/package.yaml might contain something like:
6969
70 name: foo70 name: foo
71 version: 1.1.23471 version: 1.1.234
72 vendor: "Some Person <some.person@example.com>"
72 type: framework73 type: framework
73 services:74 services:
74 - name: bar75 - name: bar
75 description: "desc for bar service"76 description: "desc for bar service"
76 start: bin/bar77 start: bin/bar
78 bus-name: com.example.foo
77 binaries:79 binaries:
78 - name: bin/baz80 - name: bin/baz
79 description: "desc for baz binary"81 description: "desc for baz binary"
@@ -82,6 +84,21 @@
8284
83* `type: framework` - defines the type of snap this is85* `type: framework` - defines the type of snap this is
8486
87#### DBus connection name
88For framework services that provide a DBus interface, use `bus-name` to specify
89the DBus connection name the service will bind to on the system bus (only
90`^[A-Za-z0-9][A-Za-z0-9_-]*(\.[A-Za-z0-9][A-Za-z0-9_-]*)+$` is allowed). To
91preserve coinstallability, the `bus-name` should typically use the form of one
92of the following: `<name>`, `<name>.<service name>`, `<reverse domain>.<name>`
93or `<reverse domain>.<name>.<service name>`. In the above yaml, any of the
94following can be used:
95
96* `bus-name: foo`
97* `bus-name: foo.bar`
98* `bus-name: com.example.foo`
99* `bus-name: com.example.foo.bar`
100
101#### Security policy
85Frameworks will typically need specialized security policy. See `security.md`102Frameworks will typically need specialized security policy. See `security.md`
86for details.103for details.
87104
88105
=== modified file 'docs/meta.md'
--- docs/meta.md 2015-04-22 13:42:03 +0000
+++ docs/meta.md 2015-05-12 17:39:46 +0000
@@ -1,7 +1,7 @@
1# Package metadata1# Package metadata
22
3This document describes the meta data of a snappy package. All files3This document describes the meta data of a snappy package. All files
4are located under the `meta/` directory. 4are located under the `meta/` directory.
55
6The following files are supported:6The following files are supported:
77
@@ -50,7 +50,7 @@
50 * `caps`: (optional) list of additional security policies to add.50 * `caps`: (optional) list of additional security policies to add.
51 See `security.md` for details51 See `security.md` for details
52 * `security-template`: (optional) alternate security template to use52 * `security-template`: (optional) alternate security template to use
53 instead of `default`. See `security.md` for details 53 instead of `default`. See `security.md` for details
54 * `security-override`: (optional) high level overrides to use when54 * `security-override`: (optional) high level overrides to use when
55 `security-template` and `caps` are not55 `security-template` and `caps` are not
56 sufficient. See security.md for details56 sufficient. See security.md for details
@@ -68,7 +68,8 @@
68 * `port`: (optional) see above68 * `port`: (optional) see above
69 * `negotiable`: (optional) see above69 * `negotiable`: (optional) see above
70 * `bus-name`: (optional) message bus connection name for the service.70 * `bus-name`: (optional) message bus connection name for the service.
71 May only be specified for snaps of 'type: framework' (see above).71 May only be specified for snaps of 'type: framework' (see above). See
72 frameworks.md for details.
7273
73 * `binaries`: the binaries (executables) that the snap provides74 * `binaries`: the binaries (executables) that the snap provides
74 * `name`: (required) the name of the binary, the user will be able to75 * `name`: (required) the name of the binary, the user will be able to
@@ -78,8 +79,8 @@
78 * `caps`: (optional) see entry in `services` (above)79 * `caps`: (optional) see entry in `services` (above)
79 * `security-template`: (optional) see entry in `services` (above)80 * `security-template`: (optional) see entry in `services` (above)
80 * `security-override`: (optional) see entry in `services` (above)81 * `security-override`: (optional) see entry in `services` (above)
81 * `security-policy`: (optional) see entry in `services` (above) 82 * `security-policy`: (optional) see entry in `services` (above)
82 83
83## license.txt84## license.txt
8485
85A license text that the user must accept before the snap can be86A license text that the user must accept before the snap can be

Subscribers

People subscribed via source and target branches