-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
chore: Clean and update manifest + automation #2964
Conversation
It is technically ready for review, I'm converting to draft because bottlesdevs/runtime#6 changes the asset naming scheme and I will need to reflect that change here once merged. |
Pylint result on modfied files:
|
You can probably remove the |
There's still com.valvesoftware.Steam.Utility.steamtinkerlaunch using it, while non-Proton compatibility layers are unsupported at the moment, I guess it doesn't hurt to leave it as is for the time being. It will spare debugging time for permission issues, which are kind of annoying as I unfortunately learned from #2961. |
Can you drop a PR to the Flathub package, and I can merge all the changes? |
@orowith2os Sure, I opened flathub/com.usebottles.bottles#449 which mirrors manifest changes made here (no automation), but just as this PR it is also marked as draft because it needs bottlesdevs/runtime#6. |
I can land all three once all of the appropriate workflows are working as appropriate. Not sure if it's relevant here, but Mypy is complaining, that should probably be fixed. |
746dd7b
to
09eb143
Compare
@orowith2os The mypy workflow was broken: it was checking the bottledevs repository and not the PR repository. I fixed it in addition to the mypy error itself in the last two commits. |
Thanks, will queue these up now :) |
Sorry, I can't merge the runtime repository changes. I'll bug Mirko about it. |
64077bd
to
253e595
Compare
Hm, why the separate com.usebottles.bottles.src manifest? I also noticed that in the Flathub PR, the Bottles source is duplicated there and in the main manifest. |
I tried to explain a bit in this comment, but I did it in order to avoid out of sync manifest between this repository and the flathub one. For instance, manifests already have diverged as we speak: here, the runtime is at version 0.6, and on flathub it is at 0.6.2. Imagine that for a module being responsible for a bug, it would be horrendous to debug as it effectively makes reproducing impossible with a local build. Keeping manifests in sync would circumvent these situations. There is, and should be, only one difference between manifests here and manifests on flathub: the location of the Bottles source directory. That change now belong to a distinct file named Let's say tomorrow Bottles version Hopefully the motivation of this change is clearer with these explanations, let me know if there still is something unclear. |
Alright, everything LGTM. |
Description
Clean the flatpak manifest from modules no longer necessary (which were left over from previous migrations), and update remaining modules/dependencies.
Additionally, support for flatpak-external-data-checker has been added. It is then used by Github Actions to update automatically those modules/dependencies in the future.
It will check for updates every day, but using the require-important-update feature of
flatpak-external-data-checker
, it will only submit a PR if "important" modules have been updated. Important modules are those who haveis-important: true
defined in the manifest.The modules flagged as important are currently:
If any of those modules are outdated, it will submit a PR looking like this updating any outdated module.
org.gnome.Platform.Compat.i386
should be updated to"44"
#2983Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.