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-04-08 00:27:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Fri Apr  8 00:27:26 2022 rev:322 rq:967337 version:4.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2022-03-11 
11:40:21.338546348 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new.1900/autoyast2.changes    
2022-04-08 00:27:55.494183449 +0200
@@ -1,0 +2,12 @@
+Wed Apr 06 13:24:58 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Bump version to 4.5.0 (#bsc1198109)
+
+-------------------------------------------------------------------
+Fri Apr  1 06:12:50 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Respect general/signature-handling settings during the 2nd
+  stage (bsc#1197655).
+- 4.4.36
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.4.35.tar.bz2

New:
----
  autoyast2-4.5.0.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.C1lJRy/_old  2022-04-08 00:27:56.522171911 +0200
+++ /var/tmp/diff_new_pack.C1lJRy/_new  2022-04-08 00:27:56.526171867 +0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.35
+Version:        4.5.0
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only

++++++ autoyast2-4.4.35.tar.bz2 -> autoyast2-4.5.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/package/autoyast2.changes 
new/autoyast2-4.5.0/package/autoyast2.changes
--- old/autoyast2-4.4.35/package/autoyast2.changes      2022-03-07 
13:14:27.000000000 +0100
+++ new/autoyast2-4.5.0/package/autoyast2.changes       2022-04-06 
15:29:14.000000000 +0200
@@ -1,4 +1,16 @@
 -------------------------------------------------------------------
+Wed Apr 06 13:24:58 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Bump version to 4.5.0 (#bsc1198109)
+
+-------------------------------------------------------------------
+Fri Apr  1 06:12:50 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
+
+- Respect general/signature-handling settings during the 2nd
+  stage (bsc#1197655).
+- 4.4.36
+
+-------------------------------------------------------------------
 Mon Mar  7 11:00:12 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
 
 - Properly handle the "dopackages" option in the openFile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/package/autoyast2.spec 
new/autoyast2-4.5.0/package/autoyast2.spec
--- old/autoyast2-4.4.35/package/autoyast2.spec 2022-03-07 13:14:27.000000000 
+0100
+++ new/autoyast2-4.5.0/package/autoyast2.spec  2022-04-06 15:29:14.000000000 
+0200
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.4.35
+Version:        4.5.0
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/src/clients/inst_autopost.rb 
new/autoyast2-4.5.0/src/clients/inst_autopost.rb
--- old/autoyast2-4.4.35/src/clients/inst_autopost.rb   2022-03-07 
13:14:27.000000000 +0100
+++ new/autoyast2-4.5.0/src/clients/inst_autopost.rb    2022-04-06 
15:29:14.000000000 +0200
@@ -18,7 +18,6 @@
       textdomain "autoinst"
       Yast.import "Profile"
       Yast.import "AutoInstall"
-      Yast.import "AutoinstGeneral"
       Yast.import "Call"
       Yast.import "AutoinstSoftware"
       Yast.import "AutoinstScripts"
@@ -73,13 +72,12 @@
       Y2Autoinstall::Ask::Runner.new(
         Yast::Profile.current, stage: Y2Autoinstall::Ask::Stage::CONT
       ).run
-      # FIXME: too late here, even though it would be the better place
-      # if (Profile::current["general"]:$[] != $[])
-      #     AutoinstGeneral::Import(Profile::current["general"]:$[]);
-      # AutoinstGeneral::SetSignatureHandling();
 
       Builtins.y2milestone("Steps: %1", steps)
 
+      general_settings = Profile.current.fetch("general", {})
+      AutoinstGeneral.Import(general_settings) unless general_settings.empty?
+
       importer = Y2Autoinstallation::Importer.new(Profile.current)
       modules_to_write.each do |description|
         Builtins.y2milestone("current resource: %1", description.resource_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/src/modules/AutoInstall.rb 
new/autoyast2-4.5.0/src/modules/AutoInstall.rb
--- old/autoyast2-4.4.35/src/modules/AutoInstall.rb     2022-03-07 
13:14:27.000000000 +0100
+++ new/autoyast2-4.5.0/src/modules/AutoInstall.rb      2022-04-06 
15:29:14.000000000 +0200
@@ -22,10 +22,10 @@
       Yast.import "Profile"
       Yast.import "Mode"
       Yast.import "Stage"
+      Yast.import "AddOnProduct"
       Yast.import "AutoInstallRules"
       Yast.import "AutoinstConfig"
       Yast.import "AutoinstGeneral"
-      Yast.import "AddOnProduct"
       Yast.import "Report"
       Yast.import "TFTP"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/src/modules/AutoinstGeneral.rb 
new/autoyast2-4.5.0/src/modules/AutoinstGeneral.rb
--- old/autoyast2-4.4.35/src/modules/AutoinstGeneral.rb 2022-03-07 
13:14:27.000000000 +0100
+++ new/autoyast2-4.5.0/src/modules/AutoinstGeneral.rb  2022-04-06 
15:29:14.000000000 +0200
@@ -60,7 +60,6 @@
 
       # default value of settings modified
       @modified = false
-      AutoinstGeneral()
     end
 
     # Function sets internal variable, which indicates, that any
@@ -456,17 +455,6 @@
 
       nil
     end
-
-    # Constructor
-    def AutoinstGeneral
-      return unless Stage.cont
-
-      # FIXME: wrong place for this
-      general_settings = Profile.current.fetch("general", {})
-      Import(general_settings) unless general_settings.empty?
-
-      nil
-    end
 
     # Set the "kexec_reboot" flag in the product
     # description in order to force a reboot with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.4.35/test/AutoinstGeneral_test.rb 
new/autoyast2-4.5.0/test/AutoinstGeneral_test.rb
--- old/autoyast2-4.4.35/test/AutoinstGeneral_test.rb   2022-03-07 
13:14:27.000000000 +0100
+++ new/autoyast2-4.5.0/test/AutoinstGeneral_test.rb    2022-04-06 
15:29:14.000000000 +0200
@@ -23,59 +23,6 @@
     allow(Yast).to receive(:import).with("FileSystems").and_return(nil)
   end
 
-  describe "#main" do
-    let(:second_stage) { false }
-    let(:imported_profile) { { "general" => general_settings } }
-    let(:general_settings) { { "mode" => true } }
-
-    before do
-      allow(Yast::Stage).to receive(:cont).and_return(second_stage)
-    end
-
-    context "on first stage" do
-      let(:second_stage) { false }
-
-      it "does not try to import the profile" do
-        expect(subject).to_not receive(:Import)
-        subject.main
-      end
-
-      it "does not set the signatures handling callbacks" do
-        expect(subject).to_not receive(:SetSignatureHandling)
-        subject.main
-      end
-    end
-
-    context "on second stage" do
-      let(:second_stage) { true }
-
-      before do
-        allow(Yast::Profile).to receive(:current).and_return(imported_profile)
-      end
-
-      context "and the profile contains a 'general' section" do
-        it "imports the profile" do
-          expect(subject).to receive(:Import).with(general_settings)
-          subject.main
-        end
-      end
-
-      context "and the profile does not contain a 'general' section" do
-        let(:general_settings) { {} }
-
-        it "does not try to import the profile" do
-          expect(subject).to_not receive(:Import)
-          subject.main
-        end
-      end
-
-      it "sets the signatures handling callbacks" do
-        expect(subject).to receive(:SetSignatureHandling)
-        subject.main
-      end
-    end
-  end
-
   describe "#Write" do
     before do
       allow(Yast::AutoinstStorage).to receive(:Write)

Reply via email to