Hello community, here is the log from the commit of package yast2-users for openSUSE:Factory checked in at 2016-08-18 10:19:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-users (Old) and /work/SRC/openSUSE:Factory/.yast2-users.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-users" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes 2016-07-07 15:09:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes 2016-08-18 10:19:36.000000000 +0200 @@ -1,0 +2,14 @@ +Fri Aug 12 14:37:40 UTC 2016 - an...@suse.com + +- The YaST client using the user creation dialog can now know + which action was selected by the user (needed to fix bsc#992245) +- 3.1.55 + +------------------------------------------------------------------- +Thu Aug 11 11:37:12 UTC 2016 - an...@suse.com + +- Fixed the installation dialog for user creation so it works + also in YaST Firstboot (needed to fix bsc#992245) +- 3.1.54 + +------------------------------------------------------------------- Old: ---- yast2-users-3.1.53.tar.bz2 New: ---- yast2-users-3.1.55.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.OG1fuF/_old 2016-08-18 10:19:37.000000000 +0200 +++ /var/tmp/diff_new_pack.OG1fuF/_new 2016-08-18 10:19:37.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.53 +Version: 3.1.55 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-users-3.1.53.tar.bz2 -> yast2-users-3.1.55.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.53/package/yast2-users.changes new/yast2-users-3.1.55/package/yast2-users.changes --- old/yast2-users-3.1.53/package/yast2-users.changes 2016-06-27 11:46:58.000000000 +0200 +++ new/yast2-users-3.1.55/package/yast2-users.changes 2016-08-12 16:59:07.000000000 +0200 @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Fri Aug 12 14:37:40 UTC 2016 - an...@suse.com + +- The YaST client using the user creation dialog can now know + which action was selected by the user (needed to fix bsc#992245) +- 3.1.55 + +------------------------------------------------------------------- +Thu Aug 11 11:37:12 UTC 2016 - an...@suse.com + +- Fixed the installation dialog for user creation so it works + also in YaST Firstboot (needed to fix bsc#992245) +- 3.1.54 + +------------------------------------------------------------------- Mon Jun 27 09:18:59 UTC 2016 - igonzalezs...@suse.com - Fix creation of the first user account during installation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.53/package/yast2-users.spec new/yast2-users-3.1.55/package/yast2-users.spec --- old/yast2-users-3.1.53/package/yast2-users.spec 2016-06-27 11:46:58.000000000 +0200 +++ new/yast2-users-3.1.55/package/yast2-users.spec 2016-08-12 16:59:07.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 3.1.53 +Version: 3.1.55 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-3.1.53/src/lib/users/dialogs/inst_user_first.rb new/yast2-users-3.1.55/src/lib/users/dialogs/inst_user_first.rb --- old/yast2-users-3.1.53/src/lib/users/dialogs/inst_user_first.rb 2016-06-27 11:46:58.000000000 +0200 +++ new/yast2-users-3.1.55/src/lib/users/dialogs/inst_user_first.rb 2016-08-12 16:59:08.000000000 +0200 @@ -41,6 +41,10 @@ } private_constant :WIDGETS + # @return [Symbol] Action selected by the user. Possible values are + # :new_user, :import (only possible during installation) and :skip. + attr_reader :action + def initialize super import_yast_modules @@ -59,7 +63,7 @@ # Check if some users database was imported from a # different partition (done during pre_install) - users_databases = Users::UsersDatabase.all + users_databases = ::Users::UsersDatabase.all @import_available = users_databases.any? if @import_available @importable_users = importable_users(users_databases) @@ -314,8 +318,6 @@ UI.SetFocus(Id(widget)) if widget end - attr_reader :action - def action=(value) @action = value refresh @@ -478,7 +480,7 @@ return false end - passwd = Users::LocalPassword.new(username: username, plain: pw1, also_for_root: @use_pw_for_root) + passwd = ::Users::LocalPassword.new(username: username, plain: pw1, also_for_root: @use_pw_for_root) if !passwd.valid? message = passwd.errors.join("\n\n") + "\n\n" + _("Really use this password?") if !Popup.YesNo(message)