Skip to content

Latest commit

 

History

History
98 lines (72 loc) · 4.35 KB

CONTRIBUTING.md

File metadata and controls

98 lines (72 loc) · 4.35 KB

Contributing Guidelines

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.

Code Contributions

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.

Coding Conventions

Please adhere to the Meteor Style Guide for all conventions not specified here:

  1. 100 character line limit for all code, comments, and documentation files

Pull Requests

All code contributions can be submitted via GitHub Pull Requests. Here are a few guidelines you must adhere to when contributing to this project:

  1. 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.
  2. Begin your feature branches from the latest version of devel.
  3. Before submitting a pull request:
    1. Rebase to the latest version of devel
    2. Add automated tests to the /tests directory for any new features
    3. Ensure all automated tests are passing by running meteor test-packages ./ from the root directory of the project and viewing the Tinytest output at http://localhost:3000
    4. 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

Committing

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.

Commit Messages

Please follow these guidelines for commit messages:

  1. Separate subject from body with a blank line
  2. Limit the subject line to 72 characters (shoot for 50 to keep things concise, but use 72 as the hard limit)
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line
  6. Wrap the body at 72 characters
  7. 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).

Bug Reports

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.

Feature Requests

Restivus is still a work in progress. Feature requests are welcome, and can be created and voted on using GitHub Issues!