mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
Improve CONTRIBUTING
This commit is contained in:
parent
45726533f5
commit
694d828ab1
@ -61,7 +61,17 @@ Pull requests
|
|||||||
|
|
||||||
When creating pull request, please heed the following:
|
When creating pull request, please heed the following:
|
||||||
|
|
||||||
* Base your code on the latest master branch to avoid manual merges
|
* Base your code on the latest `master` branch to avoid manual merges
|
||||||
* Code review may ensue in order to help shape your proposal
|
* Code review by the team may occur to help you shape your proposal
|
||||||
|
* Test your proposal operationally to catch mistakes and avoid merge delay
|
||||||
* Pull request must adhere to 2-Clause BSD licensing
|
* Pull request must adhere to 2-Clause BSD licensing
|
||||||
* Explain the problem and your proposed solution
|
* Explain the problem and your proposed solution
|
||||||
|
* If applicable cite the issue(s) number(s) in your pull-request description,
|
||||||
|
for example `Fixes: #1234`, `Closes: #1234`, or `Ref: #1234`.
|
||||||
|
* Read [README.md](./README.md) to learn about the commands to shape your code
|
||||||
|
|
||||||
|
Stable release updates
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
After merging a pull-request into the `master` branch a team member may cherry-pick
|
||||||
|
your work to update the current stable version (branches: `stable/<major>.<minor>`).
|
||||||
|
|||||||
11
README.md
11
README.md
@ -36,6 +36,8 @@ You can contribute to the project in many ways, e.g. testing
|
|||||||
functionality, sending in bug reports or creating pull requests
|
functionality, sending in bug reports or creating pull requests
|
||||||
directly via GitHub. Any help is always very welcome!
|
directly via GitHub. Any help is always very welcome!
|
||||||
|
|
||||||
|
You can learn more about contributing on [CONTRIBUTING.md](./CONTRIBUTING.md).
|
||||||
|
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
|
|
||||||
@ -104,8 +106,15 @@ before issuing a pull request on GitHub.
|
|||||||
make style
|
make style
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Run the PSR2 and PEP8 style checks on MVC PHP code and Python,
|
Run the PSR12 and PEP8 style checks on MVC PHP code and Python,
|
||||||
respectively.
|
respectively.
|
||||||
|
For php code you will need to have `phpcs` and `phpcbf` installed.
|
||||||
|
|
||||||
|
You can use the package `php-codesniffer` on Debian/Ubuntu.
|
||||||
|
Python code will require `pycodestyle`.
|
||||||
|
|
||||||
|
For easier development you may want to use an OPNsense VM and run:
|
||||||
|
`pkg install os-debug` that will install all the necessary tools.
|
||||||
|
|
||||||
make sweep
|
make sweep
|
||||||
----------
|
----------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user