-
-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a way for websites to link to AppImage downloads #1074
Comments
looking again the custom tags are only for App Stores. For AppImage we use artifacts <artifacts>
<artifact type="binary" platform="x86_64-appimage">
<location>https://download.kde.org/stable/krita/4.3.0/krita-4.3.0-x86_64.appimage</location>
<checksum type="sha256">488a6c27876612fca710609483a265821c6bb802d24edf1e970a544744f1c75d</checksum>
<size type="download">210276392</size>
<bundle type="appimage">krita-4.3.0</bundle>
</artifact> |
That's a valid way to do it of course, and gets the job done for the purpose of this ticket. |
As for the graphical presentation, it would be nice to add https://docs.appimage.org/packaging-guide/distribution.html#download-as-an-appimage-banner to |
I agree on the presentation, added to our workboard https://phabricator.kde.org/T13581 |
To add complexity, the AppStream spec states:
But it does not really specify what needs to go into the cc @kossebau |
Some KDE projects have started to use it like this:
Is this the correct way to do this? cc @ximion |
Personally, I would love to see some notion of different "channels" in AppStream. Something like:
The actual channels should be able to be defined by the application, e.g., for Firefox it might contain
With the Not just for AppImage, but for all delivery formats. So that we get a 3-dimensional matrix of OSes (Windows, Mac, Linux, Android,...), delivery formats (deb/rpm, Snap, Flatpak, AppImage, Google Play, F-Droid,...), and channels (Release, Beta, ESR,...). Maybe architecture (aarch64, arm64,...) as yet another dimension. But I guess that is just wishful thinking on my part... (The way AppImageUpdate works is that release builds always update to release builds, continuous builds always update to continuous builds, and so on.) |
@jriddell this is something that might be worthwhile to consider for the KDE application pages too: If I want to get Open Source software on Android, I'd always want to get it from F-Droid rather than from Google Play (in fact, I have stopped Google Play and all other stores where you need an account to log in). So I think when one clicks on one of the OSes one should be given the various options for "delivery formats" (Google Play, F-Droid, direct download link to the |
No - using "bundle" is not allowed in an artifact tag (I wonder why that doesn't throw a validator error) and "x86_64-appimage" is not a valid normalized GNU triplet or platform name like "win32". Maybe I can validate the "platform" string at least a little bit in future (it's quite a bit more freeform, due to things like "win32" being allowed values). Embedding the bundling system here may make sense though, like:
The |
"channels" don't really exist in AppStream, that's an implementation detail of a bundling system. Releases can be marked as "development" and "stable" though, which can be mapped to a developer-snapshot and release channel. |
Use case:
https://kde.org/applications/ shows download links for the Windows, Android... app store.
How should AppImages be represented there, and where should the information come from?
The AppStream spec allows specifying URLs to e..g, the application homepage, bugtracker, etc. - but not to, e.g., "the latest AppImage for the stable channel".
Turns out that the AppStream spec allows for custom tags:
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-custom
KDE is already making use of custom tags:
https://community.kde.org/Guidelines_and_HOWTOs/AppStream#KDE_customs_tags
cc
So the question is, do we need/want custom tags for AppImage downloads.
Requirements:
Question:
Food for thought:
@jriddell: AppImage update information is a text string that is embedded within the first few KB of AppImages that support automatic updating (hopefully all of the KDE ones do!). From this string, the URL to the AppImage download can be constructed. Would that be an approach that would be acceptable for this use case, or do you think the information must come from AppStream?
The text was updated successfully, but these errors were encountered: