Support reading configuration blocks from a reference
In order to support projects maintaining their own configuration, support reading blocks from configuration files in a reference stored in the repository itself, something like refs/ghostflow/config
or the like. Best is probably to support reading YAML documents from the ref's tree object named KEY.yaml
for the supported keys. At least the maintainers
, branch
, and checks
keys should be supported. Maybe name
and email
. Probably not data
(write access to anywhere on the machine) or submodules
(problems with adding submodule pointers to projects not managed properly). Supplemental blocks should be provided (like for source formatters).
What to do with invalid YAML documents or otherwise invalid configurations.
Cc: @brad.king