[Bug 1823599] Review Request: gjots2 - A heirarchical note jotter. Organise your ideas, notes, facts in a tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1823599



--- Comment #9 from Alexander Ploumistos <alex.ploumistos@xxxxxxxxx> ---
Hi Bob,

For compatibility reasons, older files named xyz.appdata.xml and placed in
/usr/share/appdats are still treated as valid by appstream-util. From the
spec's page:

Note

Component metadata of type desktop-application as described in Section 2.2,
“Desktop Applications” can be installed with an .appdata.xml extension as well
for historical reasons. AppStream implementations will read the XML files as
long as they end up in the right location on the filesystem. 


Legacy Path

AppStream tools scan the /usr/share/appdata/ path for legacy compatibility as
well. It should not be used anymore by new software though, even on older Linux
distributions (like RHEL 7 and Ubuntu 16.04 LTS) the metainfo path is well
supported. Support for the legacy path will likely be dropped completely with a
future AppStream 1.0 release. 


When the specification for the <id> tag changed, a couple of upstream projects
with which I was working at the time opted to use net.sourceforge.<project> as
their tag, since the projects are hosted on sf.net. You could do the same, e.g.
<id>net.sourceforge.gjots2</id>
or use the gjots2 home page domain, if you think it will be around for the
foreseeable future:
<id>org.freeshell.bhepple.gjots2</id>

Did you happen to read
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic
?


Please note that the file should be named gjots2.appdata.xml or
gjots2.metainfo.xml; gjots2.metadata.xml is not a valid name and appstream-util
will refuse to validate it (it's not difficult to see why you got confused).
You could also have the entire id string before metainfo.xml, e.g.
net.sourceforge.gjots2.metainfo.xml. This is also "encouraged" for desktop
files:
https://specifications.freedesktop.org/desktop-entry-spec/latest/

By the way, the "Encoding" key in your desktop file has been deprecated for
quite some time.

I hope all that helps.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux