Top level things to know
-
Use of Caliptra requires no CLA.
-
Contribution to Caliptra source requires CHIPS CLA
-
Contribution as a named author of Caliptra specs released to OCP requires OCP paperwork
-
Approval of Caliptra integration compliance is handled by Caliptra TAC
-
License to use Caliptra trademark is handled by Linux Foundation after Caliptra TAC integration compliance approval
Per the Charter, contributors to Caliptra must have signed the CHIPS CLA.
To contribute to any facet of the Caliptra Project (e.g., hardware, software, or other), follow the Caliptra Contributing Process guide.
- Changes must be made via pull request
- Branch protection rules ensure pull requests are reviewed by project members
- Maintainers are expected to enforce
CODEOWNERSrights where necessary. Maintainers are also the sole owners of the repo's configuration. - The branch protection rules include constraints to maintain a linear history and avoid merges in pull requests.
- Please maintain a clean commit history on the
mainbranch.- Effort should be made to ensure Pull Requests are clean and pass required tests, to prevent a long series of subsequent Pull Requests with simple 'fixup' patches.
- By the same criteria, if a Pull Request has a number of 'fixup' patches, it must be Squash and Merged.
- Whereas a Pull Request with logically separate, well defined commits, with articulate descriptions, can be merged without squashing.
- New code files must include the Apache license 2.0 header. Commit verification tools enforce this.
- With the exception of the Rust toolchain, all third-party code necessary for
building release firmware binaries must be placed in the
caliptra-sw/third-partydirectory - Third party vendored repos included into Caliptra repos may not be ASL 2.0 license. However, all vendored repos must be ASL 2.0 compliant and not introduce additional restrictions or encumbrances. Ask the TAC if in doubt.
- Fork the repos into your personal repo, and create pull requests from your personal repo. Do not pollute the main repo with your personal branches.
- All design issues are discussed via GitHub issues.
- Please reference the issue in your commit where appropriate.
- Chat channels should be primarily used for short, tactical discussions (example, coordinate resolution of a merge conflict, coordinate update of settings, meeting coordinates)
- Chat channel participation, however, is restricted to developers who have signed the CHIPS CLA, or are affiliiated with companies that have signed the CHIPS CLA.
- For all repos there is a single
mainbranch. - Private dev branches for organizations must integrate back to main
- TODO: upload the schematic and reference, for RTL branch policy
$major.8tags must exist inmain. At that point changes to RTL must follow the RFC Process.$major.9tags for RTL mark the beginning of bug fixes only period.- Specific integrations should be forked off
maininto a release branch at a named tag. Example:release/1.2.1forks offmainat tag1.2.- Linear history in that branch includes tags
1.2.1.0,1.2.1.1and so on - A new integration can branch off
release/1.2.2at tag1.2as well. - A new integration can branch off
release/1.3.1at tag1.3as well
- Branch protection rules apply to
mainandrelease/*branches. - All commits in
release/*branches must be found inmainas well. Since bug fixes added to areleasebranch may be merged intomainlater in the history, therelease/branch commit must include aRelease-Commit=$SHAfooter in its description. The$SHApoints to the main branch commit ref.
A known exception here is that the first commit of Caliptra public RTL already
started at 0p8.