BotHub is an open platform for predicting, training and sharing NLU (Natural Language Understanding) datasets in multiple languages in a cooperative way.
Bothub is an open source project, so we made this document to make the process for contributing clear and answers some questions that you may have.
You can submit all changes to the staging branch
, where we do whole our tests for new features
To keep the staging branch
in a releasable state, breaking changes and experimental features must be gated behind a feature flag.
Use this flag to create a branch for new features
feature/feature_name
Use this flag to fix some bug
bugfix/bug_name
Use this flag to edit something
edit/edit_name
Working on your first Pull Request? You can learn how from this free video series:
How to Contribute to an Open Source Project on GitHub
The bothub's developers is monitoring for pull requests. We will review your pull request and either merge it, request changes to it, or close it with an explanation.
Before submitting a pull request, please make sure the following is done:
-
Fork the repository and create your branch from
master
. -
Run
yarn
in the repository root. -
If you’ve fixed a bug or added code that should be tested, add tests!
-
Ensure the test suite passes (
yarn test
). Tip:yarn test --watch TestName
is helpful in development. -
Make sure your code lints (
yarn lint
). -
If everything is ready, send your PR to
staging branch
.