It would be nice to have AppData section of guidelines [1] extended by application addons section, as described in [2]. This already nicely works for (g)vim plugins and probably others.
[1] https://fedoraproject.org/wiki/Packaging:AppData [2] https://blogs.gnome.org/hughsie/2014/06/11/application-addons-in-gnome-software/
We'd be happy to consider a draft if someone wishes to supply one.
This is the draft:
https://fedoraproject.org/w/index.php?title=User%3AVondruch%2FDraftAppDataGuidelines&diff=412575&oldid=412571
I checked with hughsie that is should be factually correct.
Forgot to note that I replaced the appdata-validate with appstream-util on several places, since this should be the right tool for the job (and it was already mentioned in the guideline on some other place)
The "app-data-validate usage" could be extended to cover the metainfo.xml, not sure ...
We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-05-14/fpc.2015-05-14-16.01.txt):
Just to clarify some concerns from meeting, I'll quote my conversation with hughsie:
{{{ kvě 13 16:51:29 >vondruch< hughsie, and just want to confirm, there was used on several places appdata-validate, but it seems that it was replaced by appstream-util, so I modified the guidelines in this way kvě 13 16:51:37 >vondruch< hughsie, I hope it is not mistake kvě 13 16:51:40 >hughsie< right, agree kvě 13 16:51:55 >hughsie< appstream-util is much better in nearly all respects kvě 13 16:52:19 >vondruch< hughsie, and the http://people.freedesktop.org/~hughsient/appdata/ is still valid or not? kvě 13 16:52:31 >vondruch< appdata is subset, so it probably is still valid kvě 13 16:52:39 >vondruch< just want to check :) kvě 13 16:52:43 >hughsie< it's still valid kvě 13 16:52:50 >vondruch< hughsie, ok, thx kvě 13 16:53:04 >hughsie< but i'm -><- this close to just pointing that page at the upstream appstream docs kvě 13 16:53:18 >vondruch< hughsie, ;) kvě 13 16:53:32 >vondruch< hughsie, so may be you want FPC to wait a bit with this .... kvě 13 16:53:59 >hughsie< lets go now kvě 13 16:54:04 >hughsie< don't block on me whatever you do }}}
Replying to [comment:4 vondruch]:
It sounds like appstream is also able to check AppStream file, so it would be nice to add that to the appstream-util usage examples.
Announcement text:
The AppData packaging guidelines have been updated to include information about addon packages, and to use appstream-util instead of appdata-validate. https://fedoraproject.org/wiki/Packaging:AppData https://fedoraproject.org/w/index.php?title=Packaging%3AAppData&diff=413661&oldid=398214 * https://fedorahosted.org/fpc/ticket/527
Metadata Update from @vondruch: - Issue assigned to tibbs
Login to comment on this ticket.