-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Build flatpak via github runner #24887
base: master
Are you sure you want to change the base?
Conversation
Not sure why building samba would fail, that part of the code is an exact copy of the flathub build |
97c1dfd
to
6fe9a72
Compare
This copies the flatpak from flathub https://github.com/flathub/tv.kodi.Kodi does some small changes and adds a github workflow to build it.
I've made some formatting changes to meet the current code style. The diffs are available in the following links: For more information please see our current code style guidelines. |
Should be good to go. In theory we could also run flatpak-builder-lint, but I've failed to set it up |
My concern is the sheer amount of individual hashes to be maintained going forward. whats the expectations on updating them? Also, is there a reason not to use our mirrors for the source tarballs? |
There was also discussion/work at Devcon regarding this in parallel to your work. Essentially for PR builds we were looking to not build addons (ie reduce build times). @flole988 was running up a GHA yaml file to enable it. Im not sure if he finished it, but the goals were a script that could add/remove addons dynamically from your existing flathub build yml file. I dont think this was his latest, but the following commit was a point in time over the weekend. Flole998@9d4ae7d This was all sort of looked at being based on discussions around release change periods. Edit: A question we had at one point was, can flathub build from a non flathub repo (ie from our repo?). Does bring ALL of the flathub data like this just double someones (ie your) effort to keep in sync, or can the flathub builds just be pointing at the xbmc repo and the flathub one just isnt used any more? |
For everything addon related, there is a shell script included (you will need a I usually only update them when doing a kodi release or if someone complains (not sure that actually happened)
Not sure, in general that would be better especially if we can detect new versions and get it to auto update via https://github.com/flathub-infra/flatpak-external-data-checker but not sure the mirrors are nice for that. |
In theory we can get a secret and push our builds to flathub (that's not available for everyone yet, but I have connections) but it would mean we need to do everything else here. So ideally we would then also need to run:
(obs or firefox could be used as a reference, as they do the same) |
we should add a script that updates all source urls and hashes with the ones from our depends VERSION files. Ideally this would be done automatically on each build. That way (at least existing) dependencies would be in sync with other platforms. |
Description
This copies the flatpak from flathub https://github.com/flathub/tv.kodi.Kodi does some small changes and adds a github workflow to build it.
Motivation and context
Flatpak at flathub get's out of sync and breaks, due to upstream changes. This would help catching stuff earlier and hopefully allow to work on updating better.
How has this been tested?
Hasn't I need the github pipeline.
What is the effect on users?
Better flatpak
Types of change
Checklist: