Repository navigation
packaging: Link the Rust metainfo and .deb to obs-rust - #2313
Merged
Merged
Conversation
zackees
commented
Oct 25, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review: LGTM.
- Values come from
cmake/common/app-identity.cmake, so both the Linux (@ONLY) and FreeBSD (configure_filewithout@ONLY) metainfo configures pick them up; upstream brand output is byte-identical to before. - .deb Maintainer/Homepage overridden only under
OBS_BRAND_RUST. - RED then GREEN present (
ci/test_metainfo_project_links.pydrives the real template withcmake -P); the shipped-package guard inci/app_identity_check.pyis the right place for the release check. Features ledger line added. - Nit (non-blocking):
test_deb_names_obs_rustandtest_packaged_check_reads_the_linksare substring checks; fine as guards, but the release run ofapp_identity_check.pyis the real proof.
Verdict: approve once CI is green.
zackees
enabled auto-merge
October 25, 2026 02:11
zackees
force-pushed
the
fix/2302-metainfo-urls
branch
from
October 25, 2026 02:33
8bf1a16 to
4e2f885
Compare
zackees
enabled auto-merge
October 25, 2026 02:33
Member
Author
The metainfo's developer and homepage, bugtracker and vcs-browser URLs were upstream literals, so software centres sent reports about this build to obsproject/obs-studio. They now come from app-identity.cmake, with obs-rust values under OBS_BRAND_RUST; the .deb's Homepage and Maintainer follow. The release's packaged check (app_identity_check.py, run on the built .deb and bundles) now fails on non-obs-rust links. Fixes #2302
zackees
force-pushed
the
fix/2302-metainfo-urls
branch
from
October 25, 2026 03:52
4e2f885 to
0356ece
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2302
On Linux, software centres such as GNOME Software and KDE Discover sent "Report an issue" and the source link for the Rust build to upstream
obsproject/obs-studio. The metainfo's developer and its homepage, bugtracker and vcs-browser URLs were literal strings, and the .deb's Homepage and Maintainer came from the upstream values.Change
cmake/common/app-identity.cmakenow defines four values:OBS_PROJECT_DEVELOPER_ID,OBS_PROJECT_DEVELOPER_NAME,OBS_PROJECT_HOMEPAGEandOBS_PROJECT_REPOSITORY.OBS_BRAND_RUSTthey becomeio.github.obs_rust,obs-rustandhttps://github.com/obs-rust/obs-studio.donationandtranslatestay as they are; the issue leaves them for maintainers to decide.CPACK_DEBIAN_PACKAGE_HOMEPAGEandMAINTAINERfrom them.ci/app_identity_check.pynow fails when the homepage, bugtracker or vcs-browser link is not undergithub.com/obs-rust/. The release workflow already runs it on the built .deb and bundles, so this is the check on the shipped package.Tests
ci: Test that the Rust metainfo…):ci/test_metainfo_project_links.pyconfigures the real template withcmake -P.test_appdata_release_date,test_metainfo_screenshot,test_release_identityandtest_no_upstream_updaterstill pass../lint: the only failure is the unrelated local soldr broker mismatch intest_local_gate_probe.appstreamcli validateon a built package. The release's existing metainfo checks run it.The features ledger line is added.