Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,38 @@ jobs:
--notes-file release-notes.md \
dist/*.whl dist/*.tar.gz dist/gispulse-qgis-plugin-*.zip dist/SHA256SUMS

# ── 4. Docker image to GHCR (deferred — Dockerfile is engine + viewer
# ── 4. Upload the plugin ZIP to plugins.qgis.org (optional) ─────────
# Runs only when the OSGEO_USERNAME / OSGEO_PASSWORD repository
# secrets are set (an OSGeo user id, not a GitHub account). Same
# XML-RPC call as the Plugin Builder's plugin_upload.py — see
# qgis_plugin/PUBLISHING.md. Skipped, not failed, without secrets.
publish-qgis-plugin:
name: Publish QGIS plugin to plugins.qgis.org
needs: [build-plugin-zip, github-release]
if: github.event_name == 'push'
runs-on: ubuntu-latest
env:
OSGEO_USERNAME: ${{ secrets.OSGEO_USERNAME }}
OSGEO_PASSWORD: ${{ secrets.OSGEO_PASSWORD }}

steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Download plugin ZIP from build-plugin-zip job
if: env.OSGEO_PASSWORD != '' && env.OSGEO_USERNAME != ''
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: qgis-plugin-zip
path: dist/

- name: Upload to plugins.qgis.org
if: env.OSGEO_PASSWORD != '' && env.OSGEO_USERNAME != ''
run: python3 scripts/upload_qgis_plugin.py dist/gispulse-qgis-plugin-*.zip

- name: Skipped — no OSGeo credentials configured
if: env.OSGEO_PASSWORD == '' || env.OSGEO_USERNAME == ''
run: echo "OSGEO_USERNAME / OSGEO_PASSWORD secrets not set; upload to plugins.qgis.org skipped (manual fallback in qgis_plugin/PUBLISHING.md)."

# ── 5. Docker image to GHCR (deferred — Dockerfile is engine + viewer
# only since the portal/ split. Push job will be reinstated as a
# follow-up once the GHCR creds + tagging policy are agreed.)
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ viewer/dist/
# Local scratchpad GPKG at repo root (examples/datasets/*.gpkg stay tracked)
/project.gpkg
/*.gpkg-journal

# `gispulse demo run` output when launched from a checkout
/gispulse-demo/
96 changes: 96 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,102 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- `gispulse demo list|run`: demos on the bundled Muret samples (`cadastre_topology_cleanup`,
`risques_inondation_parcelles`, `services_aires_influence`,
`reseau_topology_prep` — the last one needs the `[network]` extra). `demo list` shows which templates ship a sample
(`demo:` block in `templates/manifest.yml`, the single source of truth);
`demo run <template> [--out DIR] [--param STEP.PARAM=VALUE] [--force]`
stages the sample, runs the template through the regular pipeline executor
and writes every leaf step as a layer of
`./gispulse-demo/<template>/<template>.gpkg`, next to the resolved
`pipeline.json` (`gispulse run … -r pipeline.json` replays it and writes the
final step). `--force` only removes a directory a previous demo created.
Samples, manifest and templates resolve from `--data-dir`, a repository
checkout (`examples/`, `templates/`), or a per-user cache
(`~/.cache/gispulse/demo/<ref>/`, `$XDG_CACHE_HOME` honoured) filled from the
release tag on GitHub (`main` for non-release versions); samples are SHA-256
checked against the manifest — neither `examples/` nor `templates/` ships in
the wheel.
- Two small Community templates that run on the bundled Muret samples:
`risques_inondation_parcelles` (parcels x flood zoning, surface per risk
level) and `services_aires_influence` (Voronoi catchments of OSM amenities).
- `PipelineResult.step_results` (`SessionManager.run_pipeline_v2(…, keep_step_results=True)`):
every executed step's output, not only the last one. Off by default so
`gispulse run` and the portal keep their memory profile; `demo run` turns it on.
- `server.json` (MCP registry manifest for `io.github.imagodata/gispulse`) and
`docs/distribution/` (MCP registry publishing, data.gouv.fr reuse sheets,
Q4 2026 distribution roadmap in `docs/roadmap-distribution-2026-q4.md`).

### Changed

- **Raster and network capabilities move to the Community tier.** `raster` and
`network` leave `pro.features` in `core/pricing_catalog.yml` and join
`community.features`; the per-capability `check_tier("pro")` gates are removed
from the raster (6), network, network expansion/resilience, routing and
surface-sampling capabilities. All 144 capabilities are now free; Pro is
scoped to operations (PostGIS/hybrid engine, cluster-grade ESB triggers, DAG
executor, visual editor, monitoring, cron pipelines). The generic
`enforce_feature` / `check_tier` gate is unchanged and still blocks Pro-only
features in Community. Side effect: these capabilities no longer validate the
licence key when `GISPULSE_TIER=pro` is set; licence checks remain at the Pro
entry points (PostGIS engine, ESB triggers, scheduler, routers).
- **QGIS plugin ready for plugins.qgis.org.** The plugin folder now ships a
`LICENSE` file (mandatory on the QGIS plugin repository since June 2024 —
previous ZIPs could not be uploaded), `experimental=False` so it shows in
the default plugin catalogue, and `homepage` points to the documentation
site. `release.yml` gains an optional `publish-qgis-plugin` job
(`scripts/upload_qgis_plugin.py`, XML-RPC `plugin.upload`) whose upload
steps run only when the `OSGEO_USERNAME` / `OSGEO_PASSWORD` secrets are set. Maintainer guide
rewritten in `qgis_plugin/PUBLISHING.md`; install docs no longer link to a
private issue.

### Fixed

- CI lint runs the locked ruff: the `dev` extra now requires `ruff>=0.15.11,<0.16`
(the version in `uv.lock`) instead of `<1.0`, so `pip install -e ".[dev]"` on the
runners no longer picks a newer ruff whose rules the codebase was never checked
against (the `test (3.12)` and `plugins` jobs on `main` were red for that reason).
- The pipeline v2 schema accepts the catalogue metadata carried by the bundled
templates (`domain`, `author`, `tags`, `inputs_notes`, `requires_pro`,
`requires_plugins`); `gispulse run -r templates/<x>.json` no longer fails
with "Additional properties are not allowed" for the bundled templates —
except `risques_ppri_exposition`, whose `triggers` block is not v2. Most
business templates still name French reference datasets and call
`calculate` / `spatial_aggregate` with parameters those capabilities do not
accept; making every template runnable is tracked in #507.
- `cadastre_topology_cleanup`: `topology_check` has no `tolerance` parameter;
`reseau_topology_prep`: `connectivity_check` has no `tolerance`,
`check_dangling` or `check_isolated` parameter. The executor rejected both
templates at that step.
- Six templates (`energie_solaire_toiture`, `mobilite_accessibilite_services`,
`reseau_expansion_resilience`, `retail_huff_chalandise`, `sante_apl_deserts`,
`securite_sdis_couverture`) were still flagged `requires_pro` and shown with a
Pro badge in the gallery although every capability they use is Community.
- `area_length` on an already projected layer measured in EPSG:3857 (surfaces
off by ~1.9× at this latitude) in the two new templates; they now pass the
metric CRS explicitly, and `risques_inondation_parcelles` reports the exposed
surface (overlay) per parcel and per risk level instead of whole-parcel areas.
- `PipelineResult.rules_applied` counted the DAG's input and reference nodes as
steps, so `gispulse run` reported more steps than the pipeline declares.

### Documentation

- README and docs-site re-pitched around the French and Belgian open-data wedge
(sources, ready-made business workflows, 144 capabilities, DuckDB inside,
"save in QGIS, rules fire"); the declarative-engine story moves below it.
- Counters aligned to 2.5.1 and 144 capabilities (README, docs-site home pages
FR/EN, capabilities guide, FAQ, pricing, configuration guide).
- Removed references to the non-existent ArcGIS add-in and Tauri desktop app
from the README, pricing pages, FAQ and community page. ArcGIS Pro is
documented as an OGC API Features consumer.
- Pricing pages: raster and network are Community; Pro lists operations only.
- `postgis_sql` (never tier-gated) is listed as Community in the pricing tables,
the configuration guide and the CLI guide; `gispulse demo` documented in the
CLI guide (FR/EN); the ArcGIS add-in pages, their sidebar entries and the
Tauri "Mode 4" install section are removed.

## [2.5.1] - 2026-10-01

The PICC and UrbIS source plugins move to 0.2.0 and now declare
Expand Down
Loading
Loading