Skip to content

Update BrasilData to 0.1.87 - #99

Open
elpidioassinaturas wants to merge 2 commits into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.86
Open

elpidioassinaturas wants to merge 2 commits into
opengeos:mainfrom
elpidioassinaturas:brasildata-0.1.86

Conversation

@elpidioassinaturas

@elpidioassinaturas elpidioassinaturas commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Plugin: BrasilData (brasildata), elpidioassinaturas/BrasilData

What it does: this updates registry/brasildata.json from 0.1.85 to 0.1.87. Version 0.1.86 was released while this PR was open. Nothing else changes.

Follows #95 (0.1.83 → 0.1.85), which is merged.

Unchanged: the permissions (edit, files, network), the minimum RustGIS (0.5.0), the categories and the commands (254).

0.1.87: class colours for geology and soils, fire hotspots across the month boundary

  • Geology and soils of IBGE (BDiA 1:250,000) get colours by class. Before, they arrived in a single colour.
    • Soils: coloured by the SiBCS order (leg_ordem), close to the colours of IBGE and Embrapa soil maps, and labelled with the unit symbol (cod_simbol).
    • Geology: coloured by geological period, in the colours of the International Chronostratigraphic Chart, and labelled with the unit code (letra_simb). The period is a field (periodo) computed from nm_tempo_g.
  • Fire hotspots for the last 48 hours and 7 days now come from INPE's own WFS (TerraBrasilis, all satellites).
    • The IBAMA Sisfogo service used before only keeps the current month. On 1 December it was empty, so both commands returned no hotspots anywhere in Brazil.
    • The 7-day window ends at the latest hotspot INPE has, and now reaches back into the previous month.
    • The WFS sends Access-Control-Allow-Origin: *, so both commands also work in the web app.
  • Tests:
    • cargo test (363 tests) passes.
    • CLI runs in rustgis-cli 0.8.0:
      • geology and soils at Viçosa (MG);
      • 7-day hotspots at Colniza (MT) on 1 December: 24 hotspots from 26 to 30 November.
    • The colours were also checked in the RustGIS window.

0.1.86: the panel search finds every municipality

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • BrasilData now uses release v0.1.87 instead of v0.1.85. The data category remains unchanged, and the updated release checksum helps ensure the referenced data package is verified correctly.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The BrasilData registry entry now references release v0.1.87 and its SHA-256 checksum. The Data category is unchanged.

Changes: BrasilData Release Update

Layer / File(s) Summary
Update release reference
registry/brasildata.json
The source URL and SHA-256 checksum now point to release v0.1.87 instead of v0.1.85.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to 85458

This updates the BrasilData registry entry to release 0.1.87 with a verified checksum. No concrete merge-blocking risk is established. Older RustGIS hosts handling the larger political-limits tree remains unchecked, and the Lint check should be reviewed.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Update BrasilData to 0.1.87" matches the only file change, which bumps the BrasilData release reference in registry/brasildata.json from v0.1.85 to v0.1.87 with its SHA-256 checksum. It nam…
Description check Passed The description follows the repository template. It gives the plugin name and repository link, a summary of what changes, and the testing notes. It states that the permissions, minimum RustGIS version…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Update BrasilData to 0.1.87" matches the only file change, which bumps the BrasilData release reference in registry/brasildata.json from v0.1.85 to v0.1.87 with its SHA-256 checksum. It names the plugin and the new version, so it describes the main change. It does not mention the 0.1.86 release or the 0.1.87 feature changes, which is acceptable for a version bump.

Full details: Description check

Explanation

The description follows the repository template. It gives the plugin name and repository link, a summary of what changes, and the testing notes. It states that the permissions, minimum RustGIS version, categories, and commands are unchanged. The template asks for the RustGIS version and platform in the testing section; the author gives the rgplugin and CLI test details but does not name the desktop, web, or CLI platform for the test. The two checklist items are not ticked, so the author has not confirmed them.

Resolution

Optionally state the RustGIS version and platform (desktop, web, or CLI) under "How I tested it". Tick the two checklist items after confirming that source.url and sha256 point to the plugin's release asset and that the permissions match actual use.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the registry with care,
A newer BrasilData release is there.
The checksum follows, clear and bright,
The Data category stays in sight.
I twitch my nose and hop away.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: ab1ba409-d650-4e76-9cbd-0dd6949245c0
Commits

Reviewing files that changed from the base of the PR and between d6a69e3 and 854580d.

Files selected for processing: 1

  • registry/brasildata.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Code review

Bugs

  • None found. The entry only changes the release URL and SHA-256 from 0.1.85 to 0.1.86 (confidence: high).

Security

  • The package could only be inspected through its manifest and interface, because the module is compiled. The imports are only rustgis.call, rustgis.result and rustgis.log. The exports are memory, rustgis_alloc and rustgis_call. Both match the required interface.
  • The permissions are unchanged (edit, files, network), as the PR says. layer.remove, edit.deleteField and share.exportLayer appear among the command strings, so it is worth confirming they are used only by the commands that need them. I could not check this from the compiled module (confidence: low, informational).
  • The URLs in module.txt point at public data services: IBGE, INPE, NASA/ASF/CMR, Copernicus, Open-Meteo, CHIRPS, FAO WaPOR, source.coop, S3 and Azure blobs. There is also a GitHub releases API URL for elpidioassinaturas/BrasilData, which looks like an update check. All of this fits a network plugin for Brazilian public data.
  • homepage leads to the source repository, https://github.com/elpidioassinaturas/BrasilData. The manifest's id, name and version (brasildata, BrasilData, 0.1.86) match the entry.

Quality

  • Nit: registry/brasildata.json gains a trailing blank line at the end of the file. This is harmless, but it can be removed (confidence: high).

CLAUDE.md

  • No applicable guidelines were violated. The PR adds no plugin source, only a registry entry that points at a released package.

Plugin packages

id version runtime package module permissions module imports commands named in strings
brasildata 0.1.86 wasm 6,604,681 B 12,217,848 B edit, files, network rustgis.call, rustgis.result, rustgis.log analysis.simulate, edit.addField, edit.calculateField, edit.deleteField, edit.enable, gp.run, group.add, host.addLayer, host.features, host.layers, host.notify, host.view, info.commands, info.project, labels.enable, labels.field, labels.placement, labels.scaleRange, labels.style, layer.addData, layer.addUrl, layer.addZarr, layer.classStyle, layer.color, layer.definitionQuery, layer.displayFilters, layer.fields, layer.marker, layer.mask, layer.move, layer.moveDown, layer.outline, layer.remove, layer.rename, layer.scaleRange, layer.select, layer.symbology, layer.template, layer.visibility, layer.zoomTo, layout.remove, layout.update, map.addTiles, map.projection, map.removeTiles, map.tiles, ramp.add, raster.change, raster.function, raster.functionChain, raster.georeference, raster.info, raster.mask, raster.mosaic, raster.process, raster.stretch, raster.symbology, select.byAttributes, select.clear, select.layerFromSelection, service.add, share.exportLayer, style.add, style.apply, style.import, style.new, style.remove, table.open, table.remove, tool.set

Assessment of brasildata: the interface is valid, and the permissions match the manifest and the PR description. The commands and URLs fit a Brazilian public-data plugin. The package was downloaded and unpacked successfully, and the step finished with outcome success. Its code can't be read here, so the PR's test claims (359 tests, the panel search) are not verified by this review. A maintainer should confirm that the release v0.1.86 in the linked repository matches the SHA-256.

Change size

Compared: the whole PR against main (merge base a7ec9d9 to PR head d6a69e3).

Metric Value
Files changed 1 (added 0, modified 1, removed 0, renamed 0)
Size before 275 B
Size after 276 B
Total size change +1 B
File Before After Change
registry/brasildata.json 275 B 276 B +1 B

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🧩 Plugin preview

Open in RustGIS: web.rustgis.app's Plugin Manager on this pull request's registry (1 plugin package from this pull request). Install from Browse; RustGIS shows the permissions first.

Item Value
Preview https://pr-99.rustgis-plugins-preview.pages.dev
Registry (desktop: Plugin Manager › Settings) https://pr-99.rustgis-plugins-preview.pages.dev/registry.json
This commit https://ffe7aef4.rustgis-plugins-preview.pages.dev
Commit 854580d

Unreviewed code: install it only to review this pull request.

@elpidioassinaturas elpidioassinaturas changed the title Update BrasilData to 0.1.86 Update BrasilData to 0.1.87 Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Code review

Bugs

  • None found.

Security

  • brasildata requests edit, files and network. This is unchanged from 0.1.85, and the PR description says so. They fit a data-download plugin. The strings name layer.remove, edit.deleteField, share.exportLayer and gp.run, which a maintainer may want to confirm are only used on layers the plugin created. The module is compiled, so I could not check this here. (Low confidence)
  • module.txt lists https://api.github.com/repos/elpidioassinaturas/BrasilData/releases/latest, which looks like an update check. The other URLs point at public data services (INPE, ASF/NASA, Copernicus, Open-Meteo, source.coop and similar). (Informational)

Quality

  • registry/brasildata.json gains two trailing blank lines after the closing brace. Please remove them. (High confidence, cosmetic)
  • The PR is not a plugin-source addition. It is a registry entry pointing at a released package, with the repository linked.

CLAUDE.md

  • No applicable violations.

Plugin packages

id version runtime package module permissions module imports commands named in strings
brasildata 0.1.87 wasm 6,612,548 B 12,238,544 B edit, files, network rustgis.call, rustgis.result, rustgis.log analysis.simulate, edit.addField, edit.calculateField, edit.deleteField, edit.enable, gp.run, group.add, host.addLayer, host.features, host.layers, host.notify, host.view, info.commands, info.project, labels.enable, labels.field, labels.placement, labels.scaleRange, labels.style, layer.addData, layer.addUrl, layer.addZarr, layer.classStyle, layer.color, layer.definitionQuery, layer.displayFilters, layer.fields, layer.marker, layer.mask, layer.move, layer.moveDown, layer.outline, layer.remove, layer.rename, layer.scaleRange, layer.select, layer.symbology, layer.template, layer.visibility, layer.zoomTo, layout.remove, layout.update, map.addTiles, map.projection, map.removeTiles, map.tiles, ramp.add, raster.change, raster.function, raster.functionChain, raster.georeference, raster.info, raster.mask, raster.mosaic, raster.process, raster.stretch, raster.symbology, select.byAttributes, select.clear, select.layerFromSelection, service.add, share.exportLayer, style.add, style.apply, style.import, style.new, style.remove, table.open, table.remove, tool.set

Assessment:

  • The manifest id, name (BrasilData) and version (0.1.87) match the registry entry. The module imports only rustgis.call, rustgis.result and rustgis.log.
  • The homepage links to the source repository, https://github.com/elpidioassinaturas/BrasilData.
  • The package SHA-256 was verified by the trusted step.
  • Only the version and hash changed. The code is compiled, so the 0.1.86 and 0.1.87 changes described in the PR (class colours, INPE WFS hotspots, municipality tree) can't be verified from the package. The new INPE TerraBrasilis WFS source is consistent with the plugin's stated purpose.
  • The description lists many data providers. The module has no module.wat, so I could not trace where the host commands are called.

Change size

Compared: the whole PR against main (merge base a7ec9d9 to PR head 854580d).

Metric Value
Files changed 1 (0 added, 1 modified, 0 removed, 0 renamed)
Size before 275 B
Size after 277 B
Total size change +2 B
File Before After Change
registry/brasildata.json 275 B 277 B +2 B

@giswqs

giswqs commented Dec 1, 2026

Copy link
Copy Markdown
Member

Can you fix the lint error? Thanks.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants