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>
This commit is contained in:
Stephen Gallagher 2018-02-15 20:13:30 -05:00
parent faebb533d9
commit b68eb69e41
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3
3 changed files with 15 additions and 4 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/modulemd-0.2.0.tar.xz
/modulemd-0.2.1.tar.xz
/modulemd-0.2.2.tar.xz
/modulemd-1.0.0.tar.xz
/modulemd-1.0.1.tar.xz

View File

@ -1,6 +1,6 @@
%global majorversion 0
%global minorversion 2
%global patchversion 2
%global majorversion 1
%global minorversion 0
%global patchversion 1
%global majorminorversion %{majorversion}.%{minorversion}
Name: libmodulemd
@ -18,6 +18,7 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(popt)
%description
C Library for manipulating module metadata files.
@ -49,6 +50,7 @@ export LC_CTYPE=C.utf8
%files
%license COPYING
%doc README.md
%{_bindir}/modulemd-validator
%{_libdir}/%{name}.so.%{majorversion}*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/Modulemd-%{majorminorversion}.typelib
@ -64,6 +66,13 @@ export LC_CTYPE=C.utf8
%{_datadir}/gtk-doc/html/modulemd/
%changelog
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
- 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
* Tue Feb 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.2-1
- Update to libmodulemd 0.2.2
- Fix numerous minor memory leaks

View File

@ -1 +1 @@
SHA512 (modulemd-0.2.2.tar.xz) = adfd2bbb0e7e4047f53f485c1f2ea51510c5d223395207b3bc4e670a9f2c166dcd70425f317a98cce74349a20f615f49bc0cfe0913bd9e66d2a0ece6e76307b9
SHA512 (modulemd-1.0.1.tar.xz) = b1b0c4e4bf75b4d7152ce76fc67189511a362a9c69a1ed708eed7004ed6dc4a31e2cc1bcd9364c38c58579d9176a567d6e870a4e3e6660b97e9108e9610c0cd3