Skip to content

nightly additions#262

Draft
h7io wants to merge 3 commits into
flathub:masterfrom
h7io:nightly1
Draft

nightly additions#262
h7io wants to merge 3 commits into
flathub:masterfrom
h7io:nightly1

Conversation

@h7io

@h7io h7io commented Apr 7, 2022

Copy link
Copy Markdown

No description provided.

@SISheogorath

Copy link
Copy Markdown
Collaborator

We'll not have this merged to the master branch. On master we shall only push stable versions like upstream. If at all, nightly would live in beta, however, due to version pinning, we'll get daily merge requests. Therefore unless we also automerge them into the beta channel, I'm not willing to take on nightly builds for now.

@h7io

h7io commented Apr 7, 2022

Copy link
Copy Markdown
Author

@SISheogorath Hey, that's fine. I am mostly attempting to use the build infrastructure here to build a nightly for myself.

I haven't done flatpaks before so am not sure what goes into maintaining one, further so a nightly.

Though automerges to a beta branch does sound like minimal maintenance. Do you think there would be much involvement with that approach?

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 85321

@SISheogorath

Copy link
Copy Markdown
Collaborator

We had some talking about this here: #245

If we setup automerging in a functional way, yes, then we could go for nightly, but for now, I haven't done that and I would prefer manual promotion on master, so I have to check if flathub.json is interpreted from the default branch or from all branches.

@vchernin

vchernin commented Apr 7, 2022

Copy link
Copy Markdown
Contributor

Merging into beta can be done automatically (while leaving master alone). You will want to keep the branches in sync though when changing the manifest.

@vchernin

vchernin commented Apr 7, 2022

Copy link
Copy Markdown
Contributor

so I have to check if flathub.json is interpreted from the default branch or from all branches.

the flathub.json in beta corresponds to only beta, however, the flathub hosted f-e-d-c can only update the default branch set in github (currently master).

If you want to update beta and master (on their own schedule), in beta you can add the flathub.json, and in master you can add a scheduled f-e-d-c workflow. https://github.com/flathub/com.github.wwmm.easyeffects/blob/master/.github/workflows/update-beta.yml

@flathubbot

Copy link
Copy Markdown
Contributor

Build 85321 failed

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 85328

@flathubbot

Copy link
Copy Markdown
Contributor

Build 85328 failed

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 85377

@flathubbot

Copy link
Copy Markdown
Contributor

Build 85377 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/83221/im.riot.Riot.flatpakref

@h7io

h7io commented Apr 8, 2022

Copy link
Copy Markdown
Author

I have tried the packaged nightly flatpack - works a treat, labs with threads and all 👍 This is enough for my purposes.

Though I am willing to look into anything further to have it delivered to a beta branch, to have these automatic.

I have added the workflow script suggested above for betas.

@SISheogorath Is there will to have this delivered, autobuilt & maintained in a beta branch? Anything I can help with?

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 85410

@flathubbot

Copy link
Copy Markdown
Contributor

Build 85410 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/83254/im.riot.Riot.flatpakref

@vchernin

vchernin commented Apr 8, 2022

Copy link
Copy Markdown
Contributor

As mentioned above, for automerge to work you need to make a PR for just the workflow to master, and target the rest of the changes to beta.

@h7io

h7io commented Apr 8, 2022

Copy link
Copy Markdown
Author

@vchernin here is the workflow one - #264

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 88379

@flathubbot

Copy link
Copy Markdown
Contributor

Build 88379 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/86200/im.riot.Riot.flatpakref

@flathubbot

Copy link
Copy Markdown
Contributor

Started test build 89021

@flathubbot

Copy link
Copy Markdown
Contributor

Build 89021 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/86834/im.riot.Riot.flatpakref

@SISheogorath

Copy link
Copy Markdown
Collaborator

So I went ahead and talked with some people. Thankfully I was pointed to this discussion: flathub/flathub#2975 (comment)

I think the best solution for nightlies is to have them upstream foe now and not getting them in here. I would recommend to help working on the upstream integration: element-hq/element-desktop#293

Unless I hear something else any time soon, I'll close this PR and the efforts around it by the end of today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants