We welcome your contributions! There are multiple ways to contribute.
- Conventions
- Branch naming convention
- Opening issues
- Contributing code
- Pull request process
- Code of conduct
-
Use Conventional Commits: Commit messages should be meaningful since some of them will end up in the product's changelog and the product version will automatically change based on them. See Angular.js Commit Message Format for an example of how this is used on the industry.
The following commit types are supported and enforced:
build
: Changes that affect the build system or external dependenciesdx
: Changes affecting the developer experience of the productchore
(Preferrefactor
instead): Generic changes that don't introduce product changesci
: Changes on the Continuous Integrationdoc
: Changes to the product documentationfeat
: A new featurefix
: A bugfixperf
: Changes that improve performancerefactor
: Changes that do not add a feature or a fixrevert
: Changes that revert a previous commitstyle
: Changes to the product CSS stylestest
: Changes to the product tests
-
Use Semantic Versioning: The groups of digits in the product versions should convey compatibility
-
Commit as often as possible, making commits to have a specific purpose and commit only the files that fulfill such purpose
-
Variable names (excluding exported variables and class members) should be prefixed by one of the following:
p
when they are meant to represent parametersl
when they're meant to be used only in the local scopeg
when they're meant to be used by all of the file's scopes
-
When prefixed, variable names after such prefix should be full words, using camel case with an uppercase first letter (e.g.
lMyVariableName
). Exceptions are allowed for iterators, such as the use ofi
to represent the index in a loop. -
Variable names should be descriptive but not excessively so.
Use the following the naming branch naming convention:
```txt
issue-ISSUE_NUMBER-ISSUE_TITLE
```
issue
: This prefix indicates that the branch is related to an issue or a task.ISSUE_NUMBER
: This part represents the unique identifier of the issue or task in our project management system.ISSUE_TITLE
: This part provides a brief description of the issue or task, helping to understand the purpose of the branch.
For bugs or enhancement requests, please file a GitHub issue unless it's security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you've found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.
We welcome your code contributions. Before submitting code via a pull request, you will need to have signed the Oracle Contributor Agreement (OCA) and your commits need to include the following line using the name and e-mail address you used to sign the OCA:
Signed-off-by: Your Name <you@example.org>
This can be automatically added to pull requests by committing with --sign-off
or -s
, e.g.
git commit --signoff
Only pull requests from committers that can be verified as having signed the OCA can be accepted.
- Ensure there is an issue created to track and discuss the fix or enhancement you intend to submit.
- Fork this repository.
- Create a branch in your fork to implement the changes. We recommend using
the issue number as part of your branch name, e.g.
1234-fixes
. - Ensure that any documentation is updated with the changes that are required by your change.
- Ensure that any samples are updated if the base image has been changed.
- Submit the pull request. Do not leave the pull request blank. Explain exactly what your changes are meant to do and provide simple steps on how to validate. your changes. Ensure that you reference the issue you created as well.
- We will assign the pull request to 2-3 people for review before it is merged.
Follow the Golden Rule. If you'd like more specific guidelines, see the Contributor Covenant Code of Conduct.