In order for us to accept pull-requests, the contributor must first complete a Contributor License Agreement (CLA). This clarifies the intellectual property license granted with any contribution. It is for your protection as a Contributor as well as the protection of IBM and its customers; it does not change your rights to use your own Contributions for any other purpose.
This is a quick process: one option is signing using Preview on a Mac, then sending a copy to us via email. Signing this agreement covers both CDTDatastore and sync-android.
You can download the CLAs here:
If you are an IBMer, please contact us directly as the contribution process is slightly different.
Everyone is welcome to contribute with patches, bug-fixes and new features
- Create an issue on github so the community can comment on your idea
- Fork
nano
in github - Create a new branch
git checkout -b my_branch
- Create tests for the changes you made
- Make sure you pass both existing and newly inserted tests
- Commit your changes
- Push to your branch
git push origin my_branch
- Create a pull request
To run tests make sure you npm test but also run tests without mocks:
npm run test-cloudant
You can add verbose debug messages while running tests by doing:
DEBUG=* node your_nano_scripts.js
You can turn nocks on and off using the NOCK_OFF
environment variable.