Merge lp:~milo/linaro-ci-dashboard/xml-chaining-definition into lp:linaro-ci-dashboard

Proposed by Milo Casagrande
Status: Merged
Approved by: Stevan Radaković
Approved revision: 31
Merged at revision: 31
Proposed branch: lp:~milo/linaro-ci-dashboard/xml-chaining-definition
Merge into: lp:linaro-ci-dashboard
Diff against target: 39 lines (+32/-0)
1 file modified
HACKING (+32/-0)
To merge this branch: bzr merge lp:~milo/linaro-ci-dashboard/xml-chaining-definition
Reviewer Review Type Date Requested Status
Stevan Radaković documentation Approve
Review via email: mp+122028@code.launchpad.net

Description of the change

This adds a section in the HACKING file about loop chaining and the XML format used to exchange information between loops.

XML format will probably be expanded, this is the initial definition.

To post a comment you must log in.
Revision history for this message
Stevan Radaković (stevanr) wrote :

Looks good.
Approve +1.

review: Approve (documentation)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'HACKING'
--- HACKING 2012-08-24 08:40:11 +0000
+++ HACKING 2012-08-30 10:11:37 +0000
@@ -48,3 +48,35 @@
48`dashboard/'.48`dashboard/'.
4949
50Tests should be written and defined inside each sub-application.50Tests should be written and defined inside each sub-application.
51
52= Loop Chaining =
53
54Loop chaining in the linaro-ci-dashboard is a mechanism to use output from one
55loop as input for another loop. Loops have to be "chainable", in the sense that
56output of one must be valid to be used as the input of another one.
57
58== XML Format Definition ==
59
60This is the XML format definition for loop-chaining, with DTD and simple
61example.
62
63<?xml version="1.0" encoding="UTF-8"?>
64<!DOCTYPE loop [
65 <!ATTLIST loop (name, type) PCDATA #REQUIRED>
66 <!ATTLIST loop (next) CDATA #OPTIONAL>
67 <!ELEMENT description (#PCDATA)>
68 <!ELEMENT restricted (#PCDATA)>
69 <!ELEMENT official (#PCDATA)>
70 <!ELEMENT fields (field+)>
71 <!ELEMENT field (#PCDATA)>
72 <!ATTLIST field (name, type) PCDATA #REQUIRED>
73]>
74<loop name="" type="" next="">
75 <restricted></restricted>
76 <official></official>
77 <fields>
78 <field name="" type=""></field>
79 <field name="" type=""></field>
80 <field name="" type=""></field>
81 </fields>
82</loop>

Subscribers

People subscribed via source and target branches