Commit Graph

9 Commits

Author SHA1 Message Date
Sergey Kanzhelev 83da11b287 verify that files were not removed without changing sig.yaml 2024-05-08 00:14:36 +00:00
Christoph Blecker fa4c181e5b
Remove reference to user groups in verify script 2024-01-10 13:57:26 -08:00
Aaron Crickenberger 6d0c920003 Allow verify-generated-docs to use go modcache
I don't think we need to use an entirely separate GOPATH, thus forcing
us to re-download modules every time we run `make`

This was causing verify-generated-docs to fail locally since go will
set its modcache as readonly and thus cause the cleanup "rm -rf" in
this script to fail. In go1.14 or later we could use "-modcacherw"
to stop making the modcache readonly but that bring me back to.. why
do need an entirely separate GOPATH in the first place?
2020-08-18 16:59:27 -07:00
Aaron Crickenberger 89cde82503 Update generator to reformat sigs.yaml
The following formatting is enforced:
- Consistent identation of 2 spaces
- Keys are sorted by order of struct fields
- Lists are sorted by struct-dependent keys
- Comments are stripped

I had hopes of using yaml.Node to preserve comments, but found no
obvious way to marshal from struct to Node, meaning all data
manipulation had to be done against Nodes. This loses us all of the
benefits of using a struct: types, known fields, field order.

Given that there aren't many comments in sigs.yaml to begin with, I'm
erring on the side of dropping support for them.
2019-05-03 11:20:04 -07:00
Nikhita Raghunath 347f7d07d3 generator: add support for committees
Since committees can have private mailing lists, this commit
also adds a new field for specifying private mailing lists
in the "Contacts" section.
2019-03-15 18:13:12 +05:30
Nikhita Raghunath 1816b3e406 Add support for User Groups in sigs.yaml 2019-02-26 04:08:40 +05:30
Tim Pepper f527442d8b hack/verify-generated-docs.sh: clarify error output
When the hack/verify-generated-docs.sh job fails because a generated
file was edited instead of the sigs.yaml file, it is less than clear
from the error message that the user still needs to manually commit the
generated docs in addition to changing the sigs.yaml and validating that
the docs do build.  A small additional bit of guidance is appended to
the existing hint in the test error output.

Signed-off-by: Tim Pepper <tpepper@vmware.com>
2018-06-28 11:07:09 -07:00
Christoph Blecker 973b948b6b
Fix up verify-generated-docs script 2018-03-05 14:25:17 -08:00
Christoph Blecker 2bd679812c
Allow multiple steps in the verify job 2018-03-05 09:31:40 -08:00