You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preserve bundle creation date when creating and applying delta updates (#2583)
This will preserve the file creation date of the new app bundle, but not the file creation date of any of the files inside the new app bundle because tracking those changes is complex/undesirable.
This bumps the major binary delta version to 4. A new test has been added for testing that the new bundle creation date is also preserved.
// Clone commands reference relative file paths in this table but sometimes there may not
885
905
// be an entry if extraction for an original item was skipped. Fill out any missing file path entries.
886
-
// For example, if A.app has Contents/A and B.app has Contents/A and Contents/A and Contents/B,
906
+
// For example, if A.app has Contents/A and B.app has Contents/A and Contents/B,
887
907
// where A and B's contents are the same and A is the same in both apps, normally we would not record Contents/A because its extraction was skipped. However now B is a clone of A so we need a record for A.
// Additional compression methods for version 3 patches that we have for debugging are zlib, bzip2, none
56
-
#defineCOMPRESSION_METHOD_ARGUMENT_DESCRIPTION@"The compression method to use for generating delta updates. Supported methods for version 3 delta files are 'lzma' (best compression, slowest), 'lzfse' (good compression, fast), 'lz4' (worse compression, fastest), and 'default'. Note that version 2 delta files only support 'bzip2', and 'default' so other methods will be ignored if version 2 files are being generated. The 'default' compression for version 3 delta files is currently lzma."
56
+
// Additional compression methods for version 3 or 4 patches that we have for debugging are zlib, bzip2, none
57
+
#defineCOMPRESSION_METHOD_ARGUMENT_DESCRIPTION@"The compression method to use for generating delta updates. Supported methods for version 3 delta files are 'lzma' (best compression, slowest), 'lzfse' (good compression, fast), 'lz4' (worse compression, fastest), and 'default'. Note that version 2 delta files only support 'bzip2', and 'default' so other methods will be ignored if version 2 files are being generated. The 'default' compression for version 3 or 4 delta files is currently lzma."
57
58
58
59
//#define COMPRESSION_LEVEL_ARGUMENT_DESCRIPTION @"The compression level to use for generating delta updates. This only applies if the compression method used is bzip2 which accepts values from 1 - 9. A special value of 0 will use the default compression level."
0 commit comments