appstream override tech
Closed, ResolvedPublic

Description

Use:

This allows us to hide appstream components coming from ubuntu.
For example helpful when a component changed name from what was in ubuntu (e.g. org.foo.bar -> org.foo.bar.desktop would show up as both in discover when in fact they are the same thing).
Or when we simply want to hide something because it has broken data or is ugly or something.

Problems:

appstream-generator horrible to backport because of meson and dlang, might need reinventing how the containerization works (namely: use debian unstable for the docker image to avoid having to mess with this).

https://github.com/ximion/appstream-generator/blob/987f0a6b5ff7238aa4552b6e6358e971a39377ed/NEWS#L9

Matthias, [04.01.19 19:42]
just create a removed-components.json file in the right location, fill it with the IDs you want to be gone, and profit

Matthias, [04.01.19 19:42]
requires the suite the removal requests are associated with to have a higher priority than the suite they are removed from, as well as AppStream 0.12.4 on the user's machines

Matthias, [04.01.19 19:43]
all the necessary pieces are packaged in Debian

~~ This is broken in asgen 0.7.6. Fixed by https://github.com/ximion/appstream-generator/commit/2582c27f7c3f571db70fa31ce1e5f4b6acfc8a25 ~~
There is a repo with a test override here https://github.com/apachelogger/appstream-extra-metainfo

Depends on T11035

sitter created this task.Jan 7 2019, 10:37 AM
sitter triaged this task as Low priority.
sitter updated the task description. (Show Details)Feb 21 2019, 1:02 PM
sitter updated the task description. (Show Details)Feb 26 2019, 2:47 PM
sitter updated the task description. (Show Details)Jul 31 2019, 11:53 AM
sitter updated the task description. (Show Details)
sitter moved this task from Ready To Do to Doing on the Neon board.Jul 31 2019, 2:56 PM

Prototype in action now. Needs some additional QA tech to finds possible overlaps and warn so we can actually blacklist them.

sitter closed this task as Resolved.Aug 1 2019, 1:19 PM
sitter claimed this task.

new QA
https://build.neon.kde.org/view/mgmt/job/mgmt_appstream-components_bionic_user
https://community.kde.org/Neon/Appstream

also we are already masking duplicated ktouch \o/

FTR: to reduce maintenance-effort the removal list ought to be maintained against the user edition. meaning the from-git editions may still have duplicates until the relevant release that created the duplicate ends up in user edition (and consequently trips up QA)