Add "Install via AppStream" links to applications on kde.org
Friedrich W. H. Kossebau
kossebau at kde.org
Sun Dec 18 22:15:43 UTC 2016
Am Sonntag, 18. Dezember 2016, 20:42:33 CET schrieb Aleix Pol:
> On Sat, Dec 17, 2016 at 12:17 AM, Friedrich W. H. Kossebau
>
> <kossebau at kde.org> wrote:
> > Hi,
> >
> > most of the KDE applications now ship with an appdata file. Each appdata
> > file comes with an appstream id, which in a distro-agnostic way
> > identifies the respective application.
> >
> > "In order to allow installation of AppStream components from websites,
> > software-centers implementing AppStream may choose to also support the
> > appstream:// urls."
> > From
> > https://www.freedesktop.org/software/appstream/docs/sect-AppStream-Servic
> > es-UrlHandler.html
> >
> > Attached patches enable entries on kde.org/applications to have
> > optionally a "Get $App" section in the box on the right side, with an
> > item "Install via AppStream" linked to the "appstream:app.id" url.
>
> Big +1, that was the reason why we introduced appstream:/ after all.
Fine, so going to commit the patches now.
> > This will be controlled by a new property "appstream" added to the app
> > json files in applications/apps/. If present and not false, the content
> > should be the id, otherwise it is handled as not set.
> >
> > Example:
> > Adding this to applications/apps/okteta.json
> >
> > "appstream": "org.kde.okteta.desktop",
> >
> > will add
> >
> > <strong>Get Okteta</strong>
> > <a href="appstream:org.kde.okteta.desktop">Install via
> > AppStream</a>
> >
> > at the begin of the box on the right side of
> >
> > kde.org/applications/utilities/okteta
> >
> > If committed, adding all the "appstream" entries to all the json files
> > could be a GCI task? Anyone who could overlook this?
>
> If you explain to me exactly where it needs to be changed, I could set
> up such gci task.
Good, thanks, will write that up by example of Okteta, should arrive with you
tonight still.
> > Others might want to extend this in the future to something for Android,
> > Windows, etc., unless the kde.org overhaul will bring all this anyway
> > once it is done.
>
> Given it's something we'd get as is, we can just do it already.
Task ready to be picked up by volunteers :) I have no insight into app stores
on those proprietary systems and what links would work ;)
Cheers
Friedrich
More information about the kde-www
mailing list