{"action":"opened","issue":{"url":"https://api.github.com/repos/hughsie/appstream-glib/issues/127","repository_url":"https://api.github.com/repos/hughsie/appstream-glib","labels_url":"https://api.github.com/repos/hughsie/appstream-glib/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/hughsie/appstream-glib/issues/127/comments","events_url":"https://api.github.com/repos/hughsie/appstream-glib/issues/127/events","html_url":"https://github.com/hughsie/appstream-glib/issues/127","id":170677677,"number":127,"title":"Validation fails for component console-application","user":{"login":"chronitis","id":6874993,"avatar_url":"https://avatars.githubusercontent.com/u/6874993?v=3","gravatar_id":"","url":"https://api.github.com/users/chronitis","html_url":"https://github.com/chronitis","followers_url":"https://api.github.com/users/chronitis/followers","following_url":"https://api.github.com/users/chronitis/following{/other_user}","gists_url":"https://api.github.com/users/chronitis/gists{/gist_id}","starred_url":"https://api.github.com/users/chronitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronitis/subscriptions","organizations_url":"https://api.github.com/users/chronitis/orgs","repos_url":"https://api.github.com/users/chronitis/repos","events_url":"https://api.github.com/users/chronitis/events{/privacy}","received_events_url":"https://api.github.com/users/chronitis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T15:41:11Z","updated_at":"2016-08-11T15:41:11Z","closed_at":null,"body":"I tried validating (`appstream-util validate-relax --nonet org.test.consoleapp.metainfo.xml`) a console application metainfo file as per <https://www.freedesktop.org/software/appstream/docs/sect-Metadata-ConsoleApplication.html>\r\n\r\nThe metainfo file contained\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<component type=\"console-application\">\r\n    <id>org.test.consoleapp</id>\r\n    <metadata_license>MIT</metadata_license>\r\n    <project_license>MIT</project_license>\r\n    <name>ConsoleApp</name>\r\n    <summary>A test application</summary>\r\n    <provides>\r\n        <binary>consoleapp</binary>\r\n    </provides>\r\n</component>\r\n```\r\n\r\nThis failed with\r\n\r\n```\r\norg.test.consoleapp.metainfo.xml: FAILED:\r\n• attribute-invalid     : <id> has invalid type attribute\r\n• markup-invalid        : <id> does not have correct extension for kind\r\nValidation of files failed\r\n```\r\n\r\nIt appears `as_app_kind_to_string` do not handle this component type and it is treated as unknown."}}
{"actor":{"display_login":"chronitis"}}