Skip to content

Commit f5c7550

Browse files
authored
Merge pull request #624 from opengisch/contributing_readme
Added Contributing section and improved Development section in the README
2 parents c70e6b5 + 169b85a commit f5c7550

File tree

1 file changed

+41
-10
lines changed

1 file changed

+41
-10
lines changed

README.md

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![Build Status](https://travis-ci.org/opengisch/qfieldsync.svg?branch=master)](https://travis-ci.org/opengisch/qfieldsync)
44

55
# QFieldSync
6+
67
This plugin facilitates packaging and synchronizing QGIS projects for use with [QField](http://www.qfield.org).
78

89
It analyses the QGIS project and suggests and performs actions needed to make the project working on QField.
@@ -11,32 +12,62 @@ More information can be found in the [QField documentation](https://docs.qfield.
1112

1213
The plugin can be download on the [QGIS plugin repository](https://plugins.qgis.org/plugins/qfieldsync/).
1314

15+
16+
## Contribute
17+
18+
QFieldSync is an open source project, licensed under the terms of the GPLv3 or later.
19+
This means that it is free to use and modify and will stay like that.
20+
21+
We are very happy if this app helps you to get your job done or in whatever creative way you may use it.
22+
23+
If you found it useful, we will be even happier if you could give something back.
24+
A couple of things you can do are:
25+
26+
- Rate the plugin at [plugins.qgis.org](https://plugins.qgis.org/plugins/qfieldsync/) ★★★★★
27+
- Write about your experience (please let us know!).
28+
- [Help with the documentation](https://github.com/opengisch/QField-docs/).
29+
- Translate [the QFieldSync QGIS plugin](https://app.transifex.com/opengisch/qfieldsync/dashboard/), [the QField app](https://app.transifex.com/opengisch/qfield-for-qgis/dashboard/) or [the documentation](https://app.transifex.com/opengisch/qfield-documentation/dashboard/).
30+
- [Sponsor a feature](https://docs.qfield.org/get-started/sponsor/)
31+
- And just drop by to say thank you or have a beer with us next time you meet [OPENGIS.ch](https://opengis.ch) at a conference.
32+
- [Develop a new feature or fix a bug](#development).
33+
34+
1435
## Development
1536

16-
1) Checkout [qfieldsync](https://github.com/opengisch/qfieldsync/) locally:
37+
### Getting the source code
1738

18-
```
39+
1) Checkout [`qfieldsync`](https://github.com/opengisch/qfieldsync/) locally:
40+
41+
```shell
1942
git clone --recurse-submodules [email protected]:opengisch/qfieldsync.git
2043
```
2144

22-
2) Make a link of the QFieldSync checkout to qfieldsync directory in your current QGIS profile:
45+
2) Make a link of the QFieldSync checkout to `qfieldsync` directory in your current QGIS profile:
2346

24-
```
47+
```shell
2548
ln -s ${PWD}/qfieldsync/qfieldsync ${HOME}/.local/share/QGIS/QGIS3/profiles/default/python/plugins
2649
```
2750

28-
3) Checkout [libqfieldsync](https://github.com/opengisch/libqfieldsync/) locally:
51+
3) Checkout [`libqfieldsync`](https://github.com/opengisch/libqfieldsync/) locally:
2952

30-
```
53+
```shell
3154
git clone [email protected]:opengisch/libqfieldsync.git
3255
```
3356

34-
4) Install your local libqfieldsync as editable dependency (assuming you are in the same directory as step 3):
57+
4) Install your local `libqfieldsync` as editable dependency (assuming you are in the same directory as step 3):
3558

36-
```
59+
```shell
3760
pip install -e libqfieldsync
3861
```
3962

40-
NOTE On more recent Linux distributions you might get an error `error: externally-managed-environment` and you have to pass additional `--break-system-packages`.
63+
> [!NOTE]
64+
> On more recent Linux distributions you might get an error `error: externally-managed-environment` and you have to pass additional `--break-system-packages`.
65+
> Despite the name, we promise this is not going to break system packages.
66+
67+
### Opening a PR
68+
69+
Make sure each new feature or bug fix are in a separate PR.
4170

42-
Despite the name, we promise this is not going to break system packages.
71+
QFieldSync stores the respective `libqfieldsync` commit SHA in the bottom of [`requirements.txt`](https://github.com/opengisch/qfieldsync/blob/master/requirements.txt#L9-L10).
72+
Sometimes changes in QFieldSync require modifications in [`libqfieldsync`](https://github.com/opengisch/libqfieldsync/).
73+
In these cases please update the commit sha of `libqfieldsync` to point to the respective commit on `libqfieldsync`'s master branch.

0 commit comments

Comments
 (0)