Skip to content

release: give each published release a manifest and point its tag at it (#2674) - #2

Merged
zackees merged 4 commits into
6533-fix-stutter-and-osr-extra-infofrom
provenance/release-manifests
Oct 28, 2026
Merged

zackees merged 4 commits into
6533-fix-stutter-and-osr-extra-infofrom
provenance/release-manifests

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

Makes the release tags mean something, and gives each published release a
machine-readable record at a path the tag itself points at.

Part of obs-rust/obs-studio#2674 (criteria 1 done in #1; this is criterion 2).
No rebuild, no change to any archive.

What changed

  • releases/<tag>.json — one manifest per release (7871, 8078, 8078-r2)
    holding: upstream repo + commit (or, for 7871, an explicit statement that no
    commit is nameable because it is an upstream binary mirror), recipe repo + path
    • commit, patch_commit (null — no recipe applies a patch from any branch of
      this repository), and every asset's sha256, platform, arch and builder.
  • Three commits, one per release, so each tag can point at the commit that adds
    its own file: git show <tag>:releases/<tag>.json.
  • PROVENANCE.md — the sentence saying a tag "carries no build information" is
    replaced by the new layout and the git show incantation.

Tags retargeted (live now)

Tag Before After
7871 de09a29b1334 (docs: link the obs-rust Constitution) 10d4c3c83
8078 de09a29b1334 63a641af5
8078-r2 de09a29b1334 7c21ce685

Verified after the move, over the API:

  • git ls-remote --tags origin shows the three new SHAs, and
    git show refs/tags/<tag>:releases/<tag>.json parses for each tag.
  • All three releases survived the retarget: 6 / 3 / 1 assets, unchanged.
  • Every sha256 in the manifests equals the server-computed digest of the
    corresponding release asset (11 of 11, checked with the API).
  • No tag resolves to de09a29b1 any more.

The tag move is release metadata, so it is live before this merge; the bodies
now say the tag points at releases/<tag>.json instead of at the default
branch. The 7871 body also carried the claim that all six hashes match
CMakePresets.json; that is five of six (the linux x86_64 archive is no longer
pinned there), and it is corrected.

Not in this PR

  • Criterion 3 — no source tarball (cef.tar.gz) is attached to any release
    and whether one still exists is not recorded. Still open.
  • Criterion 4 — the patch question: no published archive carries a patch from
    a branch of this repository. Whether that is correct for obs-browser is a
    functional question for the maintainer, not answerable from the artefacts.
  • Criterion 5 — the drift gate in obs-studio-libs (a test asserting each
    release tag resolves to a commit whose manifest lists that release's assets and
    hashes). It can only pass now that the tags point at manifests; it is the next
    change, in the sibling repository next to the CEF recipes.

Refs obs-rust/obs-studio#2674

…anifest

The release tags in this repository resolve to an unrelated docs commit, so nothing in the
repository states what a published archive was built from. This adds releases/<tag>.json,
one file per release, holding the upstream source, the producing recipe, the patch commit
in use and every asset's sha256. Each tag is retargeted onto the commit that adds its own
file, so `git show <tag>:releases/<tag>.json` is the record for that release.

Refs obs-rust/obs-studio#2674

@zackees zackees left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Coordinator review — verified against the live releases, merging.

Independently checked (not taking the body's word):

  • Each of 7871, 8078, 8078-r2 resolves (git-refs API) to a distinct commit that serves releases/<tag>.json at that commit — 10d4c3c84, 63a641af5, 7c21ce686 — so git show <tag>:releases/<tag>.json works for all three, and none resolves to de09a29b1 any more.
  • Every manifest asset list is exactly its release's asset list (6 / 3 / 1) and every sha256 equals the server-computed digest — 10 of 10, no extra assets. patch_commit is recorded as explicit null in all three, which is the honest value here.
  • The diff touches only releases/*.json and PROVENANCE.md; no archive bytes move, as claimed.

Leaving criteria 3 and 4 open is the right call — a source tarball that does not exist and a patch question that is a functional decision are not answerable from the artefacts. Criterion 5 is obs-rust/obs-studio-libs#21, reviewed in the same tick.

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant