Skip to content

Latest commit

 

History

History
executable file
·
105 lines (74 loc) · 4.7 KB

CONTRIBUTING.md

File metadata and controls

executable file
·
105 lines (74 loc) · 4.7 KB

Contributing to doesangue.me

🍰 First off, thanks for taking you precious time to contribute. 👍 The following is a set of guidelines for Contributing to Doe Sangue.me and it's projects/apps, which are in the Doe Sangue on Github. These are just guidelines, not rules. Use your best judgement, and feel free to propose changes to this document in a Pull Request.

Table of contents

What to know before start?

Getting started

Contributions are always welcome and will be fully credited.

We accept contributions via Pull Requests via Github and/or tests in our doesangue.me demo app.

Search if the issue/bug you are trying to resolve wasn't already solved... Try to search issues in 💪 #wontfix label or 🐛 #bug. If you prefer to search for Pull Requests check 💪 #wontfix.

If you get a new idea or want to add a new feature please before you create a new Pull Requests open an Issue talking about it.

How?

  • 1 Fork the project.
  • 2 Create your bugfix/feature branch and your (commented) code.

Note: Consider to naming your branch based on feature you'll work. Like in example:

git checkout -b my-new-feature development

where development is the branch where the my-new-feature will be based.

  • 3 Create unit tests for your feature/code:
  • 3.1 Run npm test to make sure everything works as well (new and old tests).
  • 4 Commit your changes (your feature and tests) and push to your branch.
  • 5 Run the following to make sure your fork is updated with our latest changes.
git remote add upstream git@github.com:doesangueorg/doesangue-webapp.git
git checkout development
git pull upstream development

Then update your feature branch from your local copy of development, and push it!

git checkout my-new-feature
git rebase development
git push --set-upstream origin my-new-feature

Finally, go to Github and make a Pull Request 🍰 🍰 🍰

Pull Requests

  • Add tests! Your pull request won't be accepted if it doesn't have tests (or if it doesn't passes).
  • Document any change in behavior. Make sure the README.md and any other relevant documentation are kept up-to-date.
  • Don't worry about updating CHANGELOG.md. The project administrator will handle updating those when new releases are created.

Styleguide

Note: More details about styleguide needed here.

Git Commit Messages

  • Use the present tense ("Add feature" not "Added feature")

  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")

  • Limit the first line to 72 characters or less

  • Reference issues and pull requests liberally

  • When only changing documentation, include [ci skip] in the commit description

  • Consider starting the commit message with an applicable emoji:

Emoji Code Description
🎨 :art: when improving the format/structure of the code
🐎 :racehorse: when improving performance
📝 :memo: when writing docs
💪 :muscle: when adding new features/functions
🐛 :bug: when fixing a bug
🔥 :fire: when removing code or files
💚 :green_heart: when fixing the CI build
:white_check_mark: when adding tests
🔒 :lock: when dealing with security
⬆️ :arrow_up: when upgrading dependencies
⬇️ :arrow_down: when downgrading dependencies
👕 :shirt: when removing linter warnings

TO-DO

  • Add the styleguide.
  • Add the Pull Requests and Issue templates
  • Add environment/dev requirements

Chat

if you prefer to open a chat with other members/developers join us on Gitter and/or Slack.

Back to top