Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions data/app.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<id>@app_id@</id>
<launchable type="desktop-id">@app_id@.desktop</launchable>
<name translatable="no">Workbench</name>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Sonny Piers</developer_name>
<developer id="gitlab.com">
Copy link
Contributor

Choose a reason for hiding this comment

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

This is incorrect - github.com is not the developer of Workbench

The element should have a id property, containing a unique ID to identify the respective developer. It is recommended to use a web URL, like gnome.org as ID to achieve a higher chance of uniqueness.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer

I will fix

Copy link
Author

Choose a reason for hiding this comment

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

I'm not sure how to use the new tag.

ximion/appstream#575

<name translatable="no">Sonny Piers</name>
</developer>
<update_contact>sonnyp@gnome.org</update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
Expand Down
9 changes: 1 addition & 8 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ appstream_file = configure_file(
appstream_cli = find_program('appstreamcli', required: false)
if appstream_cli.found()
test('Validate metainfo file', appstream_cli,
args: ['validate', '--override=release-time-missing=info', '--no-net', appstream_file]
)
endif

appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', appstream_file]
args: ['validate', '--override=release-time-missing=info', '--no-net', '--explain', appstream_file]
)
endif

Expand Down