summaryrefslogtreecommitdiff
path: root/generator/testdata
diff options
context:
space:
mode:
authorAaron Crickenberger <spiffxp@gmail.com>2021-03-08 00:19:15 -0500
committerAaron Crickenberger <spiffxp@google.com>2021-03-09 14:12:03 -0500
commit320c5f10d6495cbdeb8b87ab9e8acd1b140db226 (patch)
tree57e309d0f96a12b6562526af2486f34304d6f15b /generator/testdata
parent6687a0892a7a2bf94bf2c1f087ba23ccd750b244 (diff)
generator: add validation of subprojects
specifically: - only sigs+committees can have subprojects - subprojects need at least one owners entry - owners should be raw github links I think the last one could/should change, but: - I'm about to auto-generate links assuming this format, so I want to verify I can assume all owners are in this format - I am not quite sure if we should treat sigs.yaml as public api and give notice/deprecation for field changes
Diffstat (limited to 'generator/testdata')
-rw-r--r--generator/testdata/sigs.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/generator/testdata/sigs.yaml b/generator/testdata/sigs.yaml
index 60474dda..191982fe 100644
--- a/generator/testdata/sigs.yaml
+++ b/generator/testdata/sigs.yaml
@@ -6,6 +6,8 @@ sigs:
mission_statement: covers foo
subprojects:
- name: sub-foo
+ owners:
+ - "https://raw.githubusercontent.com/org/foo/main/OWNERS"
- dir: sig-bar
name: Bar
label: bar
@@ -13,6 +15,8 @@ sigs:
mission_statement: owns areas related to bar
subprojects:
- name: sub-bar
+ owners:
+ - "https://raw.githubusercontent.com/org/bar/main/test/OWNERS"
workinggroups:
- dir: wg-baz
name: Baz