#704 wiki/Packaging:AppData is outdated
Closed: accepted 2 years ago Opened 2 years ago by luya.

https://fedoraproject.org/wiki/Packaging:AppData is currently outdated compared to the upstream guideline https://freedesktop.org/software/appstream/docs/chap-Metadata.html.

As Fedora intended to be closer to upstream as possible, that wiki page needs update


Would you care to draft a change to this page? Maybe the examples can go now that there are good examples in the upstream documentation.

I think the only change significant for Fedora is replacing %{_datadir}/appdata/ with %{_datadir}/metainfo/.

The new directory is already owned by filesystem package (https://bugzilla.redhat.com/show_bug.cgi?id=1434008).

Metadata Update from @tibbs:
- Issue tagged with: draftneeded

2 years ago

Would you care to draft a change to this page? Maybe the examples can go now that there are good examples in the upstream documentation.

@mbooth Sorry for the late reply. I made an initial draft for the change on
https://fedoraproject.org/wiki/User:Luya/Packaging:AppData

Feel free to modify the draft.

Thanks, I edited your draft to fix one more mention of "%{_datadir}/appdata"

To committee folks: When I do a diff, literally the only change is changing %{_datadir}/appdata to %{_datadir}/metainfo

So I am +1 on this simple change

Metadata Update from @mbooth:
- Issue untagged with: draftneeded
- Issue tagged with: meeting

2 years ago

We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2017-09-14/fpc.2017-09-14-16.00.txt):

  • x704 wiki/Packaging:AppData is outdated (geppetto, 16:10:20)
  • ACTION: #704 wiki/Packaging:AppData is outdated (+1:6, 0:0, -1:0)
    (geppetto, 16:24:07)

Metadata Update from @james:
- Issue untagged with: meeting
- Issue assigned to tibbs
- Issue tagged with: writeup

2 years ago

Announcement text:

Appstream metadata guidelines were updated to reflect the new location into which appdata files should be placed.

Metadata Update from @mbooth:
- Issue untagged with: writeup
- Issue tagged with: announce

2 years ago

Excellent. I confirm the fix is in. Thank you for the prompt response and closing this report.

Metadata Update from @luya:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Since we are working on this, can we remove / from appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml between %{buildroot} and %{_datadir}?

Probably shouldn't close tickets until announcements are done?

Metadata Update from @mbooth:
- Issue status updated to: Open (was: Closed)

2 years ago

Since we are working on this, can we remove / from appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml between %{buildroot} and %{_datadir}?

Sure, I just went ahead and fixed that.

Metadata Update from @tibbs:
- Issue untagged with: announce
- Issue close_status updated to: accepted
- Issue status updated to: Closed (was: Open)

2 years ago

To committee folks: When I do a diff, literally the only change is changing %{_datadir}/appdata to %{_datadir}/metainfo
So I am +1 on this simple change

This change is only for f28 on f27 we still need use old appdata , how we do a package that build in f28 and f27 ?

Thanks

PS: kdenlive not build on F28 with /appdata and built on F28 with /metainfo but not build on F27 with /metainfo

Login to comment on this ticket.

Metadata