ximion / appstream

Tools and libraries to work with AppStream metadata
http://www.freedesktop.org/wiki/Distributions/AppStream/
GNU Lesser General Public License v2.1
206 stars 111 forks source link

Document how to use the bundle tag #69

Closed probonopd closed 7 years ago

probonopd commented 7 years ago

Thanks for adding the bundle tag and for adding AppImage support.

Please document the best practices for how the bundle tag should be used. I try to summarize what I understood from our earlier conversation, feel free to correct me:

ximion commented 7 years ago

All the assumptions are correct, and everything is actually documented. If the <bundle/> tag was allowed in metainfo files, you would find it in its documentation. How the compose server gets its information to build the final metadata is not something which should be in the spec, as it is an implementation detail. The spec makes suggestions for some obvious cases though (e.g. "take it from a .desktop file").

The bundle tag is described in the spec as having a string value, so of course no subtags are possible. And allowing it to be defined multiple times for different bundling systems is also mentioned there.

What is not mentioned is to define it for different "channels", because this concept doesn't exist in AppStream yet and needs some discussion first whether we add it and how it will look like then.

probonopd commented 7 years ago

Thanks for the clarification.