From 20b1e43eabd7127835f701ae132d410674501404 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 1 Nov 2018 17:15:08 +0000 Subject: 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 --- projects/linux/testtask.yaml | 6 ++++++ projects/project.schema.yaml | 22 +++++++++++++++------- 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 -- cgit v1.2.3