AppStream metainfo in Firefox Flatpak follows ancient AppStream specification
Categories
(Firefox :: Untriaged, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | verified |
People
(Reporter: will, Assigned: will)
Details
(Keywords: flatpak)
Attachments
(1 file, 3 obsolete files)
Steps to reproduce:
appstreamcli validate --explain /var/lib/flatpak/exports/share/metainfo/org.mozilla.firefox.appdata.xml
Actual results:
E: ~:2: metainfo-ancient
The metainfo file uses an ancient version of the AppStream specification, which can not be
validated. Please migrate it to version 0.6 (or higher).
Validation failed: errors: 1
Expected results:
The file should validate without warnings.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
I prepared a couple of patches to update the file and fix some other warnings from the validator. I pushed them to GitHub as https://github.com/mozilla/gecko-dev/compare/master...wjt:gecko-dev:update-appdata and will attach them here.
I tried to follow the steps at https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html to get set up but at a certain stage in bootstrapping, the script failed because my distro (endless) is not on the list of hardcoded debian-like distros. I beg forgiveness.
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Previously, appstreamcli validate would warn:
E: ~:2: metainfo-ancient
The metainfo file uses an ancient version of the AppStream specification, which can not be
validated. Please migrate it to version 0.6 (or higher).
The old format is currently accepted by Flathub but will not be accepted
indefinitely.
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
Ideally there would be a <description> element containing human-readable
release notes but this is not feasible with the current build process.
Instead, include the URL of the release notes on the web.
(I do not believe this URL is currently consumed by any frontends, but
perhaps one day it will be.)
Depends on D193447
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
I got moz-phab working. I hope I followed https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html correctly!
Updated•2 years ago
|
Comment 8•2 years ago
|
||
| bugherder | ||
Comment 9•2 years ago
|
||
$ appstreamcli validate ~/.local/share/flatpak/app/org.mozilla.firefox/x86_64/beta/active/export/share/metainfo/org.mozilla.firefox.appdata.xml
I: org.mozilla.firefox:6: developer-name-tag-deprecated
✔ Validation was successful: infos: 1
$ appstreamcli validate ~/.local/share/flatpak/app/org.mozilla.firefox/x86_64/stable/active/export/share/metainfo/org.mozilla.firefox.appdata.xml
E: ~:2: metainfo-ancient
✘ Validation failed: errors: 1
Description
•