Skip to content

libmodulemd 2.8.0

Compare
Choose a tag to compare
@sgallagher sgallagher released this 04 Sep 01:50
· 198 commits to master since this release
libmodulemd-2.8.0
7cd5256

Highlights

API Changes

  • Add Modulemd.Module.get_translation() - Retrieve the translations associated with a Modulemd.Module
  • Add ModuleIndex.update_from_defaults_directory() - Import defaults from a directory of yaml documents, such as fedora-module-defaults, optionally providing a second path containing overrides.

Enhancements

  • Modulemd.ModuleIndex.update_from_file() now supports reading files compressed with gzip, bzip2 or xz. (Issue: #208). See "Packaging Changes" for additional details.
  • Documentation updates

Bugfixes

Assorted minor issues discovered by static analysis tools.

Packaging Changes

  • Now requires librpmio to enable compressed file support. If you do not have librpmio available on your platform, pass -Drpmio=disabled to the meson configuration step to disable it.
  • Now requires libmagic (part of the file package on most distributions) for enhanced auto-detection of compressed file support. If libmagic is unavailable, pass -Dmagic=disabled to the meson configuration step to disable it. Auto-detection will be limited to filename suffix if libmagic is unavailable.

Changelog

Merlin Mathesius (2):

  • A final batch of documentation updates for private functions.
  • Refactor stream copy/upgrade helper macros. Another final batch of documentation updates for private functions.

Stephen Gallagher (16):

  • Bump version to 2.7.1dev
  • Make Module.get_translation() public
  • Bump version to 2.8.0
  • Valgrind: Don't rebuild tests before running
  • Add helpers for reading compressed files
  • ModuleIndex: add compressed file loading support
  • Add debugging information to the Coverity scan
  • Add ModuleIndex.update_from_defaults_directory()
  • Revert "Add debugging information to the Coverity scan"
  • Temporarily switch Coverity to F30
  • Coverity: Fix Dockerfile FROM
  • TESTS: Check a return value
  • Compression: Handle a failed dup()
  • Compression: don't leak file descriptors on error
  • Compression: Fix incorrect pointer comparison
  • Coverity: work around "copy-paste" false positive