Bug 1094976

Summary: RFE: App data support
Product: [Community] Copr Reporter: Langdon White <langdon>
Component: backendAssignee: Valentin Gologuzov <vgologuz>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jberan, langdon, mclasen, msuchy, rhughes, vgologuz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-11 13:52:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1105587    
Bug Blocks:    

Description Langdon White 2014-05-06 19:47:22 UTC
Description of problem:
COPR should support the ability to provide information required for inclusion in the gnome-software application (see https://lists.fedoraproject.org/pipermail/desktop/2013-December/008535.html for reference)

Comment 1 Miroslav Suchý 2014-05-07 07:19:51 UTC
I have no idea what to do.

AppData should be provided by individual packages build inside Copr - so that is task for individual maintainers.

If Gnome-software would like to show software from copr, it would have to get AppData from its packages (likely possible via current API).
And if user wants to install it, then enable Copr repo, which contains that application. (BTW how you can add repo in gnome-software?). And this is task for Gnome-Software.

To sum it up - I do not see what Copr itself can do for gnome-software.

Can you be more specific, please?

Comment 2 Langdon White 2014-05-07 18:00:53 UTC
I am not sure that there is anything we need to do. I read the setup for gnome-software as needing to provide additional information than would normally be specified, perhaps I misunderstood. Suffice to say, I think it is important that COPR track whats happening in the various desktop platform "software stores" and support inclusion of COPR repos if possible.

Comment 3 Richard Hughes 2014-05-08 08:15:44 UTC
Okay, a little confusion here.

AppData is what upstream software provides and gives us things like screenshot URLs and long descriptions of each application.

AppStream is what is produced after processing all the packages in the distro (some of which have desktop files, some of which have desktop+appdata files) and is a per-repo "blob" to be shipped in the repo just like primary.xml.gz or comps.xml.

What COPR could do is run createrepo_as on the packages in the copr, and then just use modifyrepo to include the file in the repomd.xml file. That's the long term goal of what's going to happen in Fedora. If this is something COPR wants to do, please give me a shout and I can set up a call explaining what you need to do.

Comment 4 Miroslav Suchý 2015-03-24 15:22:02 UTC
Notes for myself:
This is what hughsie use now:
https://github.com/hughsie/appstream-scripts/blob/master/fedora/fedora-22.sh

This is documentation how to use libappstream-glib:
https://github.com/hughsie/appstream-glib#getting-started-1

Comment 5 Valentin Gologuzov 2015-07-13 15:13:46 UTC
Copr version with appdata/appstream support was deployed into production.
Richard please confirm that everything works, and it's correct close issue.

Comment 6 Miroslav Suchý 2015-08-11 13:52:39 UTC
This fix is deployed in production on copr.fedoraproject.org