summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-11-01 17:15:08 +0000
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-12-07 13:24:50 +0000
commit20b1e43eabd7127835f701ae132d410674501404 (patch)
tree2b3b233a210a67c0e1d88b83f9e513cd779bbed2
parentd1dccab9a69f2a8a12db0fb5f0aee44cb8764890 (diff)
schema: Move 'relationships' to a mapping sequence
This may be subject to further change so that we can ensure only one parent exists, or that keys are unique in the dependencies list for example. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
-rw-r--r--projects/linux/testtask.yaml6
-rw-r--r--projects/project.schema.yaml22
2 files changed, 21 insertions, 7 deletions
diff --git a/projects/linux/testtask.yaml b/projects/linux/testtask.yaml
index 0dd95d3..f94c1bf 100644
--- a/projects/linux/testtask.yaml
+++ b/projects/linux/testtask.yaml
@@ -4,6 +4,12 @@ key: fedd3f9c-dc85-11e8-bfeb-834cd5092819
assignee: Kieran
status: New
+relationships:
+ - parent: 7d14ee32-ddf8-11e8-a473-d7a72abc7e28
+ - depends: 7d14f0c6-ddf8-11e8-a474-4b07d07bedaa
+ - depends: 7d14f1b6-ddf8-11e8-a475-fb7b5cfd5b9d
+ - blocks: 7d14f33c-ddf8-11e8-a477-6764765d08a6
+
bsp-commits:
- e0868bcfd529997cf98da1dd14bab8cb8175eda7
# arm64: dts: r8a77990: Support IPMMU(MMU mode) for IPMMU-VP0 and IPMMU-VC0
diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml
index f84b415..c5133e3 100644
--- a/projects/project.schema.yaml
+++ b/projects/project.schema.yaml
@@ -67,14 +67,22 @@ mapping:
desc: Free form URL reference # URL validation is *hard*
type: str
- parent:
- desc: A reference to another topic key which must already exist
- include: uuid
-
- dependencies:
+ relationships:
+ desc: Relationships to other data items.
sequence:
- - include: uuid
- unique: True
+ - mapping:
+ parent:
+ desc: A reference to another topic key which must already exist
+ include: uuid
+ depends:
+ desc: Items which must be closed before this item can be closed successfully
+ include: uuid
+ duplicates:
+ desc: A link to another task which refers to the same work item as this
+ include: uuid
+ blocks:
+ desc: Tasks prevented from progressing until this task is complete
+ include: uuid
target-date:
type: date