Switch updater/MAR to LZMA compression #1859

Closed
opened 1 year ago by Moonchild · 1 comments
Owner

To considerably save bandwidth for everyone, switching to LZMA-compressed MAR updater archives is the way to go.

This will be using our embedded xz library

  • Update xz-embedded version
  • Update xz-embedded build configuration to build it as a static lib for updater use
  • Switch the updater to use xz decompression instead of bz2
  • Update MAR generation scripts to use xz instead of bzip2 by default, but keep bzip2 as an option (so that both versions can be built for the transitional period)
  • Update unwrapping script to handle xz-compressed MARs
  • (external task) Update the AUS server script to handle MAR selection based on requesting application version.
  • Make sure the xz decompression lib is built when the updater is built.
To considerably save bandwidth for everyone, switching to LZMA-compressed MAR updater archives is the way to go. This will be using our embedded xz library - [x] Update xz-embedded version - [x] Update xz-embedded build configuration to build it as a static lib for updater use - [x] Switch the updater to use xz decompression instead of bz2 - [x] Update MAR generation scripts to use xz instead of bzip2 by default, but keep bzip2 as an option (so that both versions can be built for the transitional period) - [x] Update unwrapping script to handle xz-compressed MARs - [x] (external task) Update the AUS server script to handle MAR selection based on requesting application version. - [x] Make sure the xz decompression lib is built when the updater is built.
Poster
Owner

Leveraged the test server to verify the update process with xz-compressed MARs succeeds.
All looks good, merged and closing.

Leveraged the test server to verify the update process with xz-compressed MARs succeeds. All looks good, merged and closing.
Moonchild closed this issue 1 year ago
Moonchild added the
Fixed
Verified
labels 1 year ago
Moonchild added this to the 31.0.0 milestone 1 year ago
Moonchild self-assigned this 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonchildProductions/UXP#1859
Loading…
There is no content yet.