Commit Graph

51 Commits

Author SHA1 Message Date
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
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
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
Stephen Gallagher
0aeebdd088
Update to 1.6.1
- Fix header include ordering
- Suppress empty sections from .dump() ordering

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-07-20 12:13:33 -04:00
Stephen Gallagher
aea038eeab
Update to 1.6.0
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-07-18 09:23:39 -04:00
Fedora Release Engineering
5d6ef73e7e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:27:19 +00:00
Stephen Gallagher
7af792aa4a
Update to libdmodulemd 1.5.2
Don't free uninitialized memory

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-06-23 11:14:42 -04:00
Stephen Gallagher
e49fddbf8e
Fix buildopts property not being initialized 2018-06-22 13:42:31 -04:00
Stephen Gallagher
cc3fe7a914
Update to version 1.5.1
Re-enable build-time tests

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-06-19 13:19:08 -04:00
Stephen Gallagher
885344b803
Temporarily disable build-time tests
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-06-18 17:17:38 -04:00
Stephen Gallagher
ad3e170c80
Update to version 1.5.0
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>
2018-06-18 17:06:07 -04:00
Stephen Gallagher
5d8fffea47
Update to version 1.4.1
Improve output from modulemd-validator
Drop upstreamed patches

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-05-08 08:30:22 -04:00
Stephen Gallagher
74f4cd0198
Fix pointer math error
Fix compilation failure in Fedora build system

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-25 14:10:24 -04:00
Stephen Gallagher
b4fe4a807f
Update to version 1.4.0
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>
2018-04-25 13:54:47 -04:00
Stephen Gallagher
25b1c759bb
Fix serious error in modulemd-defaults emitter
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-16 08:37:41 -04:00
Stephen Gallagher
c5ab744c8c
Update to version 1.3.0
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>
2018-04-13 15:18:51 -04:00
Stephen Gallagher
413a53e996
Update to version 1.2.0
New Functions:
  * Modulemd.objects_from_file()
  * Modulemd.objects_from_string()
  * Modulemd.dump()
  * Modulemd.dumps()
  * Modulemd.Defaults.new_from_file()
  * Modulemd.Defaults.new_from_string()
Deprecated Functions:
  * Modulemd.Module.new_all_from_file()
  * Modulemd.Module.new_all_from_file_ext()
  * Modulemd.Module.new_all_from_string()
  * Modulemd.Module.new_all_from_string_ext()
  * Modulemd.Module.dump_all()
  * Modulemd.Module.dumps_all()
Bugfixes
  * Properly use G_BEGIN_DECLS and G_END_DECLS in headers
  * Assorted fixes for memory ownership in GObject Introspection

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-04 09:11:13 -04:00
Stephen Gallagher
a223c7919c
Fix missing G_END_DECL from public headers
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-03-23 12:07:31 -04:00
Stephen Gallagher
ba6750ea21
Fix numerous memory leaks
Drop upstreamed patch

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-03-19 10:13:13 -04:00
Stephen Gallagher
d6c944b503
Update to version 1.1.2
- Revert backwards-incompatible API change
- Fix version string in pkgconfig file

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-03-15 11:03:45 -04:00
Stephen Gallagher
679d3b66dd
Update to version 1.1.1
- Make default stream and profiles optional
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/25
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/26
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/27

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-03-15 10:19:23 -04:00
Stephen Gallagher
5c87b190bc
Update to version 1.1.0
- 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>
2018-03-14 14:33:30 -04:00
Igor Gnatenko
b8df168786
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-03-13 11:32:21 +01:00
Stephen Gallagher
8bbf8bcee8
Update to 1.0.4
- Rework version autodetection
- Avoid infinite loop on unparseable YAML

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-02-27 10:06:42 -05:00
Stephen Gallagher
21ac191743
Release 1.0.3
- 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>
2018-02-25 23:02:01 -05:00
Igor Gnatenko
94a473c9d1
update URLs
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-23 16:26:14 +01:00
Stephen Gallagher
fbfc57796a
Be more strict with certain parser edge-cases
- Replace popt argument processing with glib
- Drop upstreamed patches

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-02-16 11:41:37 -05:00
Stephen Gallagher
d0df9e74ca
Handle certain unlikely format violations 2018-02-15 20:37:35 -05:00
Stephen Gallagher
b68eb69e41
Support modulemd v2
- 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>
2018-02-15 20:13:37 -05:00
Stephen Gallagher
faebb533d9
Update to libmodulemd 0.2.2
Fix numerous minor memory leaks
Fix issues with EOL/SL dates

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-02-06 10:18:32 -05:00
Igor Gnatenko
1447f410a4
Own appropriate directories
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-06 13:13:14 +01:00
Igor Gnatenko
75a7af9623
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-02 10:21:16 +01:00
Stephen Gallagher
8cdfc90b8c
Update to libmodulemd 0.2.1
Add 'name' property for Profiles

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-01-05 14:53:59 -05:00
Stephen Gallagher
94bc7ce400
Add missing BuildRequires for gtk-doc
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-05 09:08:21 -04:00
Stephen Gallagher
1bff070b75
Update to libmodulemd 0.2.0
Adds gtk-doc generated documentation
(ABI-break) Makes all optional properties accept NULL as a value to clear
  them
(ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
  GLib.PtrArray
Fixes a bug where the name was not always set for components
Adds support for dumping YAML from the introspected API
Includes add/remove routines for profiles

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-05 09:03:29 -04:00
Igor Gnatenko
b0d3585311 Use %_isa in Requires for main package from devel
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-30 19:46:05 +02:00
Stephen Gallagher
01e97e6f41
Correct the license to MIT
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-09-18 15:44:23 -04:00