Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

CONTRIBUTING.md 1.8 KiB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Contributing
  2. If you would like to support this project, you have an interesting idea how to improve the operation of this tool or if you found some errors - do fork this add your fixes and add pull-request of your branch to the **testing branch**.
  3. ## Bash style
  4. I would like you to stick to certain standards of writing in bash. I realize that it is not easy and time-consuming if you have certain habits. I do not expect 100% compliance and adherence to good practices, however, I would like you to try to use certain principles.
  5. The following should help:
  6. - [http://wiki.bash-hackers.org/](http://wiki.bash-hackers.org/)
  7. - [https://google.github.io/styleguide/shell.xml](https://google.github.io/styleguide/shell.xml)
  8. - [https://github.com/progrium/bashstyle](https://github.com/progrium/bashstyle)
  9. - [http://kvz.io/blog/2013/11/21/bash-best-practices/](http://kvz.io/blog/2013/11/21/bash-best-practices/)
  10. ## Shellcheck
  11. One of the requirements before approving your changes is to check them with the **shellcheck** utility. If the returned errors are not critical (eg. [SC2154](https://github.com/koalaman/shellcheck/wiki/SC2154)) you can use the `shellcheck disable=SC2154` design.
  12. ## Signature of commit
  13. Moving forward all commits to this project must include a "signed-off-by" line indicating the name and email address of the contributor signing off on the change. To enable signatures add the following lines to `.git/hooks/prepare-commit-msg` :
  14. ``````
  15. SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/- signed-off-by: \1/p')
  16. grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
  17. ``````
  18. ## Pull requests
  19. When creating pull request, please heed the following:
  20. - Base your code on the latest **testing branch**
  21. - Code review may ensue in order to help shape your proposal
  22. - Explain the problem and your proposed solution