clearlinux / mixer-tools

Software update mixer and related tools
Apache License 2.0
28 stars 37 forks source link

[WIP]: Enable multiple versions of the same path #785

Closed bryteise closed 1 year ago

bryteise commented 1 year ago

This change allows for a chroot with specific versioned content with matching optimization levels to be added and accounted for. The paths will be stripped of a version prefix (currently /V3 or /V4) and the file's Modifier will be setup accordingly. The modifier will then be updated to reflect the optimization level of the file and the total optimization of any file with the same path.

With this change the previous Modifier setting has been revamped and the old 'C', 'b' and 's' fields will be ignored. The 'b' posed a slight problem that needed to be accounted for with how ghosted files are detected and this has been done through looking only at the files path.