Skip to content

packaging: the Linux AppStream metainfo sends bug reports and the project link to upstream OBS (obsproject/obs-studio) #2302

Closed

Description

@rdoupe

Refs #2227

Severity: Low. Nothing breaks. But GNOME Software, KDE Discover and Flathub-style listings show "Report an issue" and the source link for obs-rust's build pointing at upstream's tracker, so reports about this fork go to the wrong project.

What happens

/usr/share/metainfo/io.github.obs_rust.OBSStudioRust.metainfo.xml from the 0.1.0-beta.20261023 .deb (appstreamcli validate --no-net passes, and desktop-file-validate passes on the desktop entry):

<id>io.github.obs_rust.OBSStudioRust</id>
<developer id="com.obsproject"><name>OBS Project</name></developer>
<url type="homepage">https://obsproject.com</url>
<url type="bugtracker">https://github.com/obsproject/obs-studio/issues</url>
<url type="vcs-browser">https://github.com/obsproject/obs-studio</url>

The app id, desktop file, icon and name are already branded. Only these fields still name upstream. The control file has the same split (Homepage: https://www.obsproject.com, Maintainer: OBS Project).

Root cause

frontend/cmake/linux/com.obsproject.Studio.metainfo.xml.in: developer at line 8 and the URLs at lines 31-35 are literals. The branding code that substitutes the id and name doesn't touch them. The control file fields come from OBS_WEBSITE / OBS_COMPANY_NAME (cmake/common/cpackconfig_common.cmake, cmake/linux/cpackconfig.cmake#L39).

Fix plan

Make the developer id/name and the homepage, bugtracker and vcs-browser URLs @…@ substitutions, with the obs-rust values when OBS_BRAND_RUST is set (https://github.com/obs-rust/obs-studio, …/issues). Keep translate and donation as the maintainers decide. Set the Debian Homepage/Maintainer for the Rust brand the same way.

RED/GREEN test (CI-runnable)

Static check on the built package (.deb data.tar and AppImage AppDir): the metainfo's bugtracker and vcs-browser URLs must start with https://github.com/obs-rust/, and appstreamcli validate --no-net must still pass. RED today.

Activity

  1. added
    bug
    on Oct 25, 2026
  2. zackees commented on Oct 25, 2026

    @zackees
    Member

    Claiming: #2302

    1. One PR: put the metainfo developer and the homepage, bugtracker and vcs-browser URLs, plus the Debian Homepage and Maintainer, behind the Rust brand. RED: a static test on the configured metainfo. GREEN: the substitutions.
  3. zackees commented on Oct 25, 2026

    @zackees
    Member

    /ready

    Triage: meets the definition of Ready. Reproduction (the metainfo XML from the .deb), root cause (literals in frontend/cmake/linux/com.obsproject.Studio.metainfo.xml.in and the CPack control fields) and an acceptance criterion: the shipped metainfo's developer, homepage, bugtracker and vcs-browser, and the .deb control Homepage/Maintainer, name obs-rust. Small, no dependencies.

  4. added
    P3
    size:S
    on Oct 25, 2026
  5. github-actions commented on Oct 25, 2026

    @github-actions

    Claim bot: @zackees, this can't be claimed yet: it is not ready yet. Comment Claiming: investigation to research it, then /ready once it meets the definition of Ready.

  6. added
    ready
    on Oct 25, 2026
  7. self-assigned this
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3bugreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions