summaryrefslogtreecommitdiff
path: root/projects/project.schema.yaml
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-11-01 13:39:53 +0000
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>2018-12-07 13:24:50 +0000
commitebca47c71471bcff1ff975707586f9a4e4091e67 (patch)
tree18412e688242bc47486b123acdfdb5a3a2e43aa8 /projects/project.schema.yaml
parent17693f46d6593e9b4e31d55e069b597d51b7de5b (diff)
schema: reduce upstream-commits sequences to mappings
Reduce the specific 'torvalds' and 'linux-next' sequences to mappings of their own. This allows the following syntax: upstream: - torvalds: 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d # Linux 4.19 - torvalds: 6d9666fb78526a7728cc4954ec1da4c2b416753d - next: e0868bcfd529997cf98da1dd14bab8cb8175eda7 Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'projects/project.schema.yaml')
-rw-r--r--projects/project.schema.yaml10
1 files changed, 4 insertions, 6 deletions
diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml
index 31fde86..7130860 100644
--- a/projects/project.schema.yaml
+++ b/projects/project.schema.yaml
@@ -50,18 +50,16 @@ mapping:
sequence:
- include: gitcommit
- upstream-commits:
+ upstream:
desc: References to upstream commits
sequence:
- mapping:
torvalds:
desc: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=
- sequence:
- - include: gitcommit
- linux-next:
+ include: gitcommit
+ next:
desc: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=
- sequence:
- - include: gitcommit
+ include: gitcommit
parent:
desc: A reference to another topic key which must already exist