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
[Question] Does Flatpak automatically update the VLC plugins to new branches? #6
Comments
And the answer is: no. In fact, if you (or system) do house cleaning for flatpak (manually or automatically (e.g. scheduled script)), you'll lose the plugins completely.
This is what happened after VLC was updated to KDE "5.15-22.08". After this, manual installation of the plugins with correct runtime version was needed. Too bad that the flatpak system is not more sophisticated. |
Big problems with VLC plugins now. I noticed something very odd, never seen this before, and can't remember how this situation came to be (maybe after the last post here I had to re-install):
The (relevant) installed apps:
Flatpak just noticed that there is an updated version for I uninstalled both plugins and re-installed them selecting the correct branch (why is this necessary? how does average user know what to install?) and for some odd reason I was asked to give my admin password (it was a GUI window that popped up to ask the password, not in the CLI), which is very odd, never seen that happen either (or it happened after the last re-install back in November and I didn't notice that flatpak "user" installations do not ask for a password, unlike updating everything else in the system):
What do I see after re-installing?:
As you can see, the And again I see this:
Either my system is borked, or flatpak is borked, I don't know. And I don't know how to fix this situation, any ideas? On a side note, the |
New update (which should be the "Update to 1.17.3" commit (+2 other commits)):
After update:
@MatMaul Do you have any comments on this matter? |
It did upgrade, it's just that I usually forgot to update the version in appdata.xml so you don't see it. For the rest I am using proper versioning regarding the ABI of the SDK, but the update tooling of flatpak is not great regarding that. |
I've updated the appdata, so you should notice the new version now. I am going to try to think about it. You can also follow those related issues regarding plugins and upgrade: |
Sorry, this is not an issue, just a question that I can't find any answer to anywhere else. And the "discussions" isn't enabled in this repo.
Does Flatpak automatically update the VLC plugins to new branches?
This came up when I was subscribing to RSS/Atom feeds to all my installed Flatpak software GitHub commits (e.g. MakeMKV: https://github.com/flathub/com.makemkv.MakeMKV/commits/master.atom). I first thought that the plugins (makemkv and the java menu) weren't updated for a few years because I was looking at the "master" branch. Then I noticed the newer branches.
The master branch not updating anymore is a problem if somebody wants to be notified of updates. Because if I subscribe to the RSS/Atom of the newest branch 3-21.08 (https://github.com/flathub/org.videolan.VLC.Plugin.makemkv/commits/branch/3-21.08.atom) and you create a newer branch, it obviously won't be shown on that branch. Subscribing to the page of all branches (or just active branches) isn't possible in GitHub.
So, back to the issue question, if Flatpak doesn't automatically update to a new branch, it's a big possibility that a user doesn't know that the plugin is outdated. Especially if there's no way to subscribe to see newer branches in GitHub.
If Flatpak does not update the plugins automatically to new branches, maybe you could add a new file to the master (e.g. updatenotification.txt) and then each time you create a new branch, you would update that file in the master with something like "Please update your plugins to new branch". That way people could subscribe at least to the master commits RSS/Atom feed. If you have a better idea, please do that instead.
Or (just remembered that I have another plugin), look at the repo of G'MIC Flatpak plugin for GIMP. I don't understand how that repo and all the branches are managed. If you look at the 2-3.36 branch there, the last commit is a "EOL 2-3.36" which updated the flathub.json file with: "This version of the plugin is deprecated. Install org.gimp.GIMP.Plugin.GMic//2-40". However, if one looks at all the branches there, there isn't a new "2-40" branch. All updates seem to currently go to the master branch instead. Still my installation of that plugin show that it is in a "2-40" branch but receives the commits made to the master branch:
They do something differently and can use the master branch for all updates?
EDIT: Just looked at what Flatpak offers for the G'MIC plugin:
It shows the new 2-40 which can't be found as a branch on the GitHub repo.
But, it seems that the plugins won't update automatically to the newer branches. If this is really true, while I'm not an expert with flatpaks, it seems to be a big design flaw of flatpak.
The text was updated successfully, but these errors were encountered: