BX-bot UI is released under the MIT license. If you would like to contribute something, or simply want to hack the code, this document should help you get started.
If you find a bug, please submit an issue. Try to provide enough information for someone else to reproduce it. Equally, submit an issue if you want to create a new feature or enhance an existing one - refactoring, improving Javadoc, and boosting test coverage is always welcome!
One of the project's maintainers should respond to your issue within a few days... if not, bump the issue and request that it be reviewed.
Review the issues list and find something that
interests you. It is wise to start with something relatively straightforward and achievable.
Usually there will be a comment in the issue that indicates whether someone has already
self-assigned it. If no one has already taken the issue, then add a comment assigning the issue to
yourself, e.g. I'm working on this issue because I love writing tests...
Please be considerate and rescind the offer in a comment if you cannot finish in a reasonable time, or add a new comment stating that you're still actively working on the issue and need a little more time.
We are using the GitHub Flow process to manage code contributions. If you are unfamiliar, please review that link before proceeding. To work on something, whether a new feature or a bug fix:
- Fork the repo.
- Clone it locally:
git clone https://github.com/<your-id>/bxbot-ui.git
- Add the upstream repository as a remote:
git remote add upstream https://github.com/gazbert/bxbot-ui.git
Make sure you keep your forked repo up-to-date with the upstream repository.
- Create a meaningful-named branch off of your cloned fork - full details here.
cd bxbot
git checkout -b my-new-feature-or-bugfix-branch
-
Write some code! Commit to that branch locally, and regularly push your work to the same branch on the server. Commit messages must have a short description no longer than 50 characters followed by a blank line and a longer, more descriptive message that includes reference to issue(s) being addressed so that they will be automatically closed on a merge e.g.
Closes #1234
orFixes #1234
- see here for more details. When writing a commit message please follow these conventions. -
Any code changes that affect documentation (e.g. README.MD) should be accompanied by corresponding changes (or additions) to the documentation and tests. This will ensure that if the merged PR is reversed, all traces of the change will be reversed as well.
-
When you're done, make sure your build is green and create a Pull Request (PR) to submit your changes.
After your PR has been reviewed and signed off, a maintainer will merge it into the master branch.