diff options
author | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2018-12-07 13:22:10 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2018-12-07 13:24:50 +0000 |
commit | c0b4dd6eef318ae97c652075077b30dfbef6dbac (patch) | |
tree | 0d25fa88c3e20642c056900344809b70f1acd2df | |
parent | 20b1e43eabd7127835f701ae132d410674501404 (diff) |
schema: support wildcard patchwork instances
Use a regex rule to match patchwork instances within the schema. The
validator/title parser shall use the key as part of the URL to obtain
further patch information.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
-rw-r--r-- | projects/linux/testtask.yaml | 2 | ||||
-rw-r--r-- | projects/project.schema.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/projects/linux/testtask.yaml b/projects/linux/testtask.yaml index f94c1bf..db03e57 100644 --- a/projects/linux/testtask.yaml +++ b/projects/linux/testtask.yaml @@ -21,7 +21,7 @@ upstream: - torvalds: 6d9666fb78526a7728cc4954ec1da4c2b416753d # arm64: dts: r8a77965: Support IPMMU(MMU mode) for IPMMU-VP0 and IPMMU-VC0 - next: e0868bcfd529997cf98da1dd14bab8cb8175eda7 # <automagically filled in text here> - url: https://patchwork.linuxtv.org/patch/51928/ # [4/5] media: rcar-vin: Enable support for r8a774a1 - Patchwork - - pw.linuxtv: 51928 # [4/5] media: rcar-vin: Enable support for r8a774a1 - Patchwork + - patchwork.linuxtv.org: 51928 # [4/5] media: rcar-vin: Enable support for r8a774a1 - Patchwork comments: - Added a new thing diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml index c5133e3..354a93d 100644 --- a/projects/project.schema.yaml +++ b/projects/project.schema.yaml @@ -60,8 +60,8 @@ mapping: next: desc: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id= include: gitcommit - pw.linuxtv: - desc: https://patchwork.linuxtv.org/patch/ + regex;(^patchwork.*): + desc: https://patchwork.$INSTANCE/patch/ type: int url: desc: Free form URL reference # URL validation is *hard* |