Skip to content

Releases: clearlinux/mixer-tools

Release v5.5.0

03 Dec 23:33
Compare
Choose a tag to compare
Release v5.5.0 Pre-release
Pre-release
Release v5.5.0

This release includes the following fixes and additions:
- Fix MoM verification with OpenSSL 1.1 requring a purpose to be passed
- Make --config global
- Break root preRun() into smaller parts, with better & simplified logic
- builder: only check online to update upstreamver
- Removed editor option for bundle edit; simply creates new bundles or
  copies existing ones now
- Added bundle_control unit tests
- Convert to using go mod vendor instead of our full vendor directory
- Enable iterative manifest creation for more optimal update content
  creation
- Misc formatting and error fixes

Release v5.4.0

19 Nov 18:25
Compare
Choose a tag to compare
This release of mixer includes various changes around the entire much of
the code base:
- Mixer uses the log package for warnings and errors throughout the code
  to more properly handle writing to correct streams.
- More BAT tests have been added to expand functional test coverage.
- Many unit tests have been added to start getting better coverage for
  the builder package.
- Builder package was broken up from an almost 3000 line file into
  multiple, logical files that are easier to work with.
- Mixer ignores validation for bundle list so it does not fail to list even
  if there is an invalid bundle.
- Increased bsdiff delta timeout to handle large files which *do* create
  deltas, despite the increase in build time. These are typically large
  GCC files which cannot be stripped at this time.
- The build all command supports --increment now instead of auto
  incrementing the mixversion.
- Format bump process was updated to use a new simplified flow, which
  does not require switching tooling back and forth during the build. This
  process is used to peform both upstream and downstream format bumps
  automatically for the user.
- Build image automatically gets the ister template if it does not exist
  and populates it with the bundles from mixbundles.
- No delta packs are created over format bumps. Minversions should have
  delta packs created over them, but not format bumps because clients
  can't update over bump boundaries.
- Misc bug and code structure fixes.

Release v5.3.0

15 Oct 19:55
Compare
Choose a tag to compare
This release includes the following updates:
- Revert bundles:Update os-release file with mix info
- Add minversion header to MoM
    When the minVersion argument is provided to createManifests
    populate a header in the MoM with this version. If no flag is
    provided and the previous MoM had a minversion set populate the
    new MoM with this version.

    Write the minversion to the manifest header when the minversion
    != 0.  Since we only set minversion for the MoM the minversion
    will only be written to the MoM and not to bundle manifests.
- Fix warnings message in checkNotContains() for helpers_test
- Update comment parsing for package files to ignore # and trim
  white space

Critical Updates:
----------------
* New format bump process script (afb.sh) and test added to describe
the new format bump flow that should be followed. It outlines a much
simpler way to do bumps, and does not require moving back and forth
between formats or tooling.

* Do not update deletes over minversions
    Minversions should not update deleted files to the minversion as
    this may cause swupd to attempt to delete content twice. This
    exacerbates issues where a directory (/usr/local/bin) was
    mistakenly deleted in a version because it was mistakenly added
    earlier. Updating the delete to the minversion then causes the
    directory to be deleted off the client system again.

* Enable backwards compatible build update
    This commit enables mixer to write different manifest formats
    based on the configured format value. When introducing a
    breaking change to a manifest it will be registered with
    the format it requires. Existing template is registered to
    everything through format25 to remain compatible with Clear
    Linux OS format. Everything above the current format gets the
    new template, in this case with the minversion added to the MoM.

    This means that format bumps do not need two different versions
    of mixer installed since it will always know how to build the
    correct format based on the configured value.

Release v5.2.2

28 Sep 03:56
Compare
Choose a tag to compare
This release fixes a couple bugs that block the format bump process:

1) Don't add deleted bundles to MoM
When a bundle gets deleted, its entry still exists in the previous
MoM but it shouldn't exist in the new MoM. Since the deleted bundle
will not exist in the bundle list anymore, it must be also verified
to determined if an missing entry should be propagated to the new MoM.

2) Skip format bump check if running offline.

Release v5.2.1

21 Sep 21:54
Compare
Choose a tag to compare

Bug fixes:

  • Do not user container for build image.
    The build image command cannot run in a container because there are no loopback devices to mount in a container environment. This change forces mixer to run in native mode when build image is called.
  • Revert download timeout to default values.
    The timeout for downloads was causing mixer to fail in slow networks because it was too short. This fix reverts the value back to default.
  • Properly handle upstream URL with subpath.
    Mixer were unable to properly handle downloads when the upstream URL included subpaths since the subpath was discarded. This fix changes the internal algorithm to preserve the subpath.
  • Enforce --Offline flag.
    During mixer initialization, some commands relied on a separate check to determine if an online check was required. This check ignored the value of the --offline check, causing some scenarios where mixer would try to connect even when the flag was set. This fix gives priority to the flag to make sure it is always respected when set.

Release v5.2.0

07 Sep 22:51
Compare
Choose a tag to compare
  • Update os-release file with mix info
  • Add automatic conversion to mix config
  • Remove redundant parsing of config

Release v5.1.4

01 Sep 00:39
Compare
Choose a tag to compare
This release fixes many bugs in the tooling:
- Fix double parsing of the config file
- Do not add default bundles when 'init' called with offline
- Reduce download timeout to 10 seconds instead of 30 on file download
- Improve download upstream error message
- Enforce UTF-8 locale when running DNF commands in mixer
- Ignore possible %ghost files in RPMs
- Fix global --offline usage to completely block all outbound network
  checks on all commands, even when running in container mode
- Fix error in concurrent manifest creation code to properly exit on
  first error hit
- Use --bundle-workers for manifest generation like other commands
- Fix to use passed in minversion for +10 format bump build

Release v5.1.3

24 Aug 07:07
Compare
Choose a tag to compare
This release fixes a race condition when ranging over a syncmap to
add packages to a bundle.

Release v5.1.2

21 Aug 09:12
Compare
Choose a tag to compare
This release fixes mixer to force the runc runtime on docker runs, which
supports host networking.

Release v5.1.1

17 Aug 06:39
Compare
Choose a tag to compare
This release fixes a data race which cause concurrent map read/writes
when resolving packages and bundles. Versioning is also moved into the
Makefile so it does not have to be updated in the source code anymore,
and added at compile time.