Skip to content

release: Name the .deb after the Ubuntu release it needs - #2324

Merged
zackees merged 3 commits into
masterfrom
fix/2297-deb-asset-name
Oct 25, 2026
Merged

zackees merged 3 commits into
masterfrom
fix/2297-deb-asset-name

Conversation

@zackees

@zackees zackees commented Oct 25, 2026

Copy link
Copy Markdown
Member

Fixes #2297

The .deb release asset was named OBS-Studio-Rust-<ver>-linux-x86_64.deb, which reads as "the Linux .deb". dpkg-shlibdeps pins it to the 26.04 runner's libraries: glibc 2.43, Qt 6.10 and FFmpeg 8. So on Ubuntu 22.04/24.04 and Debian 12/13, apt fails with a wall of unmet dependencies.

Change (fix plan 1)

  • Collect step: names the .deb OBS-Studio-Rust-<ver>-<ID>-<VERSION_ID>-x86_64.deb, taken from the runner's /etc/os-release, which today gives ubuntu-26.04.
    • It reads os-release in a subshell, because that file also sets VERSION.
    • A future base change renames the asset rather than moving the support boundary silently.
  • Release body: sudo apt install ./OBS-Studio-Rust-$VERSION-ubuntu-26.04-x86_64.deb (Ubuntu 26.04 only).
  • ci/release_decision.py: the required asset is …-ubuntu-26.04-x86_64.deb.
  • Plan (2), the README install section, landed in docs: Say there is no OBS-Studio-Rust Flatpak #2306. Plan (3), a 24.04 .deb, stays a maintainer decision.

Tests

  • RED (ci: Test that the .deb asset names…): ci/test_deb_asset_name.py fails 3 of 3. It checks three things:
    • the required asset matches the linux leg's runs-on;
    • the collect step names the file from os-release;
    • the release body's install line uses the new name, and nothing still says -linux-x86_64.deb.
  • GREEN: all pass. test_release_decision and test_release_platforms pass, 23 tests.
  • ./lint: the only failure is the unrelated local soldr broker mismatch in test_local_gate_probe.
  • Not done: the issue's release smoke, an apt install in stock 26.04 and 24.04 containers. It needs a built .deb in the release job.

Only the asset name changes, so there is no features-ledger line. The README's install line uses OBS-Studio-Rust-*.deb, which still matches.

@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: looks good. RED (ci/test_deb_asset_name.py) then GREEN; the distro is read from /etc/os-release in a subshell so VERSION isn't clobbered; required_assets and the release notes match. Nit: the asset rename is user-visible; consider a docs/features.md line. Verdict: approve once CI is green.

@zackees
zackees enabled auto-merge October 25, 2026 02:29
@zackees
zackees added this pull request to the merge queue Oct 25, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Oct 25, 2026
@zackees
zackees added this pull request to the merge queue Oct 25, 2026
@zackees

zackees commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Coordinator: the merge group failed test_no_sys_path_edits on ci/test_deb_asset_name.py:17. #2311 (on master since this PR opened) bans sys.path edits. I pushed a fixup that imports release_decision directly, as #2311 did for the other ci tests. I ran test_deb_asset_name.py on master plus this fixup and it passes, and no Python file in that tree edits sys.path. Re-queued.

The asset was OBS-Studio-Rust-<ver>-linux-x86_64.deb, which reads as
the Linux .deb, but dpkg-shlibdeps pins it to the build runner's Ubuntu
26.04 libraries. Name it <ver>-ubuntu-26.04-x86_64.deb from the runner's
os-release, and say 26.04 only in the release body.

Fixes #2297
@zackees
zackees removed this pull request from the merge queue due to a manual request Oct 25, 2026
@zackees
zackees force-pushed the fix/2297-deb-asset-name branch from 3f03f3d to 2dd0039 Compare October 25, 2026 03:05
@zackees
zackees enabled auto-merge October 25, 2026 03:05
@zackees
zackees added this pull request to the merge queue Oct 25, 2026
Merged via the queue into master with commit 93ba35e Oct 25, 2026
30 checks passed
@zackees
zackees deleted the fix/2297-deb-asset-name branch October 26, 2026 15:43
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.

packaging: the .deb only installs on Ubuntu 26.04, but its name doesn't say so and on other releases apt prints a wall of unmet dependencies

1 participant