Coordinated KDE Apps maintenance on Flathub

Hi everyone,

I am the maintainer of the unofficial KDE variant (nicknamed Kinoite) of Fedora Silverblue. In short, Fedora Silverblue is an immutable operating system and the recommended way to install applications is to use Flatpaks or containers (podman). Please see the documentation for more details.

As a long time KDE user, I want to be able to install KDE applications on Silverblue/Kinoite using Flatpaks. One way to do that is to publish KDE Apps to Flathub. So I started a call for packaging KDE Apps on Flathub.

I think that packaging all KDE Apps on Flathub will:

  • give them more visibility,
  • make new releases easily available to all users on all distributions,
  • make KDE application development and testing easier as we update the nightly Flatpaks at the same time.

Thus I think that this would be beneficial for the entire KDE community.

Some KDE applications are already available on Flathub thanks to @tsdgeos, @eszlari, @danvratil, @grulja, @mgallien (This is a non exhaustive list. I am sorry if I missed you here). But a lot of them are still missing (list). The Flathub maintainers recommend that developers publish and maintain their own application on Flathub. But so far this has not happen for those missing KDE Apps and this is what this discussion is about.

Thus I suggest that we create a team and tools to share the load of maintaining KDE Apps on Flathub by working on automating updates for new releases. If such a team already exist then I am sorry for stepping on your toes: I did not know there was any.

The first step here would be to start packaging and submitting the missing KDE Apps to Flathub while making sure that the required changes are pushed upstream. In the meantime we could work on automating the manifests updates for new releases. This is made easier by the fact that most KDE Apps are released together at a regular cadence.

To make that happen, I started working on bringing the missing KDE Apps to Flathub and will soon work on updating the upstream nightly manifests as well as automation tooling.

Please let me know if you think this is good idea, if you see anything that may block this from happening or if I should do something differently.

Thanks

2 Likes

I want to say again that I am really grateful for all the work that has already been done to bring existing KDE Apps to Flathub and that I am not complaining about Apps being missing.

I also did not know that there was already a team of KDE maintainers on Flathub and I would be glad if I could join it instead of creating another team. At the same time, if the current team does not want to take part in the maintenance of the applications I submit, then this is not an issue.

I do not in any case request or implicitly expect that people maintain the apps I submit. I pledge to maintain those apps myself.

I will also reach out the KDE developers for each App I submit to ask if they are interested in co-maintenance.

What do you think Sign in to GitHub Ā· GitHub was when i pointed it to you in KDE Apps (Call for contributors) ? I mean it says " Maintainers of KDE applications "

I am very happy that you want to help improving KDE applications in flatpak + flathub, am Iā€™m very happy with the work you have done so far.

You want to be part of the team, iā€™m more than happy of helping you become part of it.

But that means respecting our decisions like ā€œwe want all our apps to be in jsonā€.

And if you disagree with it, which is a totally valid position, it means starting a discussion of with the team about why it should be changed, not simply ignoring us.

Unfortunately the Flathub Teams link gives me a 404 (I should have mentioned that earlier) which is probably why I did not realize how the current team was organized.

But you are right I was confused by my enthusiasm and forgot about this. I should have asked more questions about the existing team status and asked about how you currently maintain apps.

I also realized that by not wanting to impose maintenance on the existing team I was actually imposing my way of doing things and that was inappropriate.

I am sorry I created such a situation. I have removed all my inappropriate comments from the issue and I have submitted a PR to keep the JSON version for Ark and will update the other PRs soon.

Thanks for being patient with me!

1 Like

Unfortunately the Flathub Teams link gives me a 404

Ouch thatā€™s terrible :S @barthalion do you know if thereā€™s a way we can let people ā€œseeā€ the teams?

Thanks for being patient with me!

No problem, thanks for also being patient with me :slight_smile:

I donā€™t think adding READMEs to the app repos makes sense:

https://github.com/flathub/org.kde.ark/pull/2

Could you elaborate on that? I was wondering about where we could place some info like the rationales for the permissions given to apps.

