Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.26 KB

CONTRIBUTING.md

File metadata and controls

23 lines (13 loc) · 1.26 KB

Development

Contributing

Code contributions are done through GitHub Pull requests, each pull request requires CI to pass and at least one review. We follow Conventional Commits, pull requests will generally be merged with a squash merge.

Hint: Because the generation process changes a lot of code, it is highly encouraged to put the generated code into a separate commit to make reviewing easier.

If the branch diverges from main, then do a rebase and drop the commit with the generated code, followed by regenerating everything into a new commit.

Bugs or feature requests can go into GitHub Issues, other questions can be asked through GitHub Discussions.

Generation process

make build will generate the libraries and packages, including the docs in docs/.

Directory layout

generator/ is where the code generator lives.

grafanaplane/ is the actual library.

grafanaplane/zz/, packages/ and docs/ are completely generated, do not edit these, changes will be overwritten by the generation process.