Opened 15 years ago

Closed 14 years ago

#4736 closed enhancement (fixed)

Use of 7zip to provide nightly images

Reported by: westor Owned by: haiku-web
Priority: normal Milestone: R1
Component: Website Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

It would be nice to use 7zip instead of zip to distribute the nightly builds. I tried compressing the image: haiku-nightly-hrev33465-x86gcc4hybrid-vmware.zip (110MB) using 7zip and the result has only (59.8 MB).

Regards.-

Attachments (2)

captura-haiku.bmp (101.5 KB ) - added by westor 15 years ago.
size-comparison.JPG (39.9 KB ) - added by westor 15 years ago.
Sizes comparison using zip and 7z formats

Download all attachments as: .zip

Change History (8)

by westor, 15 years ago

Attachment: captura-haiku.bmp added

comment:1 by devine, 15 years ago

The reason this was not done initially was because there is accessibility issues with 7zip. A normal .zip file presents a low barrier of entry for users of all experience on all platforms. Using bz2 would be fine for users on Unix-like OSes but I doubt that many Windows folk have ever seen that file type.

On the other hand, the compression is really awesome!

Perhaps the barrier can be lowered by making it very clear in multiple places that 7zip is open source (free) and can be downloaded via a link. A test could be performed with fairly computer illiterate users to determine the viability.

comment:2 by westor, 15 years ago

It should be easy to put a link to 7zip home page on haiku-files.org with the corresponding aclaration that it is free, open source and is already ported to most OSes ( including Haiku =) )

Anyway I'll try to make a more formal analysis on expected compression gain.

Regards.-

by westor, 15 years ago

Attachment: size-comparison.JPG added

Sizes comparison using zip and 7z formats

comment:3 by westor, 15 years ago

Good news, here are the results:

Sizes comparison using zip and 7z formats

7z shows an expected reduction that rounds 45.61 percent in comparison with zip format.

Regards.-

comment:4 by mmadia, 15 years ago

Component: - GeneralWebsite
Owner: changed from nobody to haiku-web

comment:5 by mmadia, 15 years ago

Build-O-Matic is capable of providing the same image file as one or more archive formats. The implementation is flexible and allows the builder to specify the compression binaries, options, and extension inside an archivers.xml data file. Then each jam target is capable of specifying which of the available formats to use for compressing itself. My only concern is the additional disk consumption on HaikuFiles. Currently, 97G + 97G + 60G are being used for raw/, vmware/ & cd/ respectively.

comment:6 by mmadia, 14 years ago

Resolution: fixed
Status: newclosed

For some months, nightly images are provided in zip and tar.xz

Note: See TracTickets for help on using tickets.