* Import each file in the directory as a merge rather than an overwrite so
we can detect conflicts.
* Modify the meaning of the 'strict' argument to fail if the merge would
result in a conflict in the default stream setting of a module.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- 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)
* Documentation updates
- Bugfixes
* Assorted minor issues discovered by static analysis tools.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Drop libmodulemd1 subpackage which is now packaged separately
Add support for 'buildroot' and 'srpm-buildroot' arguments to components
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Update to 2.6.0
- New function ModuleIndexMerger.resolve_ext() allowing for strict merging
- Profile.get_description() now properly returns available translations
- Numerous documentation fixes
- Test improvements
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Ensure that XMD is always emitted in the same order
Add .clear_*() functions for all .add_*() functions
Add ModuleStream.equals()
Add ModuleIndex.get_default_streams()
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Add ModuleStreamV2.clear_dependencies() and .remove_dependencies()
- Fix bugs and memory issues with the XMD python bindings
- Assorted documentation enhancements
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Add ModuleIndex.update_from_custom()
Add ModuleIndex.dump_to_custom()
Add Component.equals()
Add Module.remove_streams_by_NSVCA()
Fix bug with emitting lists of scalars in XMD
Fix bug with deduplication in the ModuleIndexMerger
Fix serious memory leak
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Add support for python2 on RHEL and Fedora < 31
* Make python subpackages archful for GObject overrides
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Support for RPM checksums
* Adds a new directive: "buildafter" for specifying build dependencies
* Adds a new directive: "buildonly" to indicate that a component's built artifacts should be listed in the "filter" field.
* Deprecate lookup functions by NSVC in favor of NSVCA (including the architecture.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Drop upstreamed patches
Add new API ModuleStream.depends_on_stream() and
ModuleStream.build_depends_on_stream() to help support auto-detection of
when a module stream may need to be rebuilt when its dependencies change.
Don't fail merges when default streams differ, treat it as "no default for
this module"
Fix error message
Copy modified value when copying Modulemd.Defaults objects
Fixes discovered by clang and coverity static analysis tools
Test improvements
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Assorted fixes for validation
- Add modulemd-validator tool based on v2 code
- Fix a crash when merging defaults
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Enhance YAML parser for use with `fedmod lint`
* Support running unit tests against installed packages
* Include all NSVCs for ModuleStreams in ImprovedModule
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Add Buildopts to the documentation.
- Deduplicate module streams when merging.
- Drop upstreamed patches.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
* Drop upstreamed patch
* Don't return ModuleStream objects from modulemd_module_new_all_from_*_ext()
* Ensure that Component buildorder property is signed
* Work around optimization bug
* Don't crash dumping translation events without summary or desc
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
libmodulemd is not 1:1 replacement, so not adding Provides.
Acked-by: Petr Šabata <contyk@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
libmodulemd is not 1:1 replacement, so not adding Provides.
Acked-by: Petr Šabata <contyk@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>