Bug 391276 - Fedora's Choqok packaging has invalid appStream file
Summary: Fedora's Choqok packaging has invalid appStream file
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.6
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 05:24 UTC by talha.khan1
Modified: 2020-02-06 09:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.7


Attachments
Screenshot of Choqok in Discover on Fedora 27 (221.31 KB, image/png)
2018-03-02 05:24 UTC, talha.khan1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description talha.khan1 2018-03-02 05:24:01 UTC
Created attachment 111125 [details]
Screenshot of Choqok in Discover on Fedora 27

As seen in the attached screenshot, only the name and description of Choqok. The application was installed using the built-in Fedora repository.

Fedora 27 x86_64
choqok.x86_64 version 1.6.0.3-fc27
plasma-discover.x86_64 version 5.11.5-1.fc27

Not sure where the issue lies, because the source code downloaded from the Choqok website has a valid appstream.xml file.
Comment 1 Nate Graham 2018-03-03 05:07:31 UTC
Is the AppStream file valid? You can run `appstreamcli validate` on it. If it's invalid, that may be the issue. If it's valid, does it seem to supply the information that's missing form Discover? If so, then it may be a Fedora packaging issue.
Comment 2 talha.khan1 2018-03-04 02:06:38 UTC
I need to figure out where the AppStream file in Fedora is stored, but the one included with the source downloaded from the Choqok website seems to get an error:

$ appstreamcli validate org.kde.choqok.appdata.xml 
E - org.kde.choqok.appdata.xml:org.kde.choqok.desktop
    The component is missing a summary (<summary/> tag).

Validation failed: errors: 1, pedantic: 1
Comment 3 Nate Graham 2018-03-04 02:15:55 UTC
Yep, that'll do it. However, the version in our source repo[1] seems fine:

$  appstreamcli validate ~/org.kde.choqok.appdata.xml
I - org.kde.choqok.appdata.xml:org.kde.choqok.desktop:46
    The component summary should not end with a "." [Cliente para microblogues.]

Validation was successful: infos: 1


It also has a screenshot, a Description tag, a Summary tag, and a variety of other bits that should make it look great in Discover. This is a Fedora packaging issue; please file a bug on their bug tracker asking them to use our upstream AppData file instead of the invalid one that they're using.



[1] https://cgit.kde.org/choqok.git/plain/choqok/org.kde.choqok.appdata.xml
Comment 4 talha.khan1 2018-03-04 06:14:28 UTC
Thanks, I've created Bug report 1551266 on the Red Hat bugzilla, and linked this bug to it.
Comment 5 Rex Dieter 2018-09-25 18:52:28 UTC
FYI, the upstream appdata file is indeed valid now, but there has been no formal choqok release yet that includes it.

I'm backporting the fixes for fedora pacakging... I'd encourage upstream to make a new release so all can benefit from the fixes.