flatpak-external-data-checker icon indicating copy to clipboard operation
flatpak-external-data-checker copied to clipboard

Support `beta` and `branch/*` branches

Open Lctrs opened this issue 4 years ago • 8 comments

Use case :

JetBrains have what they call the EAP (Early Access Program) for their products. It's kinda like a public beta for upcoming versions of their products. The release process of the EAP versions is separated from the main release one.

I would like to be able to bundle these EAP versions into flathub, either in the beta or branch/eap branch. Would be nice if the data checker could check for updates in both master and the other flathub supported branches.

Lctrs avatar Jan 30 '20 14:01 Lctrs

Sounds great! @barthalion how do you think would be best to arrange for the tool to be run on additional branches for some repos? I think that'd be the only change needed here.

wjt avatar Feb 10 '20 14:02 wjt

It would need to iterate over master, beta and all branch/* branches. That's why I was initially using pygit2 for detecting default branch before botching it.

barthalion avatar Feb 12 '20 22:02 barthalion

I have also some users that stay on the beta branch and currently I have to do everything manually for the beta branch and everything happens automatically for the stable branch.

sophie-h avatar May 20 '21 00:05 sophie-h

While this feature is surely something we'd like to have, it's not trivial to implement in a reliable way. @sophie-h In the Telegram flatpak repo, the default branch is beta and all the updates (including pre-releases) land there. Once a stable version is released, we manually merge beta to master. Maybe similar workflow would work for you in the meantime?

gasinvein avatar May 20 '21 11:05 gasinvein

I think I will stick with --edit-only for now (which already helps a lot.) But thanks for the suggestion!

sophie-h avatar May 20 '21 21:05 sophie-h

For extensions where multiple branch/* are maintained at the same time (e.g. org.freedesktop.Sdk.Extension.mono6), this is useful as well!

darkdragon-001 avatar Apr 24 '22 20:04 darkdragon-001

This is only a limitation with flathub's instance of f-e-d-c. You can avoid this problem and check arbitrary branches by using the custom workflow as described in the readme.

vchernin avatar Apr 24 '22 20:04 vchernin

Does this suggest something that is similar to snap's --channel=latest/<channel> (default --channel=latest/stable and --channel=latest/beta, etcetera; and custom branches: --channel=esr/stable?

RokeJulianLockhart avatar Aug 25 '22 17:08 RokeJulianLockhart