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 /projects/project.schema.yaml | |
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>
Diffstat (limited to 'projects/project.schema.yaml')
-rw-r--r-- | projects/project.schema.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
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* |