We appreciate and value your contribution to the Hummingbot Dashboard Repository. The following guidelines will help you contribute effectively and ensure consistency and quality across the project.
-
Fork the
hummingbot/dashboard
repository. -
Create a new branch from the
main
branch in your forked repository. -
Commit your changes to your newly created branch.
-
Once your changes or features are complete:
- Rebase upstream changes into your branch.
- Submit a pull request to the
main
branch. - Ensure to provide a detailed description of your changes in the pull request.
- Enable the
Allow edits by maintainers
option before submitting the pull request.
-
The Foundation QA team will review and test your code changes.
-
Address any changes requested by your reviewer, fix issues raised, and push your fixes as a single new commit.
-
A member of the Hummingbot Foundation team will merge your pull request once it has been reviewed and accepted.
Fork the repository using GitHub's interface. Add the Hummingbot repository as an upstream remote and fetch the upstream data:
git remote add upstream https://github.com/hummingbot/dashboard.git
git fetch upstream
Create a branch using the following naming conventions:
- feat/...
- fix/...
- refactor/...
- doc/...
Then, create and switch to a new local branch based on the main
branch of the remote upstream:
git checkout -b feat/[branch_name] upstream/main
Make commits to your branch. Use these prefixes for your commits:
- (feat) - for new features
- (fix) - for fixes
- (refactor) - for refactoring
- (doc) - for documentation
- (cleanup) - for cleanup
Commit messages should be in the present tense, e.g., "(feat) add candles graph", with a brief summary (around 70 characters max) of the changes made in the first line. For detailed explanations, provide more information after a blank line following the summary.
To rebase upstream changes into your branch, run this command:
git pull --rebase upstream main
In case of conflicting changes, git will pause rebasing to let you resolve conflicts. After fixing conflicts for a specific commit, run:
git rebase --continue
Create a pull request from your fork and branch to the upstream main
branch, detailing your changes. Remember to check 'Allow edits by maintainers' for the Foundation team to update your branch when needed.
If changes are requested by the Foundation team, make more commits to your branch to address these, then follow this process again from rebasing onwards. After addressing the requests, request further review.
For a list of currently outstanding tasks and owners, refer to the Dashboard Backlog.
If you can, please attend the dashboard bi-weekly meetings on Discord where the project's progress is discussed and tasks are outlined.
Additional project documentation can be found on the Dashboard Wiki.
Before submitting your pull request, ensure that:
- You have created your branch from
main
. - You have followed the correct naming convention for your branch.
- Your branch is focused on a single main change.
- All your changes directly relate to this main change.
- You have rebased the upstream
main
branch after finishing all your work. - You have written a clear pull request message detailing what changes you made.
- You have requested a code review.
- You have made any requested changes from the code review.
Thank you for your contribution!