-
Notifications
You must be signed in to change notification settings - Fork 14
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
Gourmet flatpak repository builder #149
Conversation
upload flatpak manifest
removed icon command
added workflow to build a repo
name change
…hinkle.Gourmet.yml changed directory to root
removed trailing white spaces
I think that this workflow could be merged within the existing |
The CreateFlatpack workflow is meant for building a test run of changes to Gourmet without actually installing Gourmet to a system. The repository builder is for hosting the finished app so it can be downloaded and installed. Merging would essentially change the function of CreateFlatpak and remove the test run. I could do that, but is CreateFlatpak not useful by itself? |
added single-file bundle workflow removed trailing whitespaces
renamed yaml to better show present purpose
The single-file bundle is now in the workflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, now that the bundle is created, it's possible to make it an artefact with something like
- name: Upload Flatpak
uses: actions/upload-artifact@v2
with:
name: gourmet.flatpak
path: ./gourmet.flatpak
at the end of the workflow :)
|
||
- name: Build Bundle | ||
run: | | ||
flatpak build-bundle repo Gourmet io.github.thinkle.Gourmet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make the output file gourmet.flatpak
, so that we know what it is.
changed filename to gourmet.flatpack added Upload Flatpak script from Cyril
I see that the copy of files is not working:
Maybe it can be skipped altogether, given that it's a workaround for a known bug? |
took out workaround for issue 107
The workaround is taken out now. |
LGTM! I was able to install the flatpak from the artifact, and it installed all right on Linux Mint 20: (it crashes because of #107, but's that's unrelated) That's a massive achievement, thanks a lot for your efforts! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave the PR simmer a bit, would other people have some input.
In my opinion, it deprecates the previous workflow, but I have no strong opinion on that.
Do you know what's the deal with the icon? |
I have the icons on my computer but maybe because I installed for the user only. For some reason I thought it was fixed until I tried a system wide install in a virtual machine. The icons I believe are not installing system wide because of permissions. I gave the Gourmet flatpak home directory access but was reluctant to give it root file access permanently just for the one time need of installing icons. I have asked people more proficient with flatpaks than me if there is a workaround, and am waiting for a response. |
In |
The icons are a formatting issue. They need to be renamed to io.github.thinkle.gourmet.png or .svg, which I can do in the manifest. However, when I rename the icons for the flatpak to install, Gourmet crashes because it is looking for the old icon name. |
This will help develop a more streamlined installation down the line, where we aim to add it to flathub. Thank you again for your work! |
This workflow builds a flatpak repository from the github. The commands to install the flatpak are commented out for reference.