Commit Graph

140 Commits

Author SHA1 Message Date
Stephen Gallagher
17fc7849e2
[packit] 2.9.1 upstream release
Upstream tag: libmodulemd-2.9.1
Upstream commit: b78d1baa

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-14 12:45:13 -05:00
Stephen Gallagher
26c80918da
Don't break tests on systems without py2
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-14 12:40:11 -05:00
Stephen Gallagher
217e04a860
Fix release field
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-12 22:00:06 -05:00
Stephen Gallagher
0cc560d9a9
2.9.0 upstream release
Upstream tag: libmodulemd-2.9.0
Upstream commit: af8f03df

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-02-12 17:58:03 -05:00
Fedora Release Engineering
4c5612dd02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 09:45:21 +00:00
Stephen Gallagher
eb1c39db8a
Update to 2.8.3
Fix compilation issue with glib >= 2.63.3
Improved modulemd document validation
Numerous test enhancements

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-09 12:31:12 -05:00
Stephen Gallagher
abb5f5424a
Update to 2.8.2
Use safer version of dup()
Fix loading of YAML module stream with no module or stream name

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-10-24 14:52:19 -04:00
Stephen Gallagher
8122fb9a17
Add source tarball
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-10-15 11:18:52 -04:00
Stephen Gallagher
f2978a99c7
Improve the merge logic to handle third-party repos more sanely
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-10-15 11:08:27 -04:00
Stephen Gallagher
2e530f24c2
Improvements to ModuleIndex.update_from_defaults_directory()
* 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>
2019-09-18 16:01:18 -04:00
Stephen Gallagher
8daa4da18f
Update to 2.8.0
- 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>
2019-09-03 22:02:07 -04:00
Miro Hrončok
26e12907ca Rebuilt for Python 3.8 2019-08-19 08:49:36 +02:00
Stephen Gallagher
ac46535dd4
Add missing BuildRequires
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-08-15 08:31:39 -04:00
Stephen Gallagher
d99905d75c
Update to 2.7.0
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>
2019-08-15 08:20:20 -04:00
Fedora Release Engineering
478cf914f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 13:49:02 +00:00
Stephen Gallagher
82042cbbaf
Update to 2.6.0
- 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>
2019-07-03 16:33:18 -04:00
Stephen Gallagher
9ada74e700
Fix memory issue with Module.search_streams() in the python bindings
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-05-29 16:34:18 -04:00
Stephen Gallagher
fef22fef99
Update to 2.5.0 and 1.8.11
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>
2019-05-22 16:58:45 -04:00
Stephen Gallagher
7bd30467bd
Update to 2.4.0 and 1.8.10
- 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>
2019-05-13 10:04:26 -04:00
Stephen Gallagher
dc05c6f9b8
Update to 2.3.1
- Make Modulemd.Component.set_*() functions accept NULL
- Fix segmentation fault in XMD code due to improper memory management
- Fix incompatibility in python2-libmodulemd GObject overrides
- Fix assorted documentation issues

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-05-03 08:34:29 -04:00
Stephen Gallagher
7270c6bae7
Update to 2.3.0
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>
2019-04-22 20:34:38 -04:00
Adam Williamson
1f307b7efe Rebuild with Meson fix for #1699099 2019-04-16 11:40:51 -07:00
Stephen Gallagher
49160525f2
Fix accidental ABI break
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-04-03 08:57:29 -04:00
Stephen Gallagher
a0feddd7a1
Update to 2.2.3 and 1.8.6
Fix header issue with ModulemdRpmMapEntry

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-04-01 14:07:40 -04:00
Stephen Gallagher
cf16e8f73e
Don't run tests on armv7hl/aarch64 since they have timeout problems
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-27 15:07:46 -04:00
Stephen Gallagher
a1c7344d3a
Update to libmodulemd 2.2.2
* Add support for python2 on RHEL and Fedora < 31
* Make python subpackages archful for GObject overrides

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-27 14:45:34 -04:00
Stephen Gallagher
ae46f72052
Fix meson buildrequires
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-27 09:21:18 -04:00
Stephen Gallagher
f534272830
Update to libmodulemd 2.2.1
* Fixes builds on i686
* Fixes an accidental API error

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-26 20:50:22 -04:00
Stephen Gallagher
7dd607862f
Update to libmodulemd 2.2.0
* 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>
2019-03-26 13:52:54 -04:00
Stephen Gallagher
3f8ef7d467
Don't run tests on 32-bit ARM due to performance issues causing timeouts
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-01 10:35:42 -05:00
Stephen Gallagher
6d5b8af223
Have python3-libmodulemd1 properly Obsolete libmodulemd and python3-libmodulemd < 2.
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-01 08:26:05 -05:00
Fedora Release Engineering
1203515971 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:40:05 +00:00
Stephen Gallagher
ed17745b6d
Update to libmodulemd 2.1.0 and 1.8.2
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>
2019-01-26 16:00:32 -05:00
Stephen Gallagher
fbc6b4e257
Fix ordering issue with dependencies
Use glib2 suppression file when running valgrind tests

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-01-11 11:27:51 -05:00
Stephen Gallagher
ac437b4983
Fix issue reading modified value for defaults from YAML streams
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-01-11 10:58:24 -05:00
Stephen Gallagher
dd26c4a31a
Update to 2.0.0 final
- 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>
2018-12-13 11:53:20 -05:00
Stephen Gallagher
88a95b7d8e
Don't run valgrind on s390x
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-12-12 08:30:50 -05:00
Stephen Gallagher
5500b7840f
Update to 2.0.0beta2
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-12-12 07:57:00 -05:00
Stephen Gallagher
2b8d40048d
Change name of unittest to work around OSCI bug
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-10-29 09:08:17 -04:00
Miroslav Vadkerti
d9049f9b65 Add tests running bundled tests in source
In Standard Test Interface format.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2018-10-26 20:18:23 +02:00
Stephen Gallagher
61b348a792
Update to 1.7.0
* 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>
2018-10-26 11:44:28 -04:00
Stephen Gallagher
34765fc27d
Create python subpackage
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-09-24 15:29:54 -04:00
Stephen Gallagher
d4158e4c0b
Update to 1.6.4.
- Add Buildopts to the documentation.
- Deduplicate module streams when merging.
- Drop upstreamed patches.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-09-18 16:03:30 -04:00
Stephen Gallagher
adb02d1ef8
Bugfix update
- Fix generation of module component YAML
- Output NSVC information using decimal version

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-09-06 13:15:16 -04:00
Stephen Gallagher
b262479727
Drop unused patch
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-09-06 13:13:28 -04:00
Stephen Gallagher
c23897b7a7
Update to 1.6.3
* 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>
2018-09-04 21:11:39 -04:00
Stephen Gallagher
f37170d3f6
Fix backwards-incompatible API change
Resolves: rhbz#1607083
2018-08-09 06:06:30 -04:00
Stephen Gallagher
9f23a9bf75
Update to 1.6.2
Make buildorder a signed integer to match modulemd specification

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-08-07 23:36:42 -04:00
Igor Gnatenko
371a683fc5
Obsolete unsupported pythonX-modulemd packages
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>
2018-07-23 09:44:17 -04:00
Igor Gnatenko
8b33224e80
Obsolete unsupported pythonX-modulemd packages
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>
2018-07-23 09:42:12 -04:00