sp-variant updates in 2021
2.1.1 - 2021-12-18
Fixes
All: making sure all the implementations output the same thing for
command run package.list_all.Rust: fixed a command.run bug: do not output the command to run, the tools that invoke
storpool_variantmay use its output!
Other changes
All: added two-clause BSD licenses to all the source files.
Python: dropped a “type: ignore” comment and bumped the
mypyversion used for the test suite to 0.920.Rust: Code clean-up:
Dropped an unused internal
urlfield.Simplified a double match.
Using
.find_map()instead of re-implementing it.Streamlined
yai::parse().
2.1.0 - 2021-11-15
All: on RedHat-derived distributions, the
package.list_allcommand now displays the full epoch:version-release (EVR) string instead of only the version component.All: added support for Ubuntu 21.10 (
Impish Indri).
2.0.0 - 2021-10-24
Incompatible changes
Rust: changed the return type of get_program_version() and get_program_version_from() from String to &str.
Fixes
All: installed (or updated as necessary) the
ca-certificatespackage on RedHat-derived distributions, too, to take care of the Let’s Encrypt certificate expiration debacle.Python: fixed the program name in the usage message of the
sp_variantandsp_build_repotools.build-repo: using
trivverto sortDEBIAN9beforeDEBIAN10.test-docker: running
apt-get updateif necessary.
Additions
All: added a
descrfield to the variant containing a brief human-readable name/description.sh: installing ourselves as
/usr/sbin/sp_variantinrepo addso that other programs may use this helper.Rust: using the new
Variant.descrfield in the documentation.
Other changes
Rust:
Auto-generating the
VariantKindenum.Making the
sp_variant::datamodule private.Created the variants’ data structure directly, do not decode a JSON document.
test-docker:
Added the
-ioption to limit the images to run on.Showing the containers’ output continually.
1.3.0 - 2021-09-15
Started. First public release.