[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-devel
Subject:    Re: [ubuntu/bionic-proposed] update-manager 1:18.04.11 (Accepted)
From:       Iain Lane <laney () ubuntu ! com>
Date:       2018-04-16 9:32:59
Message-ID: 20180416093259.yeqtojjhw7qkwfqk () nightingale
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Fri, Apr 13, 2018 at 09:21:19PM +0200, Julian Andres Klode wrote:
> What I feel like should happen is to automatically generate compulsory
> metadata in appstream generator from task fields or something.

That could be done, but not from Task fields in isolation IMO. For
ubuntu-desktop we have most applications as recommends, not depends,
precisely because we want people to be able to remove them. Indeed this
cycle we added a new "minimal" option to the installer that makes use of
this.

For *dependencies* of the metapackage, though, generating
compulsory_for_desktop metadata makes sense. You just need to know what
to generate it for: the $XDG_CURRENT_DESKTOP value for the seed's
corresponding desktop session. It'd probably have to be a hardcoded
list, I guess, and appstream-generator could consider this as an
additional data source when it generates a particular component.

A slight variant is that it would also be possible to generate this out
of band (but probably on the same machine as runs the
appstream-generator so that it can be easily fetched by LP) and ship a
new "merge" type AppStream file through the archive. In that case we'd
also need an apt.conf.d snippet to cause it to be downloaded.

FAOD I don't plan to work on this, but I could discuss & review a
change.

Cheers,

--=20
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic