Rebundling the whole 8.0a10 release on build-sunet-a.torproject.net is taking ~ 12 hours.
I think one part that is taking a lot of time is the creation of the mar/tar.xz/dmg/exe files of the bundles in all the languages, which is done sequentially, with the mar/tar/dmg/nsis tools probably using only one thread. We could probably make that part faster by generating multiple locales in parallel.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
With this patch, instead of directly generating the bundles, we instead create one separate script to generate the bundle for each locale, and use run_scripts to run those scripts in parallel.
I compared the time to re-bundle an alpha with and without this patch on my build machine:
linux-x86_64. Without patch: 1:23:46 With patch: 22:25
linux-i686. Without patch: 1:27:57 With patch: 23:00
windows-x86_64. Without patch: 57:57 With patch: 17:04
windows-i686. Without patch: 1:02:18 With patch: 18:41
osx-x86_64. Without patch: 34:10 With patch: 11:28
So the total rebundle time without this patch was 5 hours and 23 minutes, and it was 1 hour 31 minutes with the patch.
I also compared the build output from this branch and current master. The result was the same, except for the en-US Windows installer, because it included the fix for #28002 (moved). I will now do a build with only the patch for #28002 (moved) to check that I get the same en-US bundle.
Trac: Keywords: boklm201809, TorBrowserTeam201810 deleted, boklm201810, TorBrowserTeam201810R added Status: new to needs_review
One nit in the commit message: s/parrallel/parallel.
Which branch are you looking at? There was this typo in bug_27218_v2, but it should already be fixed in bug_27218_v3 and bug_27218_v4.
Right, I was still looking at bug_27218_v2, thanks. I merged bug_27218_v4 to master (commit d0bd427db75d980be121b12f30f59f18c4e47325). Let's test it in the next alpha and apply it potentially to our stable branch as well later on.