External contribution to Ember Simple Auth is highly appreciated of course - so please give feedback, report issues or submit pull requests! Here's some guidance to make contributing smooth for everybody.
In order to make it easier for others to understand a reported issue, find what's causing it and eventually fix it, here's a few things to keep in mind when submitting issues:
- Please only create issues for bugs, feature requests etc. - mere questions can be asked (and usually will be answered) on stackoverflow.
- Update to the latest release of Ember Simple Auth if possible (see the releases page).
- Update to the latest releases of Ember.js, jQuery, Ember Data if possible
- Include as much information as possible - this includes full stack traces etc.
- Set up a demo that demonstrates the issue on JSFiddle or JSBin. If your project is open source, provide a link to the online repo.
Here's a few steps to follow to make sure your pull request gets accepted:
- Fork the repository and implement your changes; also add tests for any added functionality - remember that untested code is broken code!
- Run the tests - pull requests with failing tests can't be accepted of course - find instructions on how to run the tests below.
- Adhere to Ember Simple Auth's coding style; while there's no official style guide it should be clear by looking at the existing code what the agreed upon rules are.
- Squash all of your commits into one before submitting the pull request so it's easier to review them.
- Provide a good description for your pull request - what does it add, why is that needed etc.?
After you have forked the repository, run yarn install
and bower install
.
Also install PhantomJS to run the tests.
To run tests against the currently installed Ember version, run ember test
. To
simulate a CI run -- testing multiple versions of Ember, Ember Data and the
included addon generators -- run yarn test && yarn run test:node
.