Commit Graph

73 Commits

Author SHA1 Message Date
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
Stephen Gallagher
b193ff0dbf
Add spec file 2017-09-18 08:39:43 -04:00