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

appstreamcli doesn't validate timestamp #402

Closed
JakobDev opened this issue May 20, 2022 · 0 comments · Fixed by #403
Closed

appstreamcli doesn't validate timestamp #402

JakobDev opened this issue May 20, 2022 · 0 comments · Fixed by #403

Comments

@JakobDev
Copy link
Contributor

There was a Bug report for the Flathub website, that the release date, was 52 years ago. I checked the Appstream file of the App which contains this lines:

<releases>
  <release version="1.0.3" timestamp="2021-11-15"/>
  <release version="1.0.2" timestamp="2021-06-06"/>
  <release version="1.0.1" timestamp="2020-08-09"/>
  <release version="1.0.0" timestamp="2020-08-09"/>
</releases>

This file accidentality uses timestamp instead of Date. I downloaded the file to see if appstreamcli find the error. The file pass the validation. I know, that Flathub currently uses appstream-glib, but Flatpak and Flathub working on a switch to libappstream, so it would be nice if you could add a check so these things can be blocked in the future.

@JakobDev JakobDev changed the title appstreamcli doesn''t validate timestamp appstreamcli doesn't validate timestamp May 20, 2022
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 a pull request may close this issue.

1 participant