Skip to content

Drop /metadata download from dump API (moved to CKAN) - #36

Merged
luccasmmg merged 1 commit into
mainfrom
fix/move-metadata-to-ckan
Nov 4, 2026
Merged

luccasmmg merged 1 commit into
mainfrom
fix/move-metadata-to-ckan

Conversation

@luccasmmg

Copy link
Copy Markdown
Member

The resource + dataset metadata export is CKAN data, not datastore data. It now lives in ckanext-neso as the resource_metadata_show action with a CKAN download URL (/resource/<id>/metadata?format=csv|json), shipped in datopian/dx-helm-neso@760353b.

Removes dump/{id}/metadata, its service code, CKANClient.package_show (only used by it), the tests and the docs. dump/{id}/dictionary stays.

Merge order: after the dx-helm-neso CKAN/frontend change is deployed (already on main), otherwise the Metadata link is briefly broken. Then bump DATASTORE_REF in dx-helm-neso's datastore/Dockerfile.

Tests: full suite passes (645), ruff check clean.

The resource + dataset metadata export is CKAN data, not datastore data, so
it moves to a ckanext-neso action (resource_metadata_show) and a CKAN download
URL. Removes the dump/{id}/metadata route, its service code, the
CKANClient.package_show it needed, tests and docs. dump/{id}/dictionary stays.
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6287447b-6ffd-4ade-8c84-73c9970148dd
  • 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

@luccasmmg
luccasmmg merged commit 96581f5 into main Nov 4, 2026
2 checks passed
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.

1 participant