Replies: 4 comments 9 replies
-
|
Thanks for catching this. You are right: the v0.9.9 FOSS APK currently attached to the release was not built from the v0.9.9 tag. I made a mistake after finding that the tagged FOSS build had a crash: I patched the FOSS build on main and uploaded the APK from the successful GitHub Actions run at 0a56f35 onto the existing v0.9.9 release. The v0.9.9 tag itself points at 857233d, so that asset is not reproducible from the tagged source. I should not have replaced a release APK with an artifact from a later commit. Please skip/mark v0.9.9 as failed for IzzyOnDroid reproducible-build distribution. I will treat v0.9.9 FOSS as superseded and make sure the next public FOSS APK is built from the exact tag it is released under. No build recipe adjustment is needed for v0.9.9; it should be skipped. Sorry for the trouble, and thanks for holding the result while checking this. |
Beta Was this translation helpful? Give feedback.
-
Yupp. Correct approach would have been adding a newer maintenance release (with versionCode increased, and versionName reflecting that – e.g. making it v0.9.9.1; though semantic versioning only has
As the release was already published, this leaves 2 options then:
Which variant shall we take?
Good to know! Please let me know in case this should change. Further, it might be a good idea to move those "embedded scripts" into "scripts stored in the git repo", which are then called: from your GitHub action, as well as by our recipe. That way, when you need to make adjustments (then inside the scripts), those adjustments would automatically be reflected by our build. Candidates for this:
Probably also the rather large Sign FOSS APK with release key and the following "Verify FOSS permission cleanup", to make the workflow easier to read – but that would not be something someone else would need to call anyway. So please let me know if we should "pull out" v0.9.9 – or keep it marked "failed". |
Beta Was this translation helpful? Give feedback.
-
Thought so. Update running as I write this.
Nope, no need. The APK is no longer there, so none of our updater will find it. As the APK was present in our repo, even just for a few ours, it's recorded with our "binary transparency log", though. That can't be helped, as (like our RBs), that log is append-only.
We're all constantly learning 😉 So please keep this idea should a comparable situation come up in the future.
Nope, as we don't even have it 🙈
🤗
Thanks! I've added a If you can drop me a note here once that release is up, it would be appreciated 🤗 OK, meanwhile the index update is through, and the sync has started: 0.9.9 will now be replaced by 0.9.8 (until the next release becomes available). … Finished, it's replaced now. Secondary mirrors might take a little longer (they pull at timed events), though – primaries already got it (pushed). |
Beta Was this translation helpful? Give feedback.
-
|
@IzzySoft v0.9.10 is released now: https://github.com/dongdongbh/Mindwtr/releases/tag/v0.9.10 The corrected For the reproducible-build recipe, please use the versioned repo scripts in this order: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure what the APK was built from – but seems it was neither from the tagged commit – nor from the one that followed, but seems to have been between the two. Your APK contains a
which was only added with the commit following the tagged one – but building from that commit, failed entirely:
So we have to declare this release "failed" at IzzyOndroid, sorry. Please make sure to always build from a clean tree at the tagged commit.
I still wonder how such a thing can happen when using a GitHub Action, which should always make a clean checkout at a commit – and the embedded path in your APK seems to indicate it indeed WAS built using a GHA. But differences are quite a few between our builds of this release… Did something change in the build recipe? A quick check:
But that seems to be mostly it. As whenever you change your GHA, we have to adjust – maybe you'd consider putting your embedded scripts into
*.shfiles to be executed, so we could call those? Then any changes you apply to those scripts, would also automatically be reflected at our side.So please let us know if we have to adjust our build recipe – ideally before the next release fails as well.
Thanks in advance!
Ah, there we go. The release build must have been made by this action, which was run on commit 0a56f35 – while the release points to 857233d (but then, there were changes to your GHA, so no need that I try that again).
OK, I hold back the results for 24h in the hope you can tell us what to update in our recipe to match your build:
Beta Was this translation helpful? Give feedback.
All reactions