Quite a few people have asked me how the AppStream distro metadata is actually generated for their package. Since F20 we're also doing things like supply missing AppData files for some key apps, and replacing some upstream screenshots on others. In order to make this more transparent, I'm going to be uploading the logs of each generation run to https://github.com/hughsie/createrepo_as_logs -- If you've got a few minutes I'd appreciate you finding your application there and checking for any warnings or errors, and perhaps forwarding any findings to upstream. Although over 10% of applications in rawhide ship AppData, that means a huge chunk don't and also quite a few upstreams don't even have things like translated desktop files.
Also, if you maintain a GUI application that's in Fedora but not in that list then please send me email or grab me on IRC. The guidelines for inclusion are https://github.com/hughsie/createrepo_as#guidelines-for-applications -- thanks.
Richard.
On Wed, Mar 19, 2014 at 9:33 AM, Richard Hughes hughsient@gmail.com wrote:
Quite a few people have asked me how the AppStream distro metadata is actually generated for their package. Since F20 we're also doing things like supply missing AppData files for some key apps, and replacing some upstream screenshots on others. In order to make this more transparent, I'm going to be uploading the logs of each generation run to https://github.com/hughsie/createrepo_as_logs -- If you've got a few minutes I'd appreciate you finding your application there and checking for any warnings or errors, and perhaps forwarding any findings to upstream. Although over 10% of applications in rawhide ship AppData, that means a huge chunk don't and also quite a few upstreams don't even have things like translated desktop files.
I've got an application with a valid desktop file for which I attempted to write an appdata file. I couldn't find any screenshots online, so I took some of my own and installed them with the application. The log message for this application says:
Failed to load screenshot file://<path>: Downloading failed: Cannot resolve hostname
Am I taking a fundamentally wrong approach, or does something in the appdata stack need to be taught about file:// URLs?
Thanks,
On 24 March 2014 17:15, Jerry James loganjerry@gmail.com wrote:
Am I taking a fundamentally wrong approach, or does something in the appdata stack need to be taught about file:// URLs?
Are you installing them with the package? I guess file:// could make sense, so if that's what you're doing can you file a bug in https://github.com/hughsie/appstream-glib/tree/master/libappstream-glib please and we'll discuss there. Generally I think screenshots should be available on some remote server (which is only accessed when building metadata, not by all clients) as they tend to be sizeable and not particularly useful if you've got an app already installed.
Richard.
On Mon, Mar 24, 2014 at 11:54 AM, Richard Hughes hughsient@gmail.comwrote:
Are you installing them with the package? I guess file:// could make sense, so if that's what you're doing can you file a bug in https://github.com/hughsie/appstream-glib/tree/master/libappstream-glib please and we'll discuss there. Generally I think screenshots should be available on some remote server (which is only accessed when building metadata, not by all clients) as they tend to be sizeable and not particularly useful if you've got an app already installed.
Agreed. I really only need this to solve a chicken and egg problem. I want to convince upstream to adopt the AppData file that I've written for them. It would be helpful to my argument if I could show them what their app would look like in gnome-software. But, since upstream hasn't posted any screenshots (that I can find), I need to do something else to demonstrate to them what this would gain, hence the question.
I can probably find web space somewhere to upload the screenshots I've taken, but it seems weird for me to be hosting their screenshots. Still, that's probably what I should do until [1] I can get upstream to do the hosting.
Footnotes: [1] He says optimistically.
I'd be willing to host some space on a time-based setup as my server and home system are not always on (running live-static blogs) but hit me up if need be also I run fc20 sec xfce x86 if you need help with outreach or testing on other WMs
Corey W Sheldon Owner, 1st Class Mobile Shine 310.909.7672 www.facebook.com/1stclassmobileshine
On Mon, Mar 24, 2014 at 2:06 PM, Jerry James loganjerry@gmail.com wrote:
On Mon, Mar 24, 2014 at 11:54 AM, Richard Hughes hughsient@gmail.comwrote:
Are you installing them with the package? I guess file:// could make sense, so if that's what you're doing can you file a bug in https://github.com/hughsie/appstream-glib/tree/master/libappstream-glib please and we'll discuss there. Generally I think screenshots should be available on some remote server (which is only accessed when building metadata, not by all clients) as they tend to be sizeable and not particularly useful if you've got an app already installed.
Agreed. I really only need this to solve a chicken and egg problem. I want to convince upstream to adopt the AppData file that I've written for them. It would be helpful to my argument if I could show them what their app would look like in gnome-software. But, since upstream hasn't posted any screenshots (that I can find), I need to do something else to demonstrate to them what this would gain, hence the question.
I can probably find web space somewhere to upload the screenshots I've taken, but it seems weird for me to be hosting their screenshots. Still, that's probably what I should do until [1] I can get upstream to do the hosting.
Footnotes: [1] He says optimistically. -- Jerry James http://www.jamezone.org/
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Hi Corey,
On Mon, Mar 24, 2014 at 12:11 PM, Corey Sheldon sheldon.corey@gmail.comwrote:
I'd be willing to host some space on a time-based setup as my server and home system are not always on (running live-static blogs) but hit me up if need be also I run fc20 sec xfce x86 if you need help with outreach or testing on other WMs
Thank you, I appreciate the offer. However, I think I'm going to use my fedorapeople.org space for this purpose. Hopefully it won't be needed for long, anyway (/me crosses fingers).
On 24 March 2014 19:01, Jerry James loganjerry@gmail.com wrote:
Thank you, I appreciate the offer. However, I think I'm going to use my fedorapeople.org space for this purpose. Hopefully it won't be needed for long, anyway (/me crosses fingers).
Yes, I think fedorapeople.org is fine for this; like I said it's immediately mirrored onto the mirror network. When you've got a build with the new AppData file let me know and I'll take a screenshot of what it looks like in gnome-software so you can show upstream.
Richard.