1000 Commits
Author SHA1 Message Date
Robert Dower a74ece1c37 archive repository 2025-08-07 14:08:01 -07:00
William Douglas f2965d95d3 Version update
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.4.1
2025-05-01 13:15:27 -07:00
William Douglas 3b5d8e089c Improve manifest include subtraction
Instead of giving up on directory subtraction entirely, try to
subtract directories that are in an included manifest *and* do not
have a non-directory file somewhere in their path.

For example:

bundle1:
/dir/file

bundle2: includes bundle1
/dir

In this case /dir would be subtracted from bundle2.

Also add a special case for subtracting directories if they are in
os-core as this reduces a lot of unused content from a bundle's
manifest.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-05-01 11:51:54 -07:00
William Douglas 1252267078 Avoid defining chrootDir in a loop
Variable doesn't need to be redefined each iteration, declare it
outside the loop.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-05-01 11:51:54 -07:00
William Douglas e5e00e3739 Update version
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.4.0
2025-04-25 12:02:57 -07:00
William Douglas 36e82f7503 Re-vendor prior to release
Signed-off-by: William Douglas <william.douglas@intel.com>
2025-04-25 11:59:58 -07:00
William Douglas b452dd935c Add support for package bundles
Add package level bundles "pundles" first class support in mixer. This
involves tagging pundles with "pundle" in the bundle definition file's
"MAINTAINER" field.

This support requires changes to bundle constraints, primarily that
cycles are now allowed in bundle includes. As part of this, directory
subtraction will no longer be done for includes as the true directory
owner isn't something that can be decided on in a cycle.

Validation also needed a slight adjustment for pundles to reflect
their minimal bundle definition files.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-04-25 11:30:00 -07:00
William Douglas e5966cbe5a Identify manifest in logging
Improve the usability of log messages by indicating which manifest is
invalid when printing errors.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-04-25 11:30:00 -07:00
William Douglas 4d475a28b8 Relax bundle name requirements
Both '.' and '+' are valid names for bundles for swupd-client. In
order to use package names, mixer-tools also needs to allow these
characters.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-04-25 11:30:00 -07:00
William Douglas fbd41acd34 Rename rst2man.py to rst2man
The package has been rst2man for long enough, switch the Makefile to
use the "new" name.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-08 11:39:31 -08:00
William Douglas 64927105bf Update version
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.3.5
2025-01-06 15:54:07 -08:00
William Douglas f2f59a2583 Re-vendor prior to release
Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-06 15:52:00 -08:00
William Douglas 5ddfb0d0b7 Use mixer-ci from ghcr.io
Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-06 15:03:08 -08:00
William Douglas 4eba5e1528 Limit the amount of certain modifiers in packs
Systems using certain modifiers are currently not used as frequently
so in order to reduce pack size and improve update times skip those
modifiers from being considered for packs.

Currently the SSE version is skipped when either AVX2 or AVX512
versions exist and APX is always skipped.

This change does not apply to 0 packs as it would break installer
offline support.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-06 15:03:08 -08:00
William Douglas 8faa776067 Add missing SSE modifier mappings
These were unintentionally left out and while unlikely to be used
should be included for correctness.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-06 15:03:08 -08:00
Chris c0f7a3cd6d Update README.md 2024-03-14 15:26:37 -07:00
William Douglas 48cff096c7 Add security reporting information
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-02-29 12:39:27 -08:00
William Douglas 08d44370bf Add permissions for CI test github action
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-02-29 12:39:27 -08:00
William Douglas deb2af0ba1 Update version
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.3.4
2024-02-15 11:59:45 -08:00
William Douglas a74a26a35a Update go version and re-vendor
Move to go version to 1.21 (1.22 is still early and 1.21 has a long
chain of stable releases).

Also update dependencies to latest their versions.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-02-15 11:48:22 -08:00
William Douglas f32cee122c Update version and re-vendor
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.3.0
2024-01-30 12:24:16 -08:00
William Douglas fed41241ec Add more details for how to make a release
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 12:22:35 -08:00
William Douglas e514207dcc Add special handling for installing linter in CI
Don't download the linter unless a special CI env setting is set. Also
use a different cache to avoid permissions issues with the rootfs in
CI.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas bb53ba0046 Use /VA instead of /V5 for the APX prefix
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas 66e4b93a05 Update golangci-lint version to latest
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas 8031794511 Fix remaining two logic lints
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas 04eee0d0bb Mass lint cleanups
Two left over that are logic changes to be addressed in the next
commit.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas d5203aaad0 Update vendor prior to release
Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas 671732bb24 Add APX support
Add support for new APX optimization level using the /V5 prefix.

Signed-off-by: William Douglas <william.douglas@intel.com>
2024-01-30 11:42:32 -08:00
William Douglas c4551f41fa Update vendor prior to release
Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.20
2023-05-30 13:13:33 -07:00
William Douglas a84c256962 Improve testing for linkPeersAndChange
Add cases for optimization prefixes being changed and directories with
optimizations being skipped.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-05-30 12:36:02 -07:00
William Douglas ebeb309042 Ignore directories with optimization prefixes for delta peers
When considering delta peer matches, skip any directory with an
optimization prefix for consideration. The the directories are not
intended to be different between optimization versions.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-05-30 12:36:02 -07:00
William Douglas 481f2fba6f Fix log message
Correct message to indicate SSE file is missing.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-05-17 10:03:34 -07:00
William Douglas 8f780e857e Release v6.2.19
- Add linking for optimized prefixes

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.19
2023-04-24 23:58:10 -07:00
William Douglas 9beba01847 Add linking for optimized prefixes
The optimized prefix doesn't set Misc flags until the last moment
during manifest writing so ignore the flags when testing for peers
when a prefix is in place.

Also improve some comments and test cases.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-24 23:50:24 -07:00
William Douglas 13ae57f90c Release v6.2.18
- Reset prefix after manifest is written

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.18
2023-04-24 15:02:43 -07:00
William Douglas 0cf23ce610 Reset prefix after manifest is written
As other mixer processes might use the manifests after they are
written, reset the path to include the prefix once the manifest write
is complete.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-24 14:57:48 -07:00
William Douglas 06eb7afb79 Release v6.2.17
Reset name from manifest based on modifiers

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.17
2023-04-24 07:39:00 -07:00
William Douglas 244c9fb554 Reset name from manifest based on modifiers
If the modifiers of a file indicate it came from a chroot path, reset
the filename to use the chroot path when reading the file information
from a manifest.

Also ensure the only case files are marked as deleted is when it is
the SSE file. Other optimized files marked as deleted will be skipped
from being output in the manifest (and if the delete is new, the other
files with the same post processed path will be marked as new in the
version being built to ensure the deleted file is replaced).

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-24 07:33:45 -07:00
William Douglas 699bf8c86d Release v6.2.16
Fix file sorting order for manfiests

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.16
2023-04-19 10:44:51 -07:00
William Douglas 05fff65f3e Use sort with version in setupModifiers
The codebase uses sortFilesVersionName prior to writing out manifests
and that should be used in setupModifiers as well.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-19 10:39:33 -07:00
William Douglas 50604c4cd0 Release v6.2.15
- Enable multiple files for the same path

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.15
2023-04-17 09:31:30 -07:00
William Douglas 77f4e3e62a Update release process
Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-14 15:38:53 -07:00
William Douglas d205de44ba Update vendor dependencies
Requires updating minimum go version to 1.18

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-14 15:38:53 -07:00
William Douglas 9d2f3a0f0c Update generation code for modifierMasks and reformat 2023-04-14 15:38:53 -07:00
William Douglas 0a7f6068e1 Enable multiple versions of the same path
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.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-04-12 11:55:05 -07:00
William Douglas 3bdb46aaa4 Add release process documentation 2022-11-09 08:43:23 -08:00
William Douglas 1f9f6a73b0 Release v6.2.14
Add support for hex renames to mixer

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.14
2022-09-06 14:13:44 -07:00
Arjan van de Ven 21a6cc2932 Add support for hex renames to mixer
Sometimes (like hex coded license files) there's value in not only ignoring digits
for detecting renames, but also ignoring a-f to deal with hex mismatches
2022-09-06 11:58:38 -07:00
Arjan van de Ven 10a5a75737 fix testcases v6.2.13 2022-09-02 09:14:50 -07:00