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>
Adds support for "intents" in Modulemd.Defaults
Adds `Modulemd.get_version()`
Adds support for RPM whitelists in the buildopts
Adds a new object: Modulemd.Buildopts
Deprecates Modulemd.Module.get_rpm_buildopts()
Deprecates Modulemd.Module.set_rpm_buildopts()
Fixes some missing license blurbs
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Adds new API for returning failed YAML subdocuments
Stop emitting log messages by default (polluting consumer logs)
Validate RPM artifacts for proper NEVRA format
Improve the validator tool
Drop upstreamed patch
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
New Public Objects:
* Modulemd.Prioritizer tool to merge module defaults
New Public Functions:
* Modulemd.SimpleSet.is_equal()
* Modulemd.Defaults.copy()
* Modulemd.Defaults.merge()
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Adds support for handling modulemd-defaults YAML documents
- Adds peek()/dup() routines to all object properties
- Adds Modulemd.Module.dup_nsvc() to retrieve the canonical form of the unique module identifier.
- Adds support for boolean types in the XMD section
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>
- RPM components are properly emitted when no module components exist
- Parser works around late determination of modulemd version
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
- Add tool to do quick validation of modulemd
- Fix memory management
- Warn and ignore unparseable sub-documents in the YAML
- Fix several memory issues detected by Coverity scan
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>