Side note: there is a way to add comments in json: https://github.com/flathub/org.mozilla.Thunderbird/blob/master/org.mozilla.Thunderbird.json#L12 .

json really doesnā€™t support comments, now it really seems the parser that flatpak uses doesnā€™t explode on them. fair enough, but having the explanation in comments in the json is terrible if we want regular users to find them. No regular person is going to go there vs the github flathub page, that is not awesome either, but at least itā€™s findable via google.

Ideally flatpak would support telling users why we need privileges, but AFAIK thatā€™s just not possible yet

Does someone have time to have a look at kontact?

The flathub version is stuck at 19.04 which is kind of old nowadays

Was wondering, should we ask for a team to be created at https://invent.kde.org/teams to be able to manage ā€œinternalā€ issues? Otherwise i donā€™t see where we can have a centralized place of the ā€œwork TODOā€.

Opinions?

Iā€™ll take a look, looks like many modules need to be updated to 20.04.2.

Iā€™m afraid itā€™s not, seems GitHub does not allow teams to be public. Iā€™m not happy about it either, Iā€™ll think if we can workaround it in some way.

I think we can create a ā€œmetarepositoryā€ under Flathub org just for the issues if that sounds good for you.

The metarepository in flathub org sounds reasonable too, but it seems that some of the initial rush has died down :frowning:

Anyone else than me can say ā€œyes, i think it would a good idea to have a place to track TODOs etc and i would be willing to put work on itā€?

Personally I kind of like having this on kde invent - possibly alongside the development repo. I think that makes it clearer that this is a ā€œKDE thingā€ rather than a ā€œflathub people who like KDE thingā€ and sets the right kind of expectations about existing practices (like, ā€œbug fixes should go upstream and be targeted at the next stable release to be pulled in to the flatpakā€).

I for one would certainly put my work up there - and it would certainly help with ā€˜meta-KDEā€™ changes like ā€œget release tags as part of the buildsā€.

1 Like

Hmmmm, i think we have different things in mind for the invent.kde.org idea :smiley:

I was not proposing moving the github flathub repos over there, is thatā€™s even possible?

Or thatā€™s not what you meant with ā€œput my work up thereā€?

I was ā€œjustā€ proposing having a team page (i.e. like a repo but without a repo) where we could use the issue tracker as task tracker. For stuff like ā€œWe need to update Kontactā€ or ā€œWe need to put app XYZ in flathubā€.

Or maybe i misunderstood you and you meant something similar?

I absolutely meant something similar. We can disable issue tracking on all the flathub repos and add a readme pointing to the invent page. But yeah, I think thatā€™s just a more natural place to expose the kinds of cross app changes that are sometimes needed but as you say - having the team identified, a clear way to join it and a task tracker would be super awesome.

The only other thing I was thinking (and this is what probably got confused) is that itā€™d be great to port as many of the review changes that weā€™ve made to the apps on flathub back over to https://invent.kde.org/packaging/flatpak-kde-applications (and also the other way around, trying to get everything into flathub) but that can be a separate thing.

I like the idea of having a dedicated repository act has a central point to track cross apps issues / TODO lists. I donā€™t have an opinion on whether this repo should reside in Flathub or KDE Invent. However I donā€™t think that disabling issues on all Flathub repos will be practical as we will still have PRs on Flathub and it will probably be less practical to constantly switch between the two.

Yes, both of those are definitely on my TODO list. I started updating the upstream flatpak for Ark but I have yet to do it for the other apps (and the Ark one needs to be updated again).

1 Like

Ok, there seems to be some agreement on having a central place to have more general issues tasks.

I now think we ā€œcouldā€ use https://invent.kde.org/packaging/flatpak-kde-applications/-/issues but probably itā€™s not a great idea, since that should probably be exclusively for sutff that is in that repo.

So, letā€™s give it 4 or 5 days for other people to maybe comment and if noone disagrees iā€™ll ask for the creation of https://invent.kde.org/teams/flathub_coordination or something.

Does that look good to you @apol ?

1 Like