flathub / net.rpcs3.RPCS3

https://flathub.org/apps/details/net.rpcs3.RPCS3
5 stars 5 forks source link

Please remove usages of branch property from manifests #1679

Closed bbhtt closed 4 months ago

bbhtt commented 4 months ago

https://github.com/flathub/net.rpcs3.RPCS3/blob/5d1bfdeb2df279f22304888c7e896cc6f51f3661/net.rpcs3.RPCS3.yaml#L90

should be tag or commit or tag+commit

Lctrs commented 4 months ago

Can't. RPCS3 is a rolling release software and we want to be always on top of the master branch.

bbhtt commented 4 months ago

Flathub is not for nightlies to update on every commit. Use the tags, branch is blocked in the linter.

j8r commented 4 months ago

I guess we can use that: https://github.com/RPCS3/rpcs3/releases. Some projects prefer rolling-releases, which seems to fit them well. If the developers and users are happy, that's the most important.

Edit:

Please note that our version increases are landmarks and not stable builds Always download the latest build from https://rpcs3.net/download

@Lctrs is right, we should use master for this project - that's what developers officially recommend.

j8r commented 4 months ago

By the way @bbhtt, thank you to have warned us - I'll make a PR. However, that's not really us packagers to convince to change upstream development model, we just deal with what we are given :slightly_smiling_face:

j8r commented 4 months ago

@Lctrs I see two options:

Lctrs commented 4 months ago

@bbhtt that's why we use a custom github actions to run fedc once a day, to not overflow the flathub's build infra on every upstream commit.

@j8r seems like github's archives source do not include git submodules, which only left us with the second option.

bbhtt commented 4 months ago

@bbhtt that's why we use a custom github actions to run fedc once a day, to not overflow the flathub's build infra on every upstream commit.

That does not help, the build still happens on the infra just multiple times a day. What makes it special that you have to update on each commit?

bbhtt commented 4 months ago

Ok seems I misunderstood the setup here, updating once per day is fine. I'll add an exception for this.

Please don't try to increase the frequency of the action.

bbhtt commented 4 months ago

Added an exception. Restart the build in a couple of hours.

Note that it doesn't solve the main issue of branch and commit in the manifest going out of sync and the build from the merge commit silently failing and the update failing to deploy.

The linter won't be able to catch that because of the exception. I assume this is fine, since you really want to update on each commit.