982 Commits
Author SHA1 Message Date
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
Arjan van de Ven d8f5c2736b fix testcases 2022-09-02 09:14:50 -07:00
Arjan van de Ven 74492c7e6e fix testcases 2022-09-02 09:14:50 -07:00
Arjan van de Ven 10fcaaa9d7 Pin the from/to versions in the delta filename
in https://github.com/clearlinux/mixer-tools/issues/782 a funky issue is found where
we do not use the right versions for delta files in some cases.

A full fix is complicated, but the client IGNORES the versions! so we can just hardcode
the versions to anything (10 and 20 here) and it'll suddenly resolve itself
2022-09-02 09:14:50 -07:00
William Douglas fa045a3c28 Release v6.2.12
Revert "skip pure renames"

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.12
2022-09-01 11:53:38 -07:00
Arjan van de Ven 417de44eec Revert "skip pure renames"
this is triggering a client bug; lets revert until we get to the bottom of that

This reverts commit 73bf833128.
2022-08-31 15:55:14 -07:00
William Douglas 8e8ba2d8e3 Release v6.2.11
* Skip pure renames for deltas

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.11
2022-08-30 15:22:21 -07:00
Arjan van de Ven 73bf833128 skip pure renames 2022-08-30 15:19:39 -07:00
William Douglas 762d413849 Release v6.2.10
* Resolve issue of missing files in packs

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.10
2022-08-30 11:24:39 -07:00
Arjan van de Ven 10d8912e4f fix missing files in packs
we need to not return "nil" if a delta file is missing, because that causes the caller
to not use the fallback option (which would include the full file)...
and we need the fallback option to have a complete pack

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
2022-08-30 11:19:02 -07:00
William Douglas f6434635ad Release 6.2.9
* Fix handling of logfile option

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.9
2022-08-26 16:07:27 -07:00
Patrick McCarty 0cf05bafc7 Fix setting of log location with custom config
When mixer's -c/--config option was used, the referenced config was read
too late to set a default log location. As a result, the log location
was always set to the empty string (disabling logging), that is, unless
--log VALUE was specified, or if mixer's current working directory
contained a builder.conf with LOG defined.

The root cause of this bug is an order-of-operations issue with cobra
integration; fix the issue by setting the log location in
PersistentPreRunE() instead of init(), ensuring that the command line
arguments have been processed, with `configFile` being set to the
-c/--config value if specified.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2022-08-26 16:04:05 -07:00
William Douglas bc89ea4915 Release v6.2.8
* Revert no longer necessary delta skipping

Signed-off-by: William Douglas <william.douglas@intel.com>
v6.2.8
2022-08-09 09:44:39 -07:00
William Douglas 15ea3ace91 Revert "skip delta files for /usr/bin and /usr/lib64 due to our avx2 fallout"
This reverts commit 4c115e5a3e.

With content changes so that the /usr/bin and /usr/lib64 files should
still exist even using optimized libs this is no longer needed.

Signed-off-by: William Douglas <william.douglas@intel.com>
2022-08-09 09:42:05 -07:00
William Douglas b86b34be29 Version bump v6.2.7 2022-08-08 16:28:54 -07:00
Patrick McCarty d9bad0621d Revert "builder: Add a bundle's packages as the content to the tracking file"
This change has proven to cause unnecessary churn for the bundle
tracking files when their contents ended up not being consumed by any
tools.

This reverts commit 6f840d712e.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2022-08-08 16:08:46 -07:00
Patrick McCarty 436d5188c4 Merge tag 'refs/tags/v6.2.6' 2022-08-08 17:48:59 +00:00
Arjan van de Ven 4c115e5a3e skip delta files for /usr/bin and /usr/lib64 due to our avx2 fallout v6.2.6 2021-11-04 16:36:14 +00:00
Arjan van de Ven 3aa920aac4 skip delta files for /usr/bin and /usr/lib64 due to our avx2 fallout 2021-11-04 09:23:49 -07:00