Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2022-11-03 19:13:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Thu Nov  3 19:13:48 2022 rev:328 rq:1033078 version:4.5.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2022-10-24 
11:47:11.585907956 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new.2275/autoyast2.changes    
2022-11-03 19:14:01.971954017 +0100
@@ -1,0 +2,15 @@
+Thu Nov  3 13:04:26 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Log the profile/rules/classes file SHA1 sum so we can later
+  verify that a particular file was or was not used by YaST
+  (related to bsc#1204175)
+- 4.5.8
+
+-------------------------------------------------------------------
+Mon Oct 24 09:25:09 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Allow empty values in ask/default, ask/selection/label and
+  ask/selection/value elements (bsc#1204448).
+- 4.5.7
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.5.6.tar.bz2

New:
----
  autoyast2-4.5.8.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.jn4ljS/_old  2022-11-03 19:14:02.735958509 +0100
+++ /var/tmp/diff_new_pack.jn4ljS/_new  2022-11-03 19:14:02.743958556 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.5.6
+Version:        4.5.8
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only

++++++ autoyast2-4.5.6.tar.bz2 -> autoyast2-4.5.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.5.6/package/autoyast2.changes 
new/autoyast2-4.5.8/package/autoyast2.changes
--- old/autoyast2-4.5.6/package/autoyast2.changes       2022-10-17 
12:36:02.000000000 +0200
+++ new/autoyast2-4.5.8/package/autoyast2.changes       2022-11-03 
15:00:47.000000000 +0100
@@ -1,4 +1,19 @@
 -------------------------------------------------------------------
+Thu Nov  3 13:04:26 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Log the profile/rules/classes file SHA1 sum so we can later
+  verify that a particular file was or was not used by YaST
+  (related to bsc#1204175)
+- 4.5.8
+
+-------------------------------------------------------------------
+Mon Oct 24 09:25:09 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Allow empty values in ask/default, ask/selection/label and
+  ask/selection/value elements (bsc#1204448).
+- 4.5.7
+
+-------------------------------------------------------------------
 Mon Oct 17 10:30:48 UTC 2022 - Steffen Winterfeldt <snw...@suse.com>
 
 - fix profile location parsing and add 'repo' URL scheme (jsc#SLE-22578,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.5.6/package/autoyast2.spec 
new/autoyast2-4.5.8/package/autoyast2.spec
--- old/autoyast2-4.5.6/package/autoyast2.spec  2022-10-17 12:36:02.000000000 
+0200
+++ new/autoyast2-4.5.8/package/autoyast2.spec  2022-11-03 15:00:47.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.5.6
+Version:        4.5.8
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.5.6/src/lib/autoinstall/autoinst_profile/ask_section.rb 
new/autoyast2-4.5.8/src/lib/autoinstall/autoinst_profile/ask_section.rb
--- old/autoyast2-4.5.6/src/lib/autoinstall/autoinst_profile/ask_section.rb     
2022-10-17 12:36:02.000000000 +0200
+++ new/autoyast2-4.5.8/src/lib/autoinstall/autoinst_profile/ask_section.rb     
2022-11-03 15:00:47.000000000 +0100
@@ -41,7 +41,7 @@
       def self.attributes
         [
           { name: :question },
-          { name: :default },
+          { name: :default, allow_blank: true },
           { name: :help },
           { name: :title },
           { name: :type },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.5.6/src/lib/autoinstall/autoinst_profile/ask_selection_entry.rb 
new/autoyast2-4.5.8/src/lib/autoinstall/autoinst_profile/ask_selection_entry.rb
--- 
old/autoyast2-4.5.6/src/lib/autoinstall/autoinst_profile/ask_selection_entry.rb 
    2022-10-17 12:36:02.000000000 +0200
+++ 
new/autoyast2-4.5.8/src/lib/autoinstall/autoinst_profile/ask_selection_entry.rb 
    2022-11-03 15:00:47.000000000 +0100
@@ -24,8 +24,8 @@
     class AskSelectionEntry < 
::Installation::AutoinstProfile::SectionWithAttributes
       def self.attributes
         [
-          { name: :value },
-          { name: :label }
+          { name: :value, allow_blank: true },
+          { name: :label, allow_blank: true }
         ]
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.5.6/src/modules/AutoinstClass.rb 
new/autoyast2-4.5.8/src/modules/AutoinstClass.rb
--- old/autoyast2-4.5.6/src/modules/AutoinstClass.rb    2022-10-17 
12:36:02.000000000 +0200
+++ new/autoyast2-4.5.8/src/modules/AutoinstClass.rb    2022-11-03 
15:00:47.000000000 +0100
@@ -13,6 +13,7 @@
 # $Id$
 require "yast"
 require "autoinstall/xml_checks"
+require "digest/sha1"
 
 module Yast
   class AutoinstClassClass < Module
@@ -54,6 +55,10 @@
       if SCR.Read(path(".target.size"), @classPath) != -1 &&
           Y2Autoinstallation::XmlChecks.instance.valid_classes?(@classPath)
         begin
+          classes_sha1 = Digest::SHA1.hexdigest(File.read(@classPath))
+          # log the classes checksum so we can verify that a particular file 
was really used
+          log.info("Classes SHA1 checksum: #{classes_sha1}")
+
           classes_map = XML.XMLToYCPFile(@classPath)
           @Classes = (classes_map && classes_map["classes"]) || []
         rescue XMLDeserializationError => e
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.5.6/src/modules/ProfileLocation.rb 
new/autoyast2-4.5.8/src/modules/ProfileLocation.rb
--- old/autoyast2-4.5.6/src/modules/ProfileLocation.rb  2022-10-17 
12:36:02.000000000 +0200
+++ new/autoyast2-4.5.8/src/modules/ProfileLocation.rb  2022-11-03 
15:00:47.000000000 +0100
@@ -31,6 +31,7 @@
 require "y2storage"
 require "fileutils"
 require "yast2/popup"
+require "digest/sha1"
 
 module Yast
   class ProfileLocationClass < Module
@@ -133,6 +134,9 @@
           return false
         end
 
+        # log the profile checksum so we can verify that a particular file was 
really used
+        log.info("Profile SHA1 checksum: #{Digest::SHA1.hexdigest(tmp)}")
+
         if GPG.encrypted_symmetric?(localfile)
           label = _("Encrypted AutoYaST profile.")
           begin
@@ -210,6 +214,10 @@
 
       if ret
         AutoInstallRules.userrules = true
+
+        rules_sha1 = 
Digest::SHA1.hexdigest(File.read(AutoinstConfig.local_rules_file))
+        # log the rules checksum so we can verify that a particular file was 
really used
+        log.info("Rules SHA1 checksum: #{rules_sha1}")
       else
         AutoInstallRules.userrules = false
         SCR.Execute(path(".target.remove"), AutoinstConfig.local_rules_file)

Reply via email to