Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-firstboot for openSUSE:Factory 
checked in at 2023-07-30 20:57:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-firstboot (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-firstboot.new.32662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-firstboot"

Sun Jul 30 20:57:25 2023 rev:118 rq:1101050 version:4.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-firstboot/yast2-firstboot.changes  
2023-03-04 22:43:07.675726794 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-firstboot.new.32662/yast2-firstboot.changes   
    2023-07-30 20:57:29.699121026 +0200
@@ -1,0 +2,13 @@
+Thu Jul 27 08:28:30 UTC 2023 - José Iván López González <[email protected]>
+
+- Adapt users client to the changes in yast2-users (related to
+  bsc#1206627).
+- 4.6.1
+
+-------------------------------------------------------------------
+Mon Mar 13 09:42:19 UTC 2023 - Ladislav Slezák <[email protected]>
+
+- Removed unnecessary executable flag from several files
+  (bsc#1209094)
+
+-------------------------------------------------------------------

Old:
----
  yast2-firstboot-4.6.0.tar.bz2

New:
----
  yast2-firstboot-4.6.1.tar.bz2

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

Other differences:
------------------
++++++ yast2-firstboot.spec ++++++
--- /var/tmp/diff_new_pack.s0PAAN/_old  2023-07-30 20:57:30.443125443 +0200
+++ /var/tmp/diff_new_pack.s0PAAN/_new  2023-07-30 20:57:30.447125467 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-firstboot
-Version:        4.6.0
+Version:        4.6.1
 Release:        0
 Summary:        YaST2 - Initial System Configuration
 License:        GPL-2.0-only
@@ -47,6 +47,9 @@
 Supplements:    autoyast(firstboot)
 BuildArch:      noarch
 
+# New API for Y2Users::CommitConfig
+Conflicts:      yast2-users < 4.6.3
+
 %description
 The YaST firstboot utility runs after installation is completed.  It
 guides the user through a series of steps that allows for easier

++++++ yast2-firstboot-4.6.0.tar.bz2 -> yast2-firstboot-4.6.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firstboot-4.6.0/.github/workflows/ci.yml 
new/yast2-firstboot-4.6.1/.github/workflows/ci.yml
--- old/yast2-firstboot-4.6.0/.github/workflows/ci.yml  2023-03-03 
15:52:07.000000000 +0100
+++ new/yast2-firstboot-4.6.1/.github/workflows/ci.yml  2023-07-27 
12:37:07.000000000 +0200
@@ -23,7 +23,7 @@
       uses: actions/checkout@v2
 
     - name: Install Dependencies
-      run: zypper --non-interactive install --no-recommends 
yast2-configuration-management
+      run: zypper --non-interactive install --no-recommends 
yast2-configuration-management yast2-users
 
     # just for easier debugging...
     - name: Inspect Installed Packages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-firstboot-4.6.0/package/yast2-firstboot.changes 
new/yast2-firstboot-4.6.1/package/yast2-firstboot.changes
--- old/yast2-firstboot-4.6.0/package/yast2-firstboot.changes   2023-03-03 
15:52:07.000000000 +0100
+++ new/yast2-firstboot-4.6.1/package/yast2-firstboot.changes   2023-07-27 
12:37:07.000000000 +0200
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Thu Jul 27 08:28:30 UTC 2023 - José Iván López González <[email protected]>
+
+- Adapt users client to the changes in yast2-users (related to
+  bsc#1206627).
+- 4.6.1
+
+-------------------------------------------------------------------
+Mon Mar 13 09:42:19 UTC 2023 - Ladislav Slezák <[email protected]>
+
+- Removed unnecessary executable flag from several files
+  (bsc#1209094)
+
+-------------------------------------------------------------------
 Fri Mar 03 14:44:07 UTC 2023 - Ladislav Slezák <[email protected]>
 
 - Bump version to 4.6.0 (bsc#1208913)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firstboot-4.6.0/package/yast2-firstboot.spec 
new/yast2-firstboot-4.6.1/package/yast2-firstboot.spec
--- old/yast2-firstboot-4.6.0/package/yast2-firstboot.spec      2023-03-03 
15:52:07.000000000 +0100
+++ new/yast2-firstboot-4.6.1/package/yast2-firstboot.spec      2023-07-27 
12:37:07.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-firstboot
-Version:        4.6.0
+Version:        4.6.1
 Release:        0
 Summary:        YaST2 - Initial System Configuration
 License:        GPL-2.0-only
@@ -47,6 +47,9 @@
 Supplements:    autoyast(firstboot)
 BuildArch:      noarch
 
+# New API for Y2Users::CommitConfig
+Conflicts:     yast2-users < 4.6.3
+
 %description
 The YaST firstboot utility runs after installation is completed.  It
 guides the user through a series of steps that allows for easier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-firstboot-4.6.0/src/lib/y2firstboot/clients/user.rb 
new/yast2-firstboot-4.6.1/src/lib/y2firstboot/clients/user.rb
--- old/yast2-firstboot-4.6.0/src/lib/y2firstboot/clients/user.rb       
2023-03-03 15:52:07.000000000 +0100
+++ new/yast2-firstboot-4.6.1/src/lib/y2firstboot/clients/user.rb       
2023-07-27 12:37:07.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) [2016-2021] SUSE LLC
+# Copyright (c) [2016-2023] SUSE LLC
 #
 # All Rights Reserved.
 #
@@ -21,7 +21,7 @@
 require "y2users/password"
 require "y2users/linux/writer"
 require "y2users/config_manager"
-require "y2users/commit_config_collection"
+require "y2users/user_commit_config"
 require "y2users/commit_config"
 require "users/dialogs/inst_user_first"
 require "pathname"
@@ -79,7 +79,7 @@
         writer = Y2Users::Linux::Writer.new(
           config,
           Y2Users::ConfigManager.instance.system,
-          commit_configs
+          commit_config
         )
 
         writer.write
@@ -147,11 +147,11 @@
         @root_user ||= config.users.root
       end
 
-      # Builds the commit configs to use when writing users
+      # Builds the commit config to use when writing users
       #
-      # @return [Y2Users::CommitConfigCollection]
-      def commit_configs
-        Y2Users::CommitConfigCollection.new.tap do |collection|
+      # @return [Y2Users::CommitConfig]
+      def commit_config
+        Y2Users::CommitConfig.new.tap do |commit_config|
           # Configure the actions to perform when committing a user.
           #
           #   - If the user is being created, its home should content the skel 
files
@@ -162,7 +162,7 @@
           #   should be set as owner of the existing directory 
(#adapt_home_ownership option).
           #   - When deleting the user (i.e., when going back to skip the user 
creation after
           #   creating it), its home must be removed too (#remove_home).
-          commit_config = Y2Users::CommitConfig.new.tap do |config|
+          user_config = Y2Users::UserCommitConfig.new.tap do |config|
             config.username = user.name
             config.home_without_skel = false
             config.move_home = true
@@ -173,7 +173,7 @@
             config.remove_home = true
           end
 
-          collection.add(commit_config)
+          commit_config.user_configs.add(user_config)
         end
       end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-firstboot-4.6.0/test/y2firstboot/clients/user_test.rb 
new/yast2-firstboot-4.6.1/test/y2firstboot/clients/user_test.rb
--- old/yast2-firstboot-4.6.0/test/y2firstboot/clients/user_test.rb     
2023-03-03 15:52:07.000000000 +0100
+++ new/yast2-firstboot-4.6.1/test/y2firstboot/clients/user_test.rb     
2023-07-27 12:37:07.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/env rspec
 
-# Copyright (c) [2018-2021] SUSE LLC
+# Copyright (c) [2018-2023] SUSE LLC
 #
 # All Rights Reserved.
 #
@@ -125,15 +125,15 @@
       let(:writer) { instance_double(Y2Users::Linux::Writer) }
 
       it "writes the config to the system" do
-        expect(Y2Users::Linux::Writer).to receive(:new) do |target, system, 
commit_configs|
+        expect(Y2Users::Linux::Writer).to receive(:new) do |target, system, 
commit_config|
           expect(target).to eql(config)
           expect(system).to eql(system_config)
 
-          commit_config = commit_configs.by_username(user.name)
-          expect(commit_config.move_home?).to eq(true)
-          expect(commit_config.remove_home?).to eq(true)
-          expect(commit_config.adapt_home_ownership?).to eq(true)
-          expect(commit_config.home_without_skel?).to eq(false)
+          user_config = commit_config.user_configs.by_username(user.name)
+          expect(user_config.move_home?).to eq(true)
+          expect(user_config.remove_home?).to eq(true)
+          expect(user_config.adapt_home_ownership?).to eq(true)
+          expect(user_config.home_without_skel?).to eq(false)
         end.and_return(writer)
 
         expect(writer).to receive(:write)

Reply via email to