If you're thinking about making a contribution to this project, then you're in the right place. First, thank you for taking the time to contribute! Please give everything below a read before attempting to contribute, as it may save you some time and energy when it comes time to submit your awesome new feature, fix, or bug report!
The following contributions to Restivus are greatly appreciated:
- Code (via pull request)
- New or updated features
- Bug fixes
- Automated tests
- Documentation updates (currently via README)
- Bug reports (via GitHub Issues)
- Feature requests and voting (via GitHub Issues)
GitHub Issues are used for all bug and feature
tracking. Milestones will be created for
each release version (e.g., v1.0.0
), and any associated Issues or [Pull Requests]
(https://github.com/kahmali/meteor-restivus/pulls?q=is%3Aopen+is%3Apr) will be added to the
corresponding milestone.
Contributing code to an open source project can be fun and rewarding, especially when it's done right. Check out the guidelines below for more information on getting your changes merged into a release.
Please adhere to the Meteor Style Guide for all conventions not specified here:
- 100 character line limit for all code, comments, and documentation files
All code contributions can be submitted via GitHub Pull Requests. Here are a few guidelines you must adhere to when contributing to this project:
- All pull requests should be made on the
devel
branch, unless intended for a specific release! In that case, they can be made on the branch matching the release version number (e.g.,1.0.0
) If you're not familiar with forks and pull requests, please check out those resources for more information. - Begin your feature branches from the latest version of
devel
. - Before submitting a pull request:
- Rebase to the latest version of
devel
- Add automated tests to the
/tests
directory for any new features - Ensure all automated tests are passing by running
meteor test-packages ./
from the root directory of the project and viewing the Tinytest output athttp://localhost:3000
- Update the README and change log with any corresponding changes
- Please follow the existing conventions within each document until detailed conventions can be formalized for each
- Rebase to the latest version of
Limit commits to one related set of changes. If you’ve worked on several without committing, use
git add -p
to break it up into multiple commits.
Try to start and finish one related set of changes in a commit. If your set of changes spans
multiple commits, use interactive rebase [git rebase -i
]
(https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase-i) to squash the commits
together.
Please follow these guidelines for commit messages:
- Separate subject from body with a blank line
- Limit the subject line to 72 characters (shoot for 50 to keep things concise, but use 72 as the hard limit)
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
- Note: Rarely, only the subject line is necessary
For a detailed explanation, please see [How to Write a Git Commit Message] (http://chris.beams.io/posts/git-commit/#seven-rules).
Please file all bug reports, no matter how big or small, as [GitHub Issues] (https://github.com/kahmali/meteor-restivus/issues). Please provide details, and, if possible, include steps to reproduce the bug, a sample GitHub repo with the bug reproduced, or sample code.
Restivus is still a work in progress. Feature requests are welcome, and can be created and voted on using GitHub Issues!