Hello community,

here is the log from the commit of package yast2-schema for openSUSE:Factory 
checked in at 2020-10-18 16:23:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-schema (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-schema.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-schema"

Sun Oct 18 16:23:15 2020 rev:62 rq:841655 version:4.3.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-schema/yast2-schema.changes        
2020-09-09 17:45:04.434335513 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-schema.new.3486/yast2-schema.changes      
2020-10-18 16:23:29.564546142 +0200
@@ -1,0 +2,54 @@
+Tue Oct 13 10:12:16 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Allow setting the 't' (or 'config:type') attribute in:
+  - 'backup' and 'upgrade' elements (bsc#1176834 and bsc#1176848).
+  - 'initrd_module' element (bsc#1177058).
+- 4.3.14
+
+-------------------------------------------------------------------
+Fri Oct  9 05:58:37 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- AutoYaST schema (bsc#1174133, bsc#1177496):
+  - Fix validation of string/symbol elements in the schema.
+  - Fix validation of 'masquerade_user' elements.
+- 4.3.13
+
+-------------------------------------------------------------------
+Thu Oct  1 12:51:56 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Do not validate unknown sections (bsc#1177173).
+- 4.3.12
+
+-------------------------------------------------------------------
+Thu Oct  1 08:11:28 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Add validation of 'activate_systemd_default_target' and
+  'final_restart_services' elements in the 'general/mode' section.
+  (bsc#1176595).
+- 4.3.11
+
+-------------------------------------------------------------------
+Tue Sep 29 13:24:26 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Drop the 'suse_btrfs' element from the schema (bsc#1176970).
+- 4.3.10
+
+-------------------------------------------------------------------
+Tue Sep 29 10:34:30 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Drop the 'general/mouse' element from the schema (bsc#1176973).
+- 4.3.9
+
+-------------------------------------------------------------------
+Thu Sep 24 13:08:44 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Add the schema for 'backup' and 'upgrade' sections (bsc#1176834).
+- 4.3.8
+
+-------------------------------------------------------------------
+Wed Sep 23 14:37:16 UTC 2020 - Josef Reidinger <jreidin...@suse.com>
+
+- add update_nvram element to the bootloader section (jsc#11500)
+- 4.3.7
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-schema.spec ++++++
--- /var/tmp/diff_new_pack.s5aZZd/_old  2020-10-18 16:23:30.268546455 +0200
+++ /var/tmp/diff_new_pack.s5aZZd/_new  2020-10-18 16:23:30.272546457 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-schema
-Version:        4.3.6
+Version:        4.3.14
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -34,16 +34,16 @@
 # All packages providing RNG files for AutoYaST
 # in /usr/share/YaST2/schema/autoyast/rng/*.rng
 
-# proper validation of installed{,_version} elements in rules.xml
-BuildRequires:  autoyast2 >= 4.3.43
+# set 't' element in 'backup' and 'upgrade' elements
+BuildRequires:  autoyast2 >= 4.3.61
 BuildRequires:  yast2
 # add_on_products and add_on_others types
 BuildRequires:  yast2-add-on >= 4.3.3
 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.3.0
+# set 't' element in 'initrd_module' element
+BuildRequires:  yast2-bootloader >= 4.3.12
 BuildRequires:  yast2-configuration-management >= 4.3.0
 BuildRequires:  yast2-country >= 4.3.0
 BuildRequires:  yast2-dhcp-server >= 4.3.0
@@ -56,7 +56,7 @@
 BuildRequires:  yast2-installation
 BuildRequires:  yast2-iscsi-client
 BuildRequires:  yast2-kdump
-BuildRequires:  yast2-mail
+BuildRequires:  yast2-mail >= 4.3.3
 BuildRequires:  yast2-tftp-server >= 4.1.7
 # setup_before_proposal element
 BuildRequires:  yast2-network >= 4.3.10

++++++ yast2-schema-4.3.6.tar.bz2 -> yast2-schema-4.3.14.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.3.6/package/yast2-schema.changes 
new/yast2-schema-4.3.14/package/yast2-schema.changes
--- old/yast2-schema-4.3.6/package/yast2-schema.changes 2020-09-02 
18:05:23.000000000 +0200
+++ new/yast2-schema-4.3.14/package/yast2-schema.changes        2020-10-13 
13:08:17.000000000 +0200
@@ -1,4 +1,58 @@
 -------------------------------------------------------------------
+Tue Oct 13 10:12:16 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Allow setting the 't' (or 'config:type') attribute in:
+  - 'backup' and 'upgrade' elements (bsc#1176834 and bsc#1176848).
+  - 'initrd_module' element (bsc#1177058).
+- 4.3.14
+
+-------------------------------------------------------------------
+Fri Oct  9 05:58:37 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- AutoYaST schema (bsc#1174133, bsc#1177496):
+  - Fix validation of string/symbol elements in the schema.
+  - Fix validation of 'masquerade_user' elements.
+- 4.3.13
+
+-------------------------------------------------------------------
+Thu Oct  1 12:51:56 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Do not validate unknown sections (bsc#1177173).
+- 4.3.12
+
+-------------------------------------------------------------------
+Thu Oct  1 08:11:28 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Add validation of 'activate_systemd_default_target' and
+  'final_restart_services' elements in the 'general/mode' section.
+  (bsc#1176595).
+- 4.3.11
+
+-------------------------------------------------------------------
+Tue Sep 29 13:24:26 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Drop the 'suse_btrfs' element from the schema (bsc#1176970).
+- 4.3.10
+
+-------------------------------------------------------------------
+Tue Sep 29 10:34:30 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Drop the 'general/mouse' element from the schema (bsc#1176973).
+- 4.3.9
+
+-------------------------------------------------------------------
+Thu Sep 24 13:08:44 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Add the schema for 'backup' and 'upgrade' sections (bsc#1176834).
+- 4.3.8
+
+-------------------------------------------------------------------
+Wed Sep 23 14:37:16 UTC 2020 - Josef Reidinger <jreidin...@suse.com>
+
+- add update_nvram element to the bootloader section (jsc#11500)
+- 4.3.7
+
+-------------------------------------------------------------------
 Wed Sep  2 15:14:28 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
 
 - Recognize installed_product and installed_product_version as
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.3.6/package/yast2-schema.spec 
new/yast2-schema-4.3.14/package/yast2-schema.spec
--- old/yast2-schema-4.3.6/package/yast2-schema.spec    2020-09-02 
18:05:23.000000000 +0200
+++ new/yast2-schema-4.3.14/package/yast2-schema.spec   2020-10-13 
13:08:17.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-schema
-Version:        4.3.6
+Version:        4.3.14
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -36,16 +36,16 @@
 # All packages providing RNG files for AutoYaST
 # in /usr/share/YaST2/schema/autoyast/rng/*.rng
 
-# proper validation of installed{,_version} elements in rules.xml
-BuildRequires: autoyast2 >= 4.3.43
+# set 't' element in 'backup' and 'upgrade' elements
+BuildRequires: autoyast2 >= 4.3.61
 BuildRequires: yast2
 # add_on_products and add_on_others types
 BuildRequires: yast2-add-on >= 4.3.3
 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.3.0
+# set 't' element in 'initrd_module' element
+BuildRequires: yast2-bootloader >= 4.3.12
 BuildRequires: yast2-country >= 4.3.0
 BuildRequires: yast2-configuration-management >= 4.3.0
 BuildRequires: yast2-dhcp-server >= 4.3.0
@@ -59,7 +59,7 @@
 BuildRequires: yast2-installation
 BuildRequires: yast2-iscsi-client
 BuildRequires: yast2-kdump
-BuildRequires: yast2-mail
+BuildRequires: yast2-mail >= 4.3.3
 # setup_before_proposal element
 BuildRequires: yast2-network >= 4.3.10
 BuildRequires: yast2-nfs-client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.3.6/scripts/collect.sh 
new/yast2-schema-4.3.14/scripts/collect.sh
--- old/yast2-schema-4.3.6/scripts/collect.sh   2020-09-02 18:05:23.000000000 
+0200
+++ new/yast2-schema-4.3.14/scripts/collect.sh  2020-10-13 13:08:17.000000000 
+0200
@@ -22,6 +22,8 @@
 # distinction is obsolete except in this script
 install=""
 configure=""
+# NOTE: 'classes' and 'runlevel' are hard-coded in 'classes-use.rnc' and 
'runlevels.rnc'
+known=" | classes | runlevel"
 
 # check all desktop files
 
@@ -43,21 +45,24 @@
     X_SuSE_YaST_AutoInstOptional=${X_SuSE_YaST_AutoInstOptional##*=}
 
     if [ -z "$X_SuSE_YaST_AutoInstResource" ]; then
-       resource=`basename $desktop .desktop`
+        resource=`basename $desktop .desktop`
         resource="FLAG__X_SuSE_YaST_AutoInstResource__not_set__in_$resource"
     else
         resource=$X_SuSE_YaST_AutoInstResource
+        known="$known | $resource"
     fi
 
     # HACK: avoid creating a separate desktop file
     # for user_defaults (#215249#c7)
     if [ "$resource" = "users" ]; then
-       resource="user_defaults? & groups? & login_settings? & users"
+        resource="user_defaults? & groups? & login_settings? & users"
+        known="$known | user_defaults | groups | login_settings"
     fi
 
     # same hack as for users. pxe.rnc is part of autoyast but has no client
     if [ "$resource" = "general" ]; then
         resource="general? & pxe"
+        known="$known | general | pxe"
         cp  $SCHEMA_DIR/pxe.rnc $RNC_OUTPUT
         echo "include 'pxe.rnc' # autoyast2" >> $RNC_OUTPUT/includes.rnc
     fi
@@ -86,9 +91,11 @@
 # remove the initial connector
 install="${install# & }"
 configure="${configure# & }"
+known="${known# | }"
 
 echo >&2 "install:   $install"
 echo >&2 "configure: $configure"
+echo >&2 "known:     $known"
 
 # escape the connector for sed: & -> \&
 install="${install//&/\\&}"
@@ -97,4 +104,5 @@
 # add those components we have found
 sed -e "s/CONFIGURE_RESOURCE/${configure}/" \
     -e "s/INSTALL_RESOURCE/${install}/" \
+    -e "s/KNOWN_RESOURCE/${known}/" \
     $TEMPLATE > $RNC_OUTPUT/profile.rnc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-schema-4.3.6/src/profile.rnc.templ 
new/yast2-schema-4.3.14/src/profile.rnc.templ
--- old/yast2-schema-4.3.6/src/profile.rnc.templ        2020-09-02 
18:05:23.000000000 +0200
+++ new/yast2-schema-4.3.14/src/profile.rnc.templ       2020-10-13 
13:08:17.000000000 +0200
@@ -7,8 +7,12 @@
 
 include "classes-use.rnc"
 
+any_content = any_element* & text
+any_element = element * - (KNOWN_RESOURCE) { any_attribute*, any_content }
+any_attribute = attribute * { text }
+
 profile = element profile {
-   classes? & CONFIGURE_RESOURCE & INSTALL_RESOURCE
+   classes? & CONFIGURE_RESOURCE & INSTALL_RESOURCE & any_content?
 }
 
 start = profile


Reply via email to