what happens when the packages in a module contain AppStream metainfo
In a non-modular repository, all these metainfo files get collected into
a big AppStream collection file which is then used by GNOME Software
(for example) to present interesting packages to the user in a nice way.
In a modular repository, I think the same thing should happen so that
GNOME Software can present interesting modules to the user in a nice
I think we need to change the collection process in the following ways,
it unfortunately wont just work:
- Metainfo is in packages, but we need to be installing modules. Thus,
the collection data needs to have module names into the AppStream
<pkgname> tag. I propose to keep AppStream metainfo data in
packages, and map from package names to module names during
construction of the collection data.
- Because of streams and profiles, there can be multiple versions of
metainfo for a given AppStream component id. These need to be
merged, using something like
What do you think?
How would you map from a package name to module/stream/profile tuples?