Skip to content

Publish rosetta export datasets at stable URLs; retire hand-made CSVs #173

Open

Description

@mobileskyfi

Current scope — 2026-10-23

The first dataset is already published: #199 ships rosetta-cli-reference.tar.gz plus SHA-256 per release tag, using export format 2 from #198. Verified on v0.12.0-next.123. The statement below that nothing publishes export output is historical.

Remaining: publish the other datasets, decide whether the LSP wants a prejoined command-links file, and retire the two root CSVs only after replacement consumers/URLs exist. #104 still owns E3/E4; CLI Reference publication does not complete those chunks. Recommend tag-pinned Release assets first, with Pages deferred until a consumer needs individual-file browsing. Not a blocker for the bounded next stable release.

Original scope (with the delivered slice above)

Problem

Downstream tools want rosetta's table-shaped data at a URL they can curl, without the ~400 MB DB or an MCP server. Today that need is met by hand, or not at all:

  • Export routeros-docs-links.json as a CI artifact for LSP consumers #4 (lsp-routeros-ts): a command path → doc URL/title map for hover links.
  • hardware-www-matrix.csv: a hand-run sqlite3 … "SELECT * FROM device_overview" committed to the repo (BACKLOG Inbox, 2026-07-13).
  • commands-to-docs.csv: committed 2026-05-29. Nothing generates or reads it, and every URL in it points at the retired help.mikrotik.com Confluence pages.

rosetta export (B-0022, PR #103 and after) already produces the data, from the DB only, with a settled TSV and manifest.toml contract:

What's missing is publishing: nothing puts export output anywhere fetchable, and the hand-made files drift.

Direction (to settle before agent-ready)

  • Where: a GitHub Release asset (an export.tar.gz next to ros-help.db.gz), a GitHub Pages branch (browsable, per-file URLs, and doesn't touch main's branch protection), or both. Pages needs a versioning scheme (per release tag, plus a latest alias?).
  • What: the existing export datasets as-is, plus whether a pre-joined command-links.tsv (path, url, title) earns its place for the LSP use case, or consumers do the join.
  • Retire commands-to-docs.csv and hardware-www-matrix.csv from the repo root once their content is published by CI.

Acceptance (draft)

  • release.yml publishes export output for every release (both channels), stamped with the same db_meta provenance as the DB.
  • A consumer can fetch the command→URL data for a given release tag with one curl.
  • The two hand-maintained CSVs are removed, and anything that pointed at them points at the published files.

Absorbs #4 and the BACKLOG Inbox "publish generated files via GH Pages" bullet. Related: #104 (E3/E4 add more datasets to publish), B-0022.

Activity

  1. added
    enhancement
    export-audit
    on Oct 5, 2026
  2. mobileskyfi commented on Oct 20, 2026

    @mobileskyfi
    ContributorAuthor

    Concrete consumer, 2026-10-20: centrs. tikoci/centrs#501 needs CLI-Reference argument names per RouterOS version, and its maintainer direction leans toward consuming a rosetta-published artifact rather than centrs' own vendored scrape. #188 makes cli-reference/*.tsv versioned (manual_version column, contract-versioned manifest). That gives this issue's first published dataset a named downstream, not only #4's LSP map.

    For the "Where" question, it suggests:

    • Per release tag as the pinning unit, since centrs' generator already pins sources and drift-checks them.
    • A latest alias as a convenience only.

    A release asset alone covers pin-by-tag with one curl. Pages adds browsability but needs a versioning scheme. Recommend starting with the release asset.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementexport-audit

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions