hughsie / appstream-glib

This library provides objects and helper methods to help reading and writing AppStream metadata.
GNU Lesser General Public License v2.1
65 stars 103 forks source link

Consider AppStream version as a string #410

Closed tintou closed 3 years ago

tintou commented 3 years ago

Always store the AppStream metadata version as a string and compare it like any other version. This allows to have 0.10 > 0.8 for instance.

hughsie commented 3 years ago

Don't you need to add the new symbols to appstream-glib.map?

tintou commented 3 years ago

It looks like adding it to appstream-glib.map isn't necessary:

{
global:
    as_*;
local:
    *;
};
hughsie commented 3 years ago

as_*;

dd0