Merge lp:~kissiel/checkbox/manpages-update into lp:checkbox

Proposed by Maciej Kisielewski
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 3590
Merged at revision: 3598
Proposed branch: lp:~kissiel/checkbox/manpages-update
Merge into: lp:checkbox
Diff against target: 29 lines (+19/-0)
1 file modified
plainbox/docs/manpages/plainbox-job-units.rst (+19/-0)
To merge this branch: bzr merge lp:~kissiel/checkbox/manpages-update
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Review via email: mp+251588@code.launchpad.net

Description of the change

This MR extends job-unit manpage by adding note about 'imports' field.

7333301 plainbox:docs: add info about 'imports' field to job unit manpage

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Nice, just two small suggestions.

lp:~kissiel/checkbox/manpages-update updated
3590. By Maciej Kisielewski

plainbox:docs: add info about 'imports' field to job unit manpage

Signed-off-by: Maciej Kisielewski <email address hidden>

Revision history for this message
Maciej Kisielewski (kissiel) wrote :

> Nice, just two small suggestions.

Updated, amended, pushed.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plainbox/docs/manpages/plainbox-job-units.rst'
2--- plainbox/docs/manpages/plainbox-job-units.rst 2015-02-09 14:14:32 +0000
3+++ plainbox/docs/manpages/plainbox-job-units.rst 2015-03-03 12:35:28 +0000
4@@ -243,6 +243,25 @@
5
6 Additional flags may be present in job definition; they are ignored.
7
8+``imports``:
9+ (optional) This field lists all the resource jobs that will have to be
10+ imported from other namespaces. This enables jobs to use resources from
11+ other namespaces.
12+ You can use the "as ..." syntax to import jobs that have dashes, slashes or
13+ other characters that would make them invalid as identifiers and give them
14+ a correct identifier name. E.g.:
15+
16+ | imports: from 2013.com.canonical.certification import cpuinfo
17+ | requires: 'armhf' in cpuinfo.platform
18+
19+ | imports: from 2013.com.canonical.certification import cpu-01-info as \
20+ cpu01
21+ | requires: 'avx2' in cpu01.other
22+
23+ The syntax of each imports line is:
24+ IMPORT_STMT :: "from" <NAMESPACE> "import" <PARTIAL_ID>
25+ | "from" <NAMESPACE> "import" <PARTIAL_ID> AS <IDENTIFIER>
26+
27 ===========================
28 Extension of the job format
29 ===========================

Subscribers

People subscribed via source and target branches