Repository navigation
Distribution S1: single pitch, all capabilities Community, gispulse demo, QGIS plugin publishable, MCP/data.gouv manifests - #517
Merged
Conversation
The QGIS plugin repository rejects any ZIP without a LICENSE file next to metadata.txt (mandatory since June 2024), so the plugin was never publishable. Ship qgis_plugin/LICENSE (AGPL-3.0, copy of the repo licence), flip experimental=False so the plugin shows in the default catalogue, point homepage at the documentation site while gispulse.dev is not served, and prepend the changelog entry. Add an optional publish-qgis-plugin job to release.yml that uploads the built ZIP through the repository's XML-RPC endpoint (scripts/upload_qgis_plugin.py, same plugin.upload call as the Plugin Builder) when OSGEO_USERNAME / OSGEO_PASSWORD are set; skipped otherwise. Rewrite qgis_plugin/PUBLISHING.md around the validator's actual rules, add the plugin checklist to RELEASING.md, and drop the private-issue link from the install docs (FR + EN). The scaffold test now asserts LICENSE is in the ZIP and experimental is False. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
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).
- pricing_catalog.yml: raster and network move from pro to community features
- drop the per-capability check_tier("pro") gates in raster, network,
network_expansion, network_resilience, routing and surface_sampling
- tests: 'blocked in community' become 'allowed in community'; add catalog
invariants and keep proving the generic gate blocks Pro-only features
- docs: capability guide, CLI listing, playground scenes and usage matrix no
longer label raster/network as Pro
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: sducournau <simon@imago.dev>
…nters to 2.5.1 - README: new hero (French & Belgian open geodata, ready to run), 60-second demo quick start, sources / workflows / capabilities / QGIS / MCP overview, 'save in QGIS, rules fire', open-core section (all capabilities free) - remove the ArcGIS add-in and Tauri desktop app (neither exists) from the README, pricing, FAQ and community pages; fix repository structure - docs-site home pages FR/EN: new tagline, sources and workflows cards, banner and counters to 2.5.1 / 144 capabilities - pricing pages FR/EN: Community = all 144 capabilities, Pro = operations - CHANGELOG: Unreleased entries (mirrored in docs-site changelogs) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
… 2026 distribution roadmap Add server.json for the official MCP registry (PyPI gispulse 2.5.1, uvx, stdio), docs/distribution/mcp-registry.md (publish steps, Smithery/mcp.so/Glama status, client configs), docs/distribution/datagouv-reuses.md (13 data.gouv.fr reuse sheets with resolved dataset slugs, plus a Belgium section) and the 90-day distribution roadmap. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
`gispulse demo list` reads templates/manifest.yml and shows which bundled templates carry a `demo:` block (sample files, layer, ref layers, param overrides, pinned SHA-256); `gispulse demo run <template>` stages the sample into ./gispulse-demo/<template>/, runs the template through SessionManager.run_pipeline_v2 (the `gispulse run` path) and writes every DAG leaf as a layer of <template>.gpkg next to a replayable pipeline.json. Samples resolve from --data-dir, the checkout's examples/, then a per-user cache filled from the release tag on GitHub with SHA-256 verification, because neither examples/ nor templates/ ships in the wheel. Demos: cadastre_topology_cleanup (Muret parcels, ~20 s), risques_inondation_parcelles and services_aires_influence (two new small Community templates, < 1 s), reseau_topology_prep (stops at connectivity_check with a readable message while that capability is Pro). Also: - pipeline v2 schema accepts the catalogue metadata keys carried by the bundled templates (domain, author, tags, inputs_notes, requires_pro, requires_plugins) — `gispulse run -r templates/<x>.json` was rejected. - cadastre_topology_cleanup / reseau_topology_prep: drop params that topology_check / connectivity_check do not accept. - PipelineResult.step_results exposes every step output. - docs: "Try it in 60 seconds" in the quickstart (FR + EN), [demo] marker in templates/INDEX.md, CHANGELOG entry, `slow` pytest marker. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
…angelog, soften template counters Compose the [Unreleased] section as the union of the vitrine/pricing, demo command, QGIS plugin and distribution-manifests entries (the merges kept only the first branch's block) and mirror it in docs-site/changelog.md (FR) and docs-site/en/changelog.md. README, home pages and pricing pages now say "20+ business workflows" instead of a hard-coded 22 — the demo lot added two templates and the count drifts with every addition — and the pricing pages count the same 22 FR/BE sources as the home pages. The reseau_topology_prep demo note no longer says "(Pro)": network capabilities are Community. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical defects allow destructive deletion of ancestor directories and produce incorrect flood-exposure calculations and incomplete service catchments.
5 open issues
Reject output paths that are ancestors of protected directories · New Intersect parcels with flood zones before calculating exposed area · New Derive the Voronoi extent from all input POIs · New Use a boundary-inclusive predicate to retain clipped equipment points · New Include release ref in cached manifest and template paths · New
What changed in this PR
This PR implements the first stage of GISPulse’s distribution plan: clearer FR/BE open-data positioning, easier demo onboarding, Community access to raster and network capabilities, and preparation for external listings.
Changes:
- Adds
gispulse demo list|run, sample resolution, replayable pipelines, and two demonstration templates. - Moves raster and network capabilities to Community while preserving Pro operational gates.
- Updates documentation and prepares QGIS plugin publishing, MCP registration, and data.gouv.fr reuse submissions.
| File | Description |
|---|---|
tests/unit/test_raster_capabilities_s11.py |
Verifies Community raster access. |
tests/unit/test_qgis_plugin_scaffold.py |
Checks packaged license and stable metadata. |
tests/unit/test_pricing_catalog_tiers.py |
Tests Community access and retained Pro gates. |
tests/unit/test_network_capabilities_s11.py |
Verifies Community network access. |
tests/unit/test_cli_demo.py |
Covers demo resolution, overrides, and execution. |
templates/services_aires_influence.json |
Adds service catchment demonstration. |
templates/risques_inondation_parcelles.json |
Adds parcel flood-exposure demonstration. |
templates/reseau_topology_prep.json |
Removes unsupported connectivity parameters. |
templates/manifest.yml |
Registers demos and sample checksums. |
templates/INDEX.md |
Documents demos and new templates. |
templates/cadastre_topology_cleanup.json |
Removes unsupported topology parameter. |
src/gispulse/orchestration/session_manager.py |
Exposes individual pipeline step outputs. |
src/gispulse/core/pricing_catalog.yml |
Moves raster and network to Community. |
src/gispulse/core/pipeline_schema.py |
Accepts template catalogue metadata. |
src/gispulse/cli.py |
Registers the demo command group. |
src/gispulse/cli_demo.py |
Implements demo discovery, staging, and execution. |
src/gispulse/capabilities/surface_sampling.py |
Removes the Pro execution gate. |
src/gispulse/capabilities/routing.py |
Removes routing Pro gates. |
src/gispulse/capabilities/raster.py |
Removes raster Pro gates. |
src/gispulse/capabilities/network.py |
Removes network Pro gates. |
src/gispulse/capabilities/network_resilience.py |
Removes resilience Pro gates. |
src/gispulse/capabilities/network_expansion.py |
Removes the expansion Pro gate. |
server.json |
Adds MCP registry metadata. |
scripts/upload_qgis_plugin.py |
Adds XML-RPC plugin upload support. |
RELEASING.md |
Adds QGIS publishing checklist. |
qgis_plugin/PUBLISHING.md |
Revises submission and release guidance. |
qgis_plugin/metadata.txt |
Marks plugin stable and updates homepage. |
qgis_plugin/LICENSE |
Includes the license required for submission. |
pyproject.toml |
Registers the slow-test marker. |
docs/USAGE_MATRIX.md |
Updates workflow tier assignments. |
docs/roadmap-distribution-2026-q4.md |
Records the distribution plan. |
docs/distribution/mcp-registry.md |
Documents MCP publishing procedures. |
docs/distribution/datagouv-reuses.md |
Provides reuse sheets and Belgian outreach guidance. |
docs-site/templates.md |
Updates French preset counts. |
docs-site/pricing.md |
Revises French tier descriptions. |
docs-site/plugins/qgis-install.md |
Clarifies installation pending publication. |
docs-site/playground/index.md |
Removes the network demo’s Pro label. |
docs-site/integrations/bdtopo.md |
Updates capability-count comments and text. |
docs-site/index.md |
Refreshes French positioning and counters. |
docs-site/guide/cli.md |
Labels raster and network as Community. |
docs-site/guide/capabilities.md |
Updates counts and tier guidance. |
docs-site/getting-started/quickstart.md |
Adds French demo onboarding. |
docs-site/getting-started/configuration.md |
Updates Community and Pro feature lists. |
docs-site/faq.md |
Refreshes release and shipped-component descriptions. |
docs-site/en/templates.md |
Updates English preset counts. |
docs-site/en/pricing.md |
Revises English tier descriptions. |
docs-site/en/plugins/qgis-install.md |
Clarifies installation pending publication. |
docs-site/en/playground/index.md |
Removes the network demo’s Pro label. |
docs-site/en/index.md |
Refreshes English positioning and counters. |
docs-site/en/guide/capabilities.md |
Updates counts and tier guidance. |
docs-site/en/getting-started/quickstart.md |
Adds English demo onboarding. |
docs-site/en/getting-started/configuration.md |
Updates Community and Pro feature lists. |
docs-site/en/faq.md |
Refreshes release and shipped-component descriptions. |
docs-site/en/changelog.md |
Summarizes changes in English. |
docs-site/community.md |
Updates delivered-feature descriptions. |
docs-site/changelog.md |
Summarizes changes in French. |
CHANGELOG.md |
Records demo, pricing, and distribution changes. |
.gitignore |
Excludes generated demo output. |
.github/workflows/release.yml |
Adds optional QGIS plugin publishing. |
Review effort: Balanced
| if not force: | ||
| raise DemoError(f"output directory {out_dir} already exists — pass --force to overwrite it") | ||
| resolved = out_dir.resolve() | ||
| if resolved in (Path.cwd().resolve(), Path.home().resolve(), Path(resolved.anchor)): |
Comment on lines
+29
to
+35
| "capability": "spatial_join", | ||
| "params": { | ||
| "ref_layer": "zones_retenues", | ||
| "predicate": "intersects", | ||
| "how": "inner", | ||
| "columns": ["risk_level"] | ||
| }, |
| "id": "aires", | ||
| "type": "capability", | ||
| "capability": "voronoi_polygons", | ||
| "params": { "tolerance": 0.0, "only_edges": false }, |
Comment on lines
+245
to
+247
| cached = self.cache_dir / rel | ||
| if cached.is_file() and (sha256 is None or sha256_of(cached) == sha256): | ||
| return cached |
… release The dev extra allowed any ruff <1.0 while uv.lock pins 0.15.11, so the runners installed the newest ruff and failed on rules the codebase was never checked against (2488 errors on main, 5 in plugins). With the locked minor, `ruff check .` and `ruff check plugins/` pass on this branch. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
…sioned cache, extras check Templates - area_length measures in EPSG:2154 (crs_meters) instead of its EPSG:3857 default: area_m2 was ~1.9x off in risques_inondation_parcelles and services_aires_influence. Both demos now assert area_m2 == geometry.area. - risques_inondation_parcelles is rebuilt on overlay_intersection: the `indicateurs` layer holds the part of each parcel inside a zone (one row per parcel x level, surface of that part), `bilan_zones` the dissolved exposed footprint per risk level with its surface. Description, manifest note and INDEX.md say so. - services_aires_influence joins with `intersects` so schools sitting on the concave-hull boundary keep their name (10/10 cells, was 8/10). - Stale Pro flags dropped: requires_pro false on six presets, "(PRO)" markers and legend removed from INDEX.md, stale connectivity_check note removed from manifest.yml and INDEX.md. - New `demo.requires_extras` key (documented in the manifest header), declared for reseau_topology_prep (network -> networkx). gispulse demo - --force only removes a directory carrying the `.gispulse-demo` marker written by every run; anything else is refused with a clear message. An existing empty directory is reused. - --data-dir is a repository-like root: templates/ resolves under it too (plus the examples/ mirror and flat layouts), so an offline wheel-only install works with a copy of the two directories. - Cache keyed on the download ref (~/.cache/gispulse/demo/<ref>/...) for manifest, templates and samples alike: upgrading never serves the previous release's manifest. - requires_extras checked before staging; exit 1 with the pip install "gispulse[<extra>]" to run. `demo list` shows an Extras column. - "N step(s) executed" is the executed count; the replay hint says that `gispulse run` writes only the final step when several leaves were written. SessionManager - PipelineResult.step_results is opt-in (run_pipeline_v2(keep_step_results=True), passed by demo run); default callers get an empty dict and intermediate frames can be collected. rules_applied counts spec steps only (the DAG executor also returns the input nodes). scripts/precompute_accessibility.py no longer claims to need a Pro tier or licence key. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
… mode, postgis_sql is Community, document gispulse demo Review follow-ups on the S1 lot. README no longer claims the demo runs without download (samples are fetched once from the release tag and cached; a checkout reads examples/) and names the four templates verified end to end, pointing to #507 for the rest; "ready-made workflows" becomes "workflow templates"; compact Deployment / Development / Contributing / Related projects sections restored. docs-site: ArcGIS add-in pages and their sidebar entries removed (with the dead link from integrations/ arcgis.md), Tauri "Mode 4" install section and FAQ item removed, engine guide no longer names a Tauri app, counters harmonised (22 sources, 20+ workflows), postgis_sql listed as Community in pricing/configuration/CLI guide, `gispulse demo` documented in the CLI guide (FR/EN), coverage pages regenerated (overlay_intersection and select_columns now used by a template). CHANGELOG and its mirrors reworded to match what shipped (schema fix scope, step_results opt-in, licence side effect, upload steps gated on both OSGEO secrets). release.yml gates on both secrets; RELEASING.md adds the server.json bump. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: sducournau <simon@imago.dev>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why
GISPulse 2.5.1 ships 144 capabilities, 20+ business templates and 29 plugins — and has 2 GitHub stars, no listing on plugins.qgis.org, no data.gouv.fr reuse, a docs site announcing v2.0.0 / 118 capabilities, a README promising an ArcGIS add-in and a Tauri app that do not exist, and a Show HN drafted three times and never posted. This PR is sprint S1 ("vitrine") of the Q4 2026 distribution plan in
docs/roadmap-distribution-2026-q4.md(milestone Distribution Q4 2026, issues #504–#516).What
One pitch (
README.md, docs-site home FR/EN, pricing, FAQ, capabilities guide): French & Belgian open geodata ready to run — 22 sources, 20+ business workflows, 144 capabilities, DuckDB inside, "save in QGIS, rules fire". Counters aligned to 2.5.1 / 144 (scripts/build_capability_matrix.py --checkis in sync). ArcGIS add-in / Tauri app references removed; ArcGIS Pro stays documented as an OGC API Features consumer. Python badge fixed to 3.12+ (whatpyproject.tomlrequires). README carriesmcp-name: io.github.imagodata/gispulsefor the MCP registry ownership check.All 144 capabilities are Community (decision 2026-11-01):
rasterandnetworkleavepro.featuresincore/pricing_catalog.yml; the per-capabilitycheck_tier("pro")calls are removed fromcapabilities/{raster,network,network_expansion,network_resilience,routing,surface_sampling}.py. Pro is scoped to operations (PostGIS/hybrid, cluster ESB triggers, DAG executor, visual editor, monitoring, cron). The generic gate is untouched —tests/unit/test_pricing_catalog_tiers.pyprovespostgis/esb_triggers/dag_executorstill raiseTierErrorin Community. Not in this PR:gispulse-enterprise/config/pricing_commercial.ymland the portal-pro TierGate (tracked in #505).gispulse demo list|run(src/gispulse/cli_demo.py): offline demos driven by ademo:block intemplates/manifest.yml, executed throughSessionManager.run_pipeline_v2(same path asgispulse run), every DAG leaf written to<out>/<template>.gpkgnext to a replayablepipeline.json. Samples resolve from--data-dir→ repoexamples/→~/.cache/gispulse/demo→ release tag on GitHub (SHA-256 verified), because neitherexamples/nortemplates/ships in the wheel. Four demos run end to end on the bundled Muret data:cadastre_topology_cleanup(20 s, 17 212 parcels),risques_inondation_parcelles,services_aires_influence(two new small Community templates),reseau_topology_prep(works only with the tier move above).Template library fixes found on the way (#507 tracks the rest): 18/22 templates failed the v2 schema (
additionalProperties) — the schema now acceptsdomain,author,tags,inputs_notes,requires_pro,requires_plugins;cadastre_topology_cleanupandreseau_topology_preppassed parameters their capabilities do not accept. Most business templates still callcalculate/spatial_aggregatewith incompatible signatures — not rewritten here.QGIS plugin publishable (#508): plugins.qgis.org rejects any ZIP without
gispulse/LICENSE(mandatory since June 2024), so the plugin was never uploadable;experimental=Falseso it shows in the default catalogue; homepage → docs site while gispulse.dev is down (#509). Optionalpublish-qgis-pluginjob inrelease.yml(scripts/upload_qgis_plugin.py, XML-RPCplugin.upload), skipped without theOSGEO_*secrets.qgis_plugin/PUBLISHING.mdrewritten on the validator's real rules; install docs no longer link to a private issue.Distribution manifests:
server.json(official MCP registry, validated against the 2025-12-11 schema; publishing needs a PyPI release that contains the READMEmcp-name:line — #510),docs/distribution/mcp-registry.md,docs/distribution/datagouv-reuses.md(13 ready-to-paste reuse sheets with resolved dataset/service slugs + Belgian contacts — #511),docs/roadmap-distribution-2026-q4.md.Verification
python scripts/build_capability_matrix.py --check→ "Matrix in sync (144 capabilities)".gispulse demo run reseau_topology_prep0.8 s,cadastre_topology_cleanup~20 s,demo list→ 4 with sample / 20 without.test_cli_demo(31),test_pricing_catalog_tiers, raster/network S11, scaffold, pipeline schema, templates router, network expansion, routing → 223 passed. Fulltests/uniton the vitrine lot: 6543 passed, 11 failed — all pre-existing (step_kinds/run_control/run_events,test_cli_sourceS3,test_cli_storage), reproduced onorigin/main.ruff checkclean on every changed.py;uv.lockuntouched; plugin ZIP rebuilt withgispulse/LICENSE(15 files, 33 kB).node_moduleslocally) — docs CI will tell.Review round (Opus reviewer, 14 findings + 11 omissions)
Fixed in
6061a39/222932e: surfaces in the two new templates were measured in EPSG:3857 (1.9× off) — now EPSG:2154 and asserted;risques_inondation_parcellesrebuilt onoverlay_intersection(exposed surface per parcel × level, no duplicates: high 627 parcels / 52.5 ha, medium 1 670 / 116.9 ha);services_aires_influencenames 10/10 cells;--forceonly removes a directory carrying the.gispulse-demomarker;--data-dircovers manifest and templates (true offline); cache keyed on the download ref;reseau_topology_prepdeclares the[network]extra anddemo runchecks it up front;step_resultsopt-in (keep_step_results=True) sogispulse run/portal keep their memory profile;rules_appliedno longer counts input/ref nodes; six templates lose a stalerequires_pro;postgis_sqllisted as Community; ArcGIS add-in pages, their sidebar entries and the Tauri install mode removed (plus the dead link); README no longer claims "no download";gispulse demodocumented in the CLI guide; coverage pages regenerated.CI:
plugins,capability-matrix-drift,security-audit,build-docker,changelog,DCOgreen.test (3.12)runs the full suite for the first time since October (lint now uses the locked ruff): 6 600 passed, 8 failed — the eight pre-existing orchestration failures tracked in #518, reproduced onorigin/main. Merged with admin override on that basis, as for #496/#501/#503.After merge
Next release must ship this so that a wheel-installed
gispulse demofinds thedemo:blocks at the tag, the PyPI README carriesmcp-name:, and the plugin ZIP from the GitHub Release can be uploaded by hand once (#508). CI lint onmainis already red (ruff 0.16 unpinned) independently of this PR.Closes #504, closes #505, closes #506.
Refs #507, #508, #509, #510, #511, #512, #513.
🤖 Generated with Claude Code