Skip to content

Replace fiboa publish with the Portolan workflow - #337

Open
ivorbosloper wants to merge 2 commits into
mainfrom
remove-publish
Open

ivorbosloper wants to merge 2 commits into
mainfrom
remove-publish

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Removes fiboa publish and documents publishing as a Portolan catalog in the README, step by step, so that an agent can follow it. Closes #335. This means we don't have a program that publishes data, but only an agent description. But I think this is the way, we can always restore some program if we need it....

  • fiboa create-stac-collection stays. It is the source of what Portolan cannot read from the file: title, description, providers, license and fiboa version. Written as collection.json before portolan add, these fields survive the merge (checked with portolan 0.8). The assets are dropped first, because Portolan adds its own asset with checksum and size.
  • create-stac-collection now describes the fiboa properties in table:columns, using the fixed descriptions publish.py had for its README. The README step moves those columns to the collection, where portolan readme renders them.
  • What fiboa publish read from the data survey is now a README step: a table maps the survey's fields to Portolan's metadata.yaml, and the survey's Properties table describes the dataset's own columns.
  • No dependency becomes unused: requests, click and spdx-license-list are imported elsewhere.

🤖 Support from Claude Code

ivorbosloper and others added 2 commits September 25, 2026 21:00
The README now describes the steps, written for an agent to follow;
create-stac-collection stays, to seed the collection metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…om its data survey

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ivorbosloper
ivorbosloper marked this pull request as ready for review September 25, 2026 20:06
@ivorbosloper
ivorbosloper requested a review from m-mohr September 26, 2026 09:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Address the missing fiboa property descriptions and the documented validation, URL mapping, and changelog inconsistencies.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Replaces fiboa publish with a documented Portolan publishing workflow and enhances STAC property descriptions.

Changes:

  • Removes the publisher, command registration, tests, and fixture.
  • Documents the Portolan publishing process.
  • Adds fiboa property descriptions to STAC collections.
  • Updates the changelog.
File Description
tests/​test_publish.py Removes obsolete publisher tests.
tests/​test_create_stac.py Tests STAC column descriptions.
tests/​test_command_modules.py Verifies publish is absent.
tests/​data-files/​publish/​BE-VLG-survey.md Removes obsolete fixture.
README.md Documents the Portolan workflow.
fiboa_cli/​registry.py Removes command registration.
fiboa_cli/​publish.py Removes obsolete publishing implementation.
fiboa_cli/​create_stac.py Adds fiboa column descriptions.
CHANGELOG.md Records the removal and STAC changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread fiboa_cli/create_stac.py
Comment on lines +11 to +15
DESCRIPTIONS = {
"id": "Unique identifier",
"collection": "The collection identifier",
"inspire:id": "The INSPIRE identifier",
"determination:datetime": "Timestamp of the determination of the field boundary",
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.

Replace fiboa publish with the Portolan workflow, documented for agents

3 participants