2016-05-31 23:17:15 +02:00
|
|
|
Contributing to QGIS
|
|
|
|
====================
|
|
|
|
|
|
|
|
QGIS is an open source project and we appreciate contributions very much.
|
|
|
|
|
|
|
|
Proper formatting
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Before making a pull request, please make sure your code is properly formatted
|
|
|
|
by running the prepare commit script **before** issuing `git commit`.
|
|
|
|
|
2020-04-14 09:39:56 +10:00
|
|
|
./scripts/prepare_commit.sh
|
2016-05-31 23:17:15 +02:00
|
|
|
|
2023-10-11 17:46:58 +02:00
|
|
|
This can be automated by adding it to a pre-commit hook, for example:
|
2016-05-31 23:17:15 +02:00
|
|
|
|
2023-10-11 17:46:58 +02:00
|
|
|
pushd $(git rev-parse --git-common-dir)/hooks
|
|
|
|
test -e pre-commit && mv pre-commit pre-commit.000
|
|
|
|
echo '$(git rev-parse --show-toplevel)/scripts/prepare_commit.sh' > pre-commit
|
|
|
|
chmod +x pre-commit
|
|
|
|
popd
|
2016-05-31 23:17:15 +02:00
|
|
|
|
|
|
|
Getting your pull request merged
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
This is a volunteer project, so sometimes it may take a little while to merge
|
|
|
|
your pull request.
|
|
|
|
|
2017-03-12 14:24:40 +01:00
|
|
|
There is a [guide with hints for getting your pull requests merged](https://docs.qgis.org/testing/en/docs/developers_guide/git.html#pull-requests)
|
2016-05-31 23:17:15 +02:00
|
|
|
in the developers guide.
|