Hello community,

here is the log from the commit of package yast2-schema for openSUSE:Factory 
checked in at 2020-06-10 00:38:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-schema (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-schema.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-schema"

Wed Jun 10 00:38:25 2020 rev:56 rq:812448 version:4.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-schema/yast2-schema.changes        
2020-04-25 20:20:39.913074436 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-schema.new.3606/yast2-schema.changes      
2020-06-10 00:38:47.997459989 +0200
@@ -1,0 +2,15 @@
+Fri Jun  5 14:58:19 UTC 2020 - Martin Vidner <[email protected]>
+
+- Remove SUSE Linux 9.3 compatibility to improve error messages
+  (bsc#1172578)
+- Fix Jenkins build running into a Java out of memory error
+- 4.3.1
+
+-------------------------------------------------------------------
+Thu May  7 16:13:37 UTC 2020 - Imobach Gonzalez Sosa <[email protected]>
+
+- Allow optional types for string and map objects (bsc#1170886).
+- Check schema correctness with jing and xmllint (bsc#1172131).
+- 4.3.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-schema-4.2.10.tar.bz2

New:
----
  yast2-schema-4.3.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-schema.spec ++++++
--- /var/tmp/diff_new_pack.Yy7wv1/_old  2020-06-10 00:38:49.321463541 +0200
+++ /var/tmp/diff_new_pack.Yy7wv1/_new  2020-06-10 00:38:49.325463552 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-schema
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:           yast2-schema
-Version:        4.2.10
+Version:        4.3.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        %{name}-%{version}.tar.bz2
 
-URL:            https://github.com/yast/yast-schema
+Url:            https://github.com/yast/yast-schema
 
 # Dependencies needed to build the package
+BuildRequires:  jing
+BuildRequires:  libxml2-tools
 BuildRequires:  trang
 BuildRequires:  yast2-devtools
 
@@ -36,19 +38,20 @@
 BuildRequires:  autoyast2 >= 4.2.25
 BuildRequires:  yast2
 # add_on_others element
-BuildRequires:  yast2-add-on >= 4.2.4
-BuildRequires:  yast2-audit-laf
-BuildRequires:  yast2-auth-client
+BuildRequires:  yast2-add-on >= 4.3.0
+BuildRequires:  yast2-audit-laf >= 4.3.0
+BuildRequires:  yast2-auth-client >= 4.3.0
 BuildRequires:  yast2-auth-server
 # tag secure_boot
-BuildRequires:  yast2-bootloader >= 4.2.11
-BuildRequires:  yast2-configuration-management >= 4.1.2
-BuildRequires:  yast2-country
-BuildRequires:  yast2-dhcp-server
-BuildRequires:  yast2-dns-server
-BuildRequires:  yast2-firewall >= 4.1.8
-BuildRequires:  yast2-firstboot >= 4.1.1
-BuildRequires:  yast2-ftp-server
+BuildRequires:  yast2-bootloader >= 4.3.0
+BuildRequires:  yast2-configuration-management >= 4.3.0
+BuildRequires:  yast2-country >= 4.3.0
+BuildRequires:  yast2-dhcp-server >= 4.3.0
+BuildRequires:  yast2-dns-server >= 4.3.0
+BuildRequires:  yast2-firewall >= 4.3.0
+BuildRequires:  yast2-firstboot >= 4.3.0
+BuildRequires:  yast2-ftp-server >= 4.3.0
+BuildRequires:  yast2-geo-cluster >= 4.3.0
 BuildRequires:  yast2-http-server
 BuildRequires:  yast2-installation
 BuildRequires:  yast2-iscsi-client

++++++ yast2-schema-4.2.10.tar.bz2 -> yast2-schema-4.3.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/Dockerfile 
new/yast2-schema-4.3.1/Dockerfile
--- old/yast2-schema-4.2.10/Dockerfile  2020-04-17 14:36:21.000000000 +0200
+++ new/yast2-schema-4.3.1/Dockerfile   2020-06-08 09:53:14.000000000 +0200
@@ -1,6 +1,8 @@
 FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest
 RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \
   autoyast2 \
+  libxml2-tools \
+  jing \
   trang \
   yast2 \
   yast2-add-on \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/package/yast2-schema.changes 
new/yast2-schema-4.3.1/package/yast2-schema.changes
--- old/yast2-schema-4.2.10/package/yast2-schema.changes        2020-04-17 
14:36:21.000000000 +0200
+++ new/yast2-schema-4.3.1/package/yast2-schema.changes 2020-06-08 
09:53:14.000000000 +0200
@@ -1,4 +1,19 @@
 -------------------------------------------------------------------
+Fri Jun  5 14:58:19 UTC 2020 - Martin Vidner <[email protected]>
+
+- Remove SUSE Linux 9.3 compatibility to improve error messages
+  (bsc#1172578)
+- Fix Jenkins build running into a Java out of memory error
+- 4.3.1
+
+-------------------------------------------------------------------
+Thu May  7 16:13:37 UTC 2020 - Imobach Gonzalez Sosa <[email protected]>
+
+- Allow optional types for string and map objects (bsc#1170886).
+- Check schema correctness with jing and xmllint (bsc#1172131).
+- 4.3.0
+
+-------------------------------------------------------------------
 Fri Apr 17 12:02:29 UTC 2020 - Josef Reidinger <[email protected]>
 
 - Exclude the registration for architectures on which it does not
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/package/yast2-schema.spec 
new/yast2-schema-4.3.1/package/yast2-schema.spec
--- old/yast2-schema-4.2.10/package/yast2-schema.spec   2020-04-17 
14:36:21.000000000 +0200
+++ new/yast2-schema-4.3.1/package/yast2-schema.spec    2020-06-08 
09:53:14.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-schema
-Version:        4.2.10
+Version:        4.3.1
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -29,6 +29,8 @@
 Url:            https://github.com/yast/yast-schema
 
 # Dependencies needed to build the package
+BuildRequires:  jing
+BuildRequires:  libxml2-tools
 BuildRequires: trang yast2-devtools
 
 # All packages providing RNG files for AutoYaST
@@ -38,20 +40,21 @@
 BuildRequires: autoyast2 >= 4.2.25
 BuildRequires: yast2
 # add_on_others element
-BuildRequires: yast2-add-on >= 4.2.4
-BuildRequires: yast2-audit-laf
-BuildRequires: yast2-auth-client
+BuildRequires: yast2-add-on >= 4.3.0
+BuildRequires: yast2-audit-laf >= 4.3.0
+BuildRequires: yast2-auth-client >= 4.3.0
 BuildRequires: yast2-auth-server
 # tag secure_boot
-BuildRequires: yast2-bootloader >= 4.2.11
-BuildRequires: yast2-country
-BuildRequires: yast2-configuration-management >= 4.1.2
-BuildRequires: yast2-dhcp-server
-BuildRequires: yast2-dns-server
-BuildRequires: yast2-firewall >= 4.1.8
-BuildRequires: yast2-firstboot >= 4.1.1
-BuildRequires: yast2-ftp-server
+BuildRequires: yast2-bootloader >= 4.3.0
+BuildRequires: yast2-country >= 4.3.0
+BuildRequires: yast2-configuration-management >= 4.3.0
+BuildRequires: yast2-dhcp-server >= 4.3.0
+BuildRequires: yast2-dns-server >= 4.3.0
+BuildRequires: yast2-firewall >= 4.3.0
+BuildRequires: yast2-firstboot >= 4.3.0
+BuildRequires: yast2-ftp-server >= 4.3.0
 BuildRequires: yast2-tftp-server >= 4.1.7
+BuildRequires: yast2-geo-cluster >= 4.3.0
 BuildRequires: yast2-http-server
 BuildRequires: yast2-installation
 BuildRequires: yast2-iscsi-client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/scripts/collect.sh 
new/yast2-schema-4.3.1/scripts/collect.sh
--- old/yast2-schema-4.2.10/scripts/collect.sh  2020-04-17 14:36:21.000000000 
+0200
+++ new/yast2-schema-4.3.1/scripts/collect.sh   2020-06-08 09:53:14.000000000 
+0200
@@ -18,7 +18,8 @@
 cp $COMMON $RNC_OUTPUT
 
 
-# initialize
+# Formerly the elements were sorted in these 2 categories but that
+# distinction is obsolete except in this script
 install=""
 configure=""
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/src/profile.rnc.templ 
new/yast2-schema-4.3.1/src/profile.rnc.templ
--- old/yast2-schema-4.2.10/src/profile.rnc.templ       2020-04-17 
14:36:21.000000000 +0200
+++ new/yast2-schema-4.3.1/src/profile.rnc.templ        2020-06-08 
09:53:14.000000000 +0200
@@ -6,28 +6,9 @@
 include "includes.rnc"
 
 include "classes-use.rnc"
-## shared elements that haven't been split yet
-#include "profile-misc.rnc"
-
-configure_contents = CONFIGURE_RESOURCE
-install_contents = classes? & INSTALL_RESOURCE
-
-profile_resource = classes? & CONFIGURE_RESOURCE & INSTALL_RESOURCE
 
 profile = element profile {
-   profile_compatibility_sl93 |
-#   profile_current
-   profile_resource
+   classes? & CONFIGURE_RESOURCE & INSTALL_RESOURCE
 }
 
-profile_compatibility_sl93 =
-   element configure {
-       configure_contents
-   }? &
-   element install {
-       install_contents
-   }?
-
-profile_current = configure_contents & install_contents
-
 start = profile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.2.10/src/rng/Makefile.am 
new/yast2-schema-4.3.1/src/rng/Makefile.am
--- old/yast2-schema-4.2.10/src/rng/Makefile.am 2020-04-17 14:36:21.000000000 
+0200
+++ new/yast2-schema-4.3.1/src/rng/Makefile.am  2020-06-08 09:53:14.000000000 
+0200
@@ -4,6 +4,11 @@
 RNCDIR=../rnc
 RNCS=$(wildcard $(RNCDIR)/*.rnc)
 
+# Decrease some JRE space to fit in limited memory on ci.opensuse.org
+# Prevents "Could not allocate metaspace: 1073741824 bytes"
+# 
https://rce-docs.hmdc.harvard.edu/faq/why-do-i-get-java-error-could-not-reserve-enough-space-object-heap
+export _JAVA_OPTIONS="-XX:CompressedClassSpaceSize=200M"
+
 all-local: profile.rng rules.rng classes-decl.rng
 profile.rng: $(RNCS)
        trang -I rnc -O rng $(RNCDIR)/profile.rnc $@
@@ -16,6 +21,11 @@
 clean-local:
        rm -rf *.rng
 
+# Test with a minimal valid profile that the schema is correct
+check-local:
+       echo '<profile xmlns="http://www.suse.com/1.0/yast2ns"/>' | jing 
profile.rng /dev/stdin
+       echo '<profile xmlns="http://www.suse.com/1.0/yast2ns"/>' | xmllint 
--noout --relaxng profile.rng /dev/stdin
+
 install-data-local:
        $(INSTALL) -d $(DESTDIR)$(schemadir)/autoyast/rng
        $(INSTALL) -m 644 *.rng $(DESTDIR)$(schemadir)/autoyast/rng


Reply via email to