This guide will serve as a reference for contributing to the Deephaven.
Deephaven uses the Forking Workflow. In this workflow, the deephaven/web-client-ui repository contains a minimum number of branches, and development work happens in user-forked repositories.
To learn more see:
To get started quickly:
- Navigate to https://github.com/deephaven/web-client-ui.
- Click
Fork
in the top right corner. git clone git@github.com:<username>/web-client-ui.git
- Commit changes to your own branches in your forked repository.
For details on working with git on GitHub, see:
- Cloning a repository
- Connecting to GitHub with SSH
- Troubleshooting cloning errors
- Pushing commits to a remote repository
Forked repositories do not have access to the same tokens/secrets as the deephaven/web-client-ui repository, so GitHub actions will fail. To disable GitHub actions in your forked repository, go to "Actions" -> "Disable Actions" in your forked repository settings (https://github.com/<username>/web-client-ui/settings/actions
).
Over time, forks will get out of sync with the upstream repository. To stay up to date, either:
- Navigate to
https://github.com/<username>/web-client-ui
and click onFetch upstream
, or - Follow these directions on Syncing A Fork.
- Follow the GitHub instructions for Creating a Pull Request.
- Use
deephaven/web-client-ui
as the base repository. - Use your own fork,
<username>/web-client-ui
as the repository to push to.
- Use
- Fill in the information in the Pull Request:
- If you know people who should be reviewers, add them as a reviewer
- Add yourself as the Assignee
- Select one label depending on the change type:
bug
: Fixing a bug in an existing featureenhancement
: Adding a new featureinternal
: Changes to the project config or builddocumentation
: Documentation change only
- Breaking Changes: if your change breaks an existing API in such a way that users of the package affected will need to make some changes to migrate to the newer version, add the
breaking
label to the PR and include a section in the description saying## Breaking Changes
and any migration instructions required. - Link the PR with any associated issues
- Submit the PR
The Deephaven Contributor License Agreement (CLA) must be accepted before a pull request can be merged. A bot monitors all pull requests. Follow the instructions from the bot in the pull request comments to accept the CLA. The Deephaven CLA and associated signatures are maintained at https://github.com/deephaven/cla.