4.7 KiB
gn_tools - QGIS Plugin
Generated options
Plugin
Here is a list of the options you picked when creating the plugin with the cookiecutter template.
| Cookiecutter option | Picked value |
|---|---|
| Plugin name | gn_tools |
| Plugin name slugified | gn_tools |
| Plugin name class (used in code) | GnTools |
| Plugin category | None |
| Plugin description short | Bienvenue dans le GéoNature du Conservatoire des Espaces Naturels de l'Isère |
| Plugin description long | Extension QGIS permettant de récupérer des données issue de Géonature |
| Plugin tags | GéoNature, api, tools |
| Plugin icon | default_icon.png |
| Plugin with processing provider | True |
| Author name | Colas GEIER |
| Author organization | Conservatoire d'espaces naturels Isère |
| Author email | geomatique@cen-isere.org |
| Minimum QGIS version | 3.30 |
| Maximum QGIS version | 3.99 |
| Support Qt6 | True |
| Git repository URL | https://gitea.cenra-outils.org/CEN38/gn_tools |
| Git default branch | main |
| License | GPLv3 |
| Python linter | None |
| CI/CD platform | None |
| Publish to https://plugins.qgis.org using CI/CD | False |
| IDE | VSCode |
Tooling
This project is configured with the following tools:
Code rules are enforced with pre-commit hooks.
See also: contribution guidelines.
Documentation
The documentation is located in docs subfolder, written in Markdown using myst-parser, structured in two main parts, Usage and Contribution, generated using Sphinx (have a look to the configuration file) and is automatically generated through the CI and published on Pages: https://gitea.cenra-outils.org/CEN38/gn_tools/pages (see post generation steps below).
Next steps post generation
1. Set up development environment
Typical commands on Linux (Ubuntu).
-
If you didn't pick the
git initoption, initialize your local repository:git init -
Follow the embedded documentation to set up your development environment to create virtual environment and install development dependencies.
-
Add all files to git index to prepare initial commit:
git add -A -
Run the git hooks to ensure that everything runs OK and to start developing on quality standards:
# run all pre-commit hooks on all files pre-commit run -a # don't be shy, run it again until it's all green
2. Adjust URL and build the documentation locally
Note
Since it's very hard to determine which the final documentation URL will be, the templater does not set it up. You have to do it manually.
- Have a look to the plugin's metadata.txt file: review it, complete it or fix it if needed (URLs, etc.)., especially the
homepageURL which should be to your GitLab or GitHub Pages. - Update the base URL of custom repository in installation doc page.
- Change the plugin's icon stored in
gn_tools/resources/images - Follow the embedded documentation to build plugin documentation locally
3. Prepare your remote repository
-
If you did not yet, create a remote repository on your Git hosting platform (GitHub, GitLab, etc.)
-
Add the remote repository to your local repository:
git remote add origin https://gitea.cenra-outils.org/CEN38/gn_tools -
Commit changes:
git commit -m "init(plugin): adding first files of gn_tools" -m "generated with QGIS Plugin Templater (https://oslandia.gitlab.io/qgis/template-qgis-plugin)" -
Push the initial commit to the remote repository:
git push -u origin main -
Create a new release following the packaging/release guide with the tag
0.1.0-beta1to trigger the CI/CD pipeline and publish the plugin on the official QGIS plugins repository (if you picked up the option).
License
Distributed under the terms of the GPLv3 license.