New Contributors are always welcome. Start by having a look at the README, especially the getting started section.
Most Contributors are members of the
OpenHW Group and participate in one or more Technical Task Groups.
Membership is strongly encouraged, but not required. Contributors must be
covered by the terms of the Eclipse Contributor Agreement
(for individuals) or the Eclipse Member Committer and Contributor Agreement
(for employees of Member companies). The ECA/MCCA provides a legal
framework for a Contributor's technical contributions to the OpenHW Group,
including provisions for grant of copyright license and a Developer
Certificate of Origin on contributions merged into OpenHW Group repositories.
All pull-requests to OpenHW Group git repositories must be signed-off using the
--signoff
(or -s
) option to the git commit command (see below).
The core-v-verif repository provides testbenches for multiple OpenHW cores. As such the core-v-verif repository uses branches for maintaining stability between the different core testbenches as well as recognizing independent development streams. An adapted form of the Git Flow is used in this repository.
The following are the official branches for core-v-verif
Branch | Example (if applicable) | Usage |
---|---|---|
<core>/dev | cv32e40p/dev | Main line of development for a core testbench. Most contributinos should target a dev branch. |
<core>/release | cv32e40p/release | Staging branch for merge dev branches into master (and vice versa). In general only OpenHW Committers will utilize these branches |
master | master | Releaseable stable testbench branch. Can only be updated by OpenHW committer merges or via hotfix PR. All official releases will reference a commit on the master branch. |
In most cases a contribution should be made on a dev branch.
Common infrastructure fixes and updates may target the master branch using the hotfix flow to directly address issues requiring timely fixes.
More information on core-v-verif branch usage can be found here: https://github.com/openhwgroup/core-v-docs/blob/master/verif/Common/Presentations/20210311-Branches%20and%20CIs%20for%20core-v-verif.pptx
- Fork the core-v-verif repository
- Clone repository:
git clone https://github.com/[your_github_username]/core-v-verif
- Checkout the correct branch reflecting the nature of your contribution. Nearly all contributions should target a core's dev branch. Hotfixes can target master.
- Create your feature branch:
git checkout -b <my_branch>.
Please uniquify your branch name. See the Git Cheats for a useful nominclature. - Test your changes with the ci_check script.
- Commit your changes:
git commit -m 'Add some feature' --signoff
...take note of that --signoff, it's important! - Push feature branch:
git push origin <my_branch>
- Submit a pull request.
- If known, it is advisable to select one or more appropriate reviewers for your PR. For hotfix PRs, request either Steve Richmond or Mike Thompson for proper review.