From ebca47c71471bcff1ff975707586f9a4e4091e67 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Thu, 1 Nov 2018 13:39:53 +0000 Subject: 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 --- projects/project.schema.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'projects/project.schema.yaml') 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 -- cgit v1.2.3