Contributions are very welcome. See issues, and join us in Slack to talk about your cool ideas for the project.
For purposes of tracking code-origination, we follow a simple sign-off process. If you can attest to the Developer Certificate of Origin then you append in each git commit text a line such as:
Signed-off-by: Your Name <[email protected]>
Conduct your collaboration around the u-root Code of Conduct.
- Slack, sign up here
- Join the mailing list
- Please submit issues to https://github.com/linuxboot/fiano/issues
This project aims to follow the standard formatting recommendations and language idioms set out in the Effective Go guide, for example formatting and names.
We have a few rules not covered by these tools:
- Standard imports are separated from other imports. Example:
import ( "regexp" "time" dhcp "github.com/krolaw/dhcp4" )
Well formatted patches aid code review pre-merge and code archaeology in the future. The abstract form should be:
<component>: Change summary
More detailed explanation of your changes: Why and how.
Wrap it to 72 characters.
See [here] (http://chris.beams.io/posts/git-commit/)
for some more good advices.
Signed-off-by: <[email protected]>
An example from this repo:
tcz: quiet it down
It had a spurious print that was both annoying and making
boot just a tad slower.
Signed-off-by: Ronald G. Minnich <[email protected]>
We accept GitHub pull requests.
Fork the project on GitHub, work in your fork and in branches, push these to your GitHub fork, and when ready, do a GitHub pull requests against https://github.com/linuxboot/fiano.
fiano
uses dep
for its dependency management. Please run dep ensure
, dep prune
, and commit Gopkg.toml, Gopkg.lock and vendor/ changes before opening a pull request.
Every commit in your pull request needs to be able to build and pass the CI tests.
If the pull request closes an issue please note it as: "Fixes #NNN"
.
Look at the area of code you're modifying, its history, and consider tagging some of the maintainers when doing a pull request in order to instigate some code review.
CircleCI is used to test and build commits in a pull request.
See .circleci/config.yml for the CI commands run. test.sh is maintained as an easy way to run the commands locally. Additionally you can use CircleCI's CLI tool to run individual jobs from .circlecl/config.yml
via Docker, eg. circleci build --jobs dep
.