Skip to content

Publish a machine-readable DB version manifest #230

Open

Description

@Amm0Bot

Problem

Rosetta's ros-help.db covers a range of RouterOS versions and has no
automatic update cadence, so "how far behind is the rosetta DB" is currently
unanswerable by machines. Surveyed 2026-10-28, there is no machine-readable
source: release tags are rosetta versions, asset names are stable, release
bodies carry only a count line (RouterOS versions with command data: N)
plus prose that can disagree with it, and the README range string
(7.9–7.25rc1) is stale-prone. Ground truth lives inside the DB
(command_versions table) and requires download + sqlite to read.

The tikoci.github.io dashboard therefore reports rosetta lag as honest
unknown (rosLag.error: "no manifest configured").

Proposal

Publish a small versions.json (name TBD) alongside each release — either as
a release asset or a repo file updated by the release workflow — with at
least:

{
  "rosetta": "0.12.0",
  "db_sha256": "<of ros-help.db.gz>",
  "ros_min": "7.9",
  "ros_max": "7.25",
  "ros_max_prerelease": "7.26beta4",
  "ros_version_count": 68,
  "built_at": "2026-10-28T19:00:00Z"
}

Exact schema is rosetta's call; the dashboard needs ros_max /
ros_max_prerelease + built_at minimum. Once this exists, the dashboard's
rosLagLocator (kind raw-json or release-asset fetch) can compute lag vs
MikroTik stable automatically.

Bigger picture (out of scope, noted)

A new ROS release may require curation decisions, so fully automatic DB
rebuilds are a larger project. This issue asks only for the manifest so lag
is visible; cadence automation can follow later.

Acceptance

  • A stable URL (asset or raw file) serves current-DB version metadata.
  • Dashboard rosLag for rosetta resolves without code changes beyond adding
    the locator to DASHBOARD_REPOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions