Commit Graph

5 Commits

Author SHA1 Message Date
Tianon Gravi 8c7ed36470 Add explicit Manifest2822Maintainer struct
This allows us to more easily/reliably generate lists of users to ping on PRs (with the goal to ping them automatically, if one of them is not the PR author).

This is technically a breaking change, but I consider myself probably the most prolific user of bashbrew format strings (which is where this breakage would exhibit itself -- `bashbrew cat` should be unaffected), and I have exactly one script broken by it.  That script was doing some processing to generate this exact data, so IMO this is a win. 😁

    bashbrew cat --format='- `{{ $.RepoName }}`:{{ range .Manifest.Global.Maintainers }} @{{ .Handle }}{{ end }}' ...
2021-02-01 11:00:04 -08:00
Tianon Gravi 3c2181232e Force line-based files to have valid "Maintainers" too
This copies the exact `mainfest.Global.Maintainers` validation from `rfc2822.go`.
2019-01-07 16:12:21 -08:00
Tianon Gravi 9442670fdd Add very basic line-based "maintainer:" comment parsing (passing contents directly into the manifest struct without any verification for now) 2016-07-20 11:12:33 -07:00
Tianon Gravi a0797a5c0b Add more validation and better line-based "git tag" handling 2016-05-27 16:41:04 -07:00
Tianon Gravi ea2a7991ce Add initial "Manifest" reading package 2016-05-25 15:54:51 -07:00