The community is what makes Sails/Waterline great, without you we wouldn't have come so far. But to help us keep our sanity and reach code-nirvana together, please follow these quick rules whenever contributing.
- If you have a question about setting up/using adapters in general, please check out the Sails docs or try searching StackOverflow.
- Search for issues similar to yours in GitHub search and Google.
- Feature requests are welcome (although pull requests are always better!), but we would prefer to keep them separate from actual issues with the adapter. If you want to submit a feature request, please prefix the name of your issue w/ "Feature Request:", e.g. "Feature Request: blah blah.."
- If there's an open issue, please contribute to the discussion in that issue.
- If a closed issue has re-emerged, open a new issue and link the url of the already closed issue(s).
- If there is no issue, open a new issue and specify the following:
- A short description of your issue in the title
- The version of the adapter you're using (check your
package.json
ornode_modules/**/package.json
). - Detailed explanation of how to recreate the issue.
- If you are experiencing more than one problem, please create a separate issue for each one. If you think they might be related, reference the other relevant issues you've created.
Clone this repository, cd
into it, and run npm install
.
To run tests:
$ npm test
- If you don't know how to fork and PR, have a look at Github's instructions.
- Check that someone else hasn't already starting working on your patch (i.e. search issues and PRs.) There might be an open pull request, issue, or closed pull request you can reference.
- Fork the repo.
- Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, we need a test to ensure the patch can be quickly merged.
- Make the tests pass and make sure you follow our syntax guidelines.
- Push to your fork and submit a pull request to the master branch.
Tests are written with mocha. Integration tests are handled by the waterline-adapter-tests project, which tests adapter methods against the latest Waterline API.
Waterline Core on Github | Official Sails Documentation | #sailsjs on IRC | Google Group | Twitter