Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "get-latest-version" util command #468

Closed

Conversation

hadess
Copy link
Contributor

@hadess hadess commented Jun 18, 2023

This gets the latest version specified in an appdata file, which, combined with utilities such as check-news.sh1, can be used to check whether the date specified in the appdata's release information is correct.

See https://gitlab.gnome.org/GNOME/evince/-/issues/1950

This gets the latest version specified in an appdata file, which,
combined with utilities such as check-news.sh[1], can be used to check
whether the date specified in the appdata's release information is
correct.

See https://gitlab.gnome.org/GNOME/evince/-/issues/1950

[1]: https://gitlab.gnome.org/GNOME/totem/-/blob/master/check-news.sh
gnomesysadmins pushed a commit to GNOME/evince that referenced this pull request Jun 18, 2023
This will avoid old dates from being mentioned in the appdata file, as
happened in evince.

This requires a version of appstream-util with the get-latest-version
command:
hughsie/appstream-glib#468

See https://gitlab.gnome.org/GNOME/evince/-/issues/1950
@hughsie
Copy link
Owner

hughsie commented Jun 18, 2023

This makes total sense, but I think it should be added to the https://github.com/ximion/appstream project instead; appstream-glib is in heavy maintenance mode now and we're not really taking on new features. I think most things have been ported, or am porting to the newer libappstream library maintained by @ximion

@hadess
Copy link
Contributor Author

hadess commented Jun 18, 2023

This makes total sense, but I think it should be added to the https://github.com/ximion/appstream project instead; appstream-glib is in heavy maintenance mode now and we're not really taking on new features. I think most things have been ported, or am porting to the newer libappstream library maintained by @ximion

Would have been nice if the README mentioned it :/

@hadess
Copy link
Contributor Author

hadess commented Jun 18, 2023

Filed ximion/appstream#502 against appstream until I get the time to reimplement this once more.

@hadess hadess closed this Jun 18, 2023
gnomesysadmins pushed a commit to GNOME/evince that referenced this pull request Jun 18, 2023
This will avoid old dates from being mentioned in the appdata file, as
happened in evince.

This requires a version of appstream-util with the get-latest-version
command:
hughsie/appstream-glib#468

See https://gitlab.gnome.org/GNOME/evince/-/issues/1950
@hadess
Copy link
Contributor Author

hadess commented Jun 19, 2023

Would have been nice if the README mentioned it :/

Done in #469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants