-
-
Notifications
You must be signed in to change notification settings - Fork 664
Contributing
Matt Simerson edited this page Aug 19, 2014
·
27 revisions
We love and value outside contributions to Haraka.
- fork the project (git clone https://github.com/baudehlo/Haraka.git)
- create a branch for your changes (git checkout -b new_branch)
- make changes and commit (git commit)
- push changes to github (git push)
- click on "Create Pull Request" for that branch in Github.
- New features must be documented
- New features should include tests
- 4 spaces for indentation (no tabs)
- Semi-colons on the end of statements are preferred
- Use underscores_to_separate_names (yes this goes against JS conventions - it's the way it has always been done)
- Do not cuddle elses
- Use whitespace between operators - we prefer
if (foo > bar)
overif(foo>bar)
- Don't comment out lines of code, remove them as they will be in the revision history.
- Use boolean true/false instead of numeric 0/1
- See Editor Settings
- run all tests: ./run_tests (or "npm test")
- run tests for a single plugin: ./run_tests tests/plugins/bounce.js
Install Guides
How To
- Upgrade Haraka
- Google Safe Browsing
- Require TLS
- Configure my Editor
- Contribute
- Roll a Release
- Test Email
- Write a Plugin
Future Plans / TODO
Support RFC3464 in bounce messages- Decode Short URLs in data.uribl.js and test the destination URL instead
DKIM verifier
Additional Resources