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

Validate appdata #251

Merged
merged 1 commit into from Mar 26, 2024
Merged

Validate appdata #251

merged 1 commit into from Mar 26, 2024

Conversation

hfiguiere
Copy link
Contributor

- Update to the newer standard (gtimelog#241)
- Set proper app id
- Add launchable

Signed-off-by: Hubert Figuière <hub@figuiere.net>
@hfiguiere
Copy link
Contributor Author

Some of the patches I had to apply to rebuild on flathub.

Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! ❤️

@mgedmin mgedmin merged commit 085a138 into gtimelog:master Mar 26, 2024
12 checks passed
<application>
<id type="desktop">gtimelog.desktop</id>
<component type="desktop-application">
<id>org.gtimelog.GTimeLog</id>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that appstreamcli validate --strict --explain --pedantic gtimelog.appdata.xml says

P: org.gtimelog.GTimeLog:3: cid-contains-uppercase-letter org.gtimelog.GTimeLog
   The component ID should only contain lowercase characters.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah there is a lot of stuff it will say that are IMHO irrelevant. This is one of them. The spec written by the same people say to not change the ID.

For a different reason I would say to NOT change the ID for that reason. And I think the app id pass to GApplication should also be synced with this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also renaming the .desktop file and icons to match and have all of these installed by the makefile.

@hfiguiere hfiguiere deleted the appdata2 branch March 26, 2024 12:41
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.

None yet

2 participants