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

Address issues raised with appstreamcli validation #628

Merged
merged 2 commits into from Sep 29, 2018
Merged

Address issues raised with appstreamcli validation #628

merged 2 commits into from Sep 29, 2018

Conversation

knowledgejunkie
Copy link
Contributor

Validating the appdata with appstreamcli version 0.12.2 results in the following output:

$ appstreamcli validate conf/mu.appdata.xml
W - mu.appdata.xml:mu.codewith.editor.desktop:29
Found invalid tag: '_developer_name'. Non-standard tags must be prefixed with
"x-".

I - mu.appdata.xml:mu.codewith.editor.desktop:7
The component summary should not end with a "." [A simple Python editor for
beginner programmers.]

E - mu.appdata.xml:mu.codewith.editor.desktop:20
The description contains an URL. This is not allowed, please use the tag
to share links.

Validation failed: errors: 1, warnings: 1, infos: 1

This update corrects these issues

Validating the appdata with appstreamcli version 0.12.2 results in the following output:

$ appstreamcli validate conf/mu.appdata.xml                                                                                                                                                   
W - mu.appdata.xml:mu.codewith.editor.desktop:29                                                                                                                                              
    Found invalid tag: '_developer_name'. Non-standard tags must be prefixed with 
    "x-".

I - mu.appdata.xml:mu.codewith.editor.desktop:7
    The component summary should not end with a "." [A simple Python editor for 
    beginner programmers.]

E - mu.appdata.xml:mu.codewith.editor.desktop:20
    The description contains an URL. This is not allowed, please use the <url/> tag 
    to share links.

Validation failed: errors: 1, warnings: 1, infos: 1

This update corrects these issues
</description>
<url type="homepage">http://codewith.mu/</url>
<url type="help">http://codewith.mu/tutorials/</url>
<url type="bugtracker">https://github.com/mu-editor/mu/issues</url>
<project_group>mu-editor</project_group>
<_developer_name>Nicholas H.Tollervey</_developer_name>
<x-developer_name>Nicholas H.Tollervey</x-developer_name>
Copy link
Contributor

Choose a reason for hiding this comment

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

This should just be developer_name, expect the _ was an accidental prefix

Pretends they weren't the one that wrote this....

Prefer over non-standard <x-developer_name/>
@ntoll ntoll merged commit 0eafcdd into mu-editor:master Sep 29, 2018
@ntoll
Copy link
Member

ntoll commented Sep 29, 2018

@knowledgejunkie you're on a roll! :-) Thank you!

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

3 participants