Closed flathubbot closed 3 years ago
Started test build 39370
Build 39370 failed
Hmm, looks like Jagex released a patch release without bumping the version. Which the bot auto-consumes to set the release version for the flatpack package. And that is a problem since the server wants unique versions.
I'll look into this a bit this evening and see what might be doable here. Perhaps the upstream bot will need a patch to detect a previous version of the same and if it exists add our own dot version incrimenting upwards.
cc @barthalion at least for some awereness here. As one of the maintainers of the bot/flathub may know a solution to this faster than me looking over it.
cc @gasinvein
(Sorry for passing the ball but Filippe does the majority of fedc work these days.)
I think the issue here is that flatpak-external-data-checker adds a release entry into appdata despite the version didn't change. The tricky part is that we don't keep record of current version, and, thus, will have to either compare urls or peek into the appdata file to check if the "new" version is already there.
In any case, please file a bug to https://github.com/flathub/flatpak-external-data-checker/issues to keep track of this.
Proposed a fix flathub/flatpak-external-data-checker#139, review welcome.
Whoops, I completely forgot about this over the weekend.
Yea that fix looks like exactly what we need, just adding an extra revision to the version number. Thank you!
I don't think we should increment version in appdata release when there is no new upstream versions. Besides, updating .deb without release bump is just wrong, upstream shouldn't be doing this in the first place.
Yea I may have misread the code. The last commit for this version worked though and didn't add another incriment.
upstream shouldn't be doing this in the first place
Well, I'd love for someone to inform Jagex of how to properly develop and distribute software. But they're very keen on not listening. So we just need to do the best we can around it.
Why do you even want a release counter in the appdata? It's for informational purposes anyway, appdata releases don't affect the way how flatpaks are updated.
To be honest, I don't care as long as the automated builds work.
(This pull request was automatically generated by flathub/flatpak-external-data-checker. Please contact or mention
@barthalion
or@wjt
if you have any questions or complaints.)