-
Notifications
You must be signed in to change notification settings - Fork 454
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
Add Linux AppStream metadata #2603
Conversation
Just confirming that this doesn't need to be placed anywhere special or linked in any way before we merge this. If it definitely is okay here - which is probably the best place for it - can you just attach a comment to the top of the file indicating that this only needed for the FlatPak release? Also can you make the change in the Makefile under build/hawkthorne-linux.AppImage to only copy Finally, feel free to add your username to the diff --git a/scripts/credits.py b/scripts/credits.py
index e7adc90c..917a21b5 100644
--- a/scripts/credits.py
+++ b/scripts/credits.py
@@ -8,7 +8,9 @@ with open('CONTRIBUTORS', 'r') as f:
with open('CONTRIBUTORS', 'w') as f:
for name in sorted(names):
- f.write(name + "\n")
+ name = name.strip()
+ if name != "":
+ f.write(name + "\n")
template = jinja2.Template(open('templates/credits.lua').read())
print(template.render(contributors=[l.strip().replace("'", "\\'") for l in open('CONTRIBUTORS')])) Thanks! |
Not really, just having it in the main repo in a place so we can say upstream manages it and it is the source-of-truth for that info should be enough.
More precisely AppStream is the Linux standard so you can ship some metadata that can be shown on app stores. It is mainly useful for apps on distro repos and flatpaks, AppImages don't really benefit from it as they don't rely on app stores (at least as far as I know).
Sure, will do.
Sure. |
Thanks for contributing! |
it gets installed in |
@hfiguiere Sorry, I need more clarity. Is that something that we need to change here? My question was more about how flathub needs to fetch this file from this repository and the initial response I got back was that it didn't matter as long as we were the maintainers of the metadata file. |
the best practice is to ship it in the tarball and that |
Ok, just so you know, we don't have a |
as I said it's not specific to flatpak. And you should have a make install rule too. (your appimage can reuse it). See AppImage documentation |
Tbf, I didn't know AppImages had AppStream integration, I thought that due to their "portable" behavior they didn't need them since I assumed it is mostly useful for app stores integration. Well, there's already a hawkthorne.love.zip download which is just the .love insize a .zip, if we had a hawkthorne-linux.tar.gz containing the .love game, the .desktop file, the .png for the icon and the .metainfo.xml metadata I believe it should be enough for me to handle on the flatpak manifest side.
Just a note, most games nowadays likely either assume they are self-contained or handled by some type of launcher, and not something restricted to a hierarchy similar to Linux's. Of course, since they already have the AppImage I can look into adding the AppStream data to it as well. |
Created for Flathub submission in flathub/flathub#5877, see also #2588
AppStream specification documentation: https://www.freedesktop.org/software/appstream/docs/