mixer-tools icon indicating copy to clipboard operation
mixer-tools copied to clipboard

Enhancement: Add --last-ver command line option for mixer init

Open gtkramer opened this issue 5 years ago • 2 comments

DevOps needs to know about the internals of mixer in order to keep it's operations running when things go wrong. If a build is bad and cannot be used in the update chain for swupd for whatever reason, DevOps currently writes to the LAST_VER file manually with an echo with the proper build that needs to be here. In favor of passing more options at the command line, this LAST_VER should be another option that can be passed during mixer init, just as format can, so that mixer.state is always created correctly prior to starting the mix.

gtkramer avatar May 15 '19 19:05 gtkramer

Today, this prints the following messages:

$ mixer build update --offline --config /home/clrbuilder/projects/clr-release-tools/chroots/builder.conf --min-version 29750 --format 28 --no-publish --no-signing --native
Warning: Using PREVIOUS_MIX_VERSION default value

It would be beneficial to have a command line option that defined this value, removing the need to warn how mixer.state is managed.

gtkramer avatar Jul 24 '19 17:07 gtkramer

Would be obsoleted with a CLI design similar to #627

gtkramer avatar Oct 30 '19 17:10 gtkramer