Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2014-08-16 15:37:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2014-08-07 
08:08:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2014-08-16 
15:37:38.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Aug 13 16:35:56 CEST 2014 - [email protected]
+
+- Warning that an already existing autoyast configuration file will
+  be overwritten. (bnc#888546)
+- 3.1.54
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-3.1.53.tar.bz2

New:
----
  autoyast2-3.1.54.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.XJlIJz/_old  2014-08-16 15:37:39.000000000 +0200
+++ /var/tmp/diff_new_pack.XJlIJz/_new  2014-08-16 15:37:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.53
+Version:        3.1.54
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ autoyast2-3.1.53.tar.bz2 -> autoyast2-3.1.54.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.53/package/autoyast2.changes 
new/autoyast2-3.1.54/package/autoyast2.changes
--- old/autoyast2-3.1.53/package/autoyast2.changes      2014-08-06 
16:59:43.000000000 +0200
+++ new/autoyast2-3.1.54/package/autoyast2.changes      2014-08-13 
17:05:12.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed Aug 13 16:35:56 CEST 2014 - [email protected]
+
+- Warning that an already existing autoyast configuration file will
+  be overwritten. (bnc#888546)
+- 3.1.54
+
+-------------------------------------------------------------------
 Wed Aug  6 12:11:15 CEST 2014 - [email protected]
 
 - Exporting user deleted packages correctly. Only locked packages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.53/package/autoyast2.spec 
new/autoyast2-3.1.54/package/autoyast2.spec
--- old/autoyast2-3.1.53/package/autoyast2.spec 2014-08-06 16:59:43.000000000 
+0200
+++ new/autoyast2-3.1.54/package/autoyast2.spec 2014-08-13 17:05:12.000000000 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.53
+Version:        3.1.54
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.53/src/clients/clone_system.rb 
new/autoyast2-3.1.54/src/clients/clone_system.rb
--- old/autoyast2-3.1.53/src/clients/clone_system.rb    2014-08-06 
16:59:43.000000000 +0200
+++ new/autoyast2-3.1.54/src/clients/clone_system.rb    2014-08-13 
17:05:12.000000000 +0200
@@ -22,6 +22,7 @@
       Yast.import "CommandLine"
       Yast.import "Y2ModuleConfig"
       Yast.import "Mode"
+      Yast.import "FileUtils"
 
       textdomain "autoinst"
 
@@ -83,6 +84,16 @@
 
     def doClone(options)
       target_path = options["target_path"] || "/root/autoinst.xml"
+
+      # Autoyast overwriting an already existing config file.
+      # The warning is only needed while calling "yast clone_system". It is not
+      # needed in the installation workflow where it will be checked by the 
file selection box
+      # directly. (bnc#888546)
+      if Mode.normal && FileUtils.Exists(target_path)
+        # TRANSLATORS: Warning that an already existing autoyast configuration 
file will be overwritten.
+        return false unless Popup.ContinueCancel(_("File %s exists! Really 
overwrite?") % target_path)
+      end
+
       Popup.ShowFeedback(
         _("Cloning the system..."),
         # TRANSLATORS: %s is path where profile can be found

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to