Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2016-06-05 14:18:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      2016-05-23 
16:37:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2016-06-05 
14:18:04.000000000 +0200
@@ -1,0 +2,7 @@
+Wed May 25 13:50:40 CEST 2016 - sch...@suse.de
+
+- AutoYaST support for ssh_import module.
+  Fate#319624
+- 3.1.129
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-3.1.128.tar.bz2

New:
----
  autoyast2-3.1.129.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.9BF95x/_old  2016-06-05 14:18:05.000000000 +0200
+++ /var/tmp/diff_new_pack.9BF95x/_new  2016-06-05 14:18:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.128
+Version:        3.1.129
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ autoyast2-3.1.128.tar.bz2 -> autoyast2-3.1.129.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/package/autoyast2.changes 
new/autoyast2-3.1.129/package/autoyast2.changes
--- old/autoyast2-3.1.128/package/autoyast2.changes     2016-05-20 
11:01:09.000000000 +0200
+++ new/autoyast2-3.1.129/package/autoyast2.changes     2016-05-31 
11:11:33.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed May 25 13:50:40 CEST 2016 - sch...@suse.de
+
+- AutoYaST support for ssh_import module.
+  Fate#319624
+- 3.1.129
+
+-------------------------------------------------------------------
 Thu May 19 14:46:11 CEST 2016 - sch...@suse.de
 
 - Unsupported sections will be now reported in first installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/package/autoyast2.spec 
new/autoyast2-3.1.129/package/autoyast2.spec
--- old/autoyast2-3.1.128/package/autoyast2.spec        2016-05-20 
11:01:09.000000000 +0200
+++ new/autoyast2-3.1.129/package/autoyast2.spec        2016-05-31 
11:11:33.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           autoyast2
-Version:        3.1.128
+Version:        3.1.129
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/src/Makefile.am 
new/autoyast2-3.1.129/src/Makefile.am
--- old/autoyast2-3.1.128/src/Makefile.am       2016-05-20 11:01:09.000000000 
+0200
+++ new/autoyast2-3.1.129/src/Makefile.am       2016-05-31 11:11:33.000000000 
+0200
@@ -93,6 +93,7 @@
   autoyast-rnc/classes-use.rnc \
   autoyast-rnc/classes-decl.rnc \
   autoyast-rnc/software.rnc \
+  autoyast-rnc/ssh-import.rnc \
   autoyast-rnc/reporting.rnc \
   autoyast-rnc/partitioning.rnc \
   autoyast-rnc/profile-misc.rnc \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/src/autoyast-rnc/ssh-import.rnc 
new/autoyast2-3.1.129/src/autoyast-rnc/ssh-import.rnc
--- old/autoyast2-3.1.128/src/autoyast-rnc/ssh-import.rnc       1970-01-01 
01:00:00.000000000 +0100
+++ new/autoyast2-3.1.129/src/autoyast-rnc/ssh-import.rnc       2016-05-31 
11:11:33.000000000 +0200
@@ -0,0 +1,10 @@
+default namespace = "http://www.suse.com/1.0/yast2ns";
+namespace config = "http://www.suse.com/1.0/configns";
+namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0";
+
+ssh_import =
+  element ssh_import {
+    element import { BOOLEAN }? &
+    element config { BOOLEAN }? &
+    element device { text }?
+  }
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/src/clients/inst_autosetup.rb 
new/autoyast2-3.1.129/src/clients/inst_autosetup.rb
--- old/autoyast2-3.1.128/src/clients/inst_autosetup.rb 2016-05-20 
11:01:09.000000000 +0200
+++ new/autoyast2-3.1.129/src/clients/inst_autosetup.rb 2016-05-31 
11:11:33.000000000 +0200
@@ -61,6 +61,7 @@
         _("Configure Software selections"),
         _("Configure Systemd Default Target"),
         _("Configure users and groups"),
+        _("Import SSH keys/settings"),
         _("Confirm License")
       ]
 
@@ -74,6 +75,7 @@
         _("Configuring Software selections..."),
         _("Configuring Systemd Default Target..."),
         _("Importing users and groups configuration..."),
+        _("Importing SSH keys/settings..."),
         _("Confirming License...")
       ]
 
@@ -394,6 +396,20 @@
       Progress.NextStage
       autosetup_users
 
+      # 
+      # Import profile settings for copying SSH keys from a
+      # previous installation
+      #
+      Progress.NextStage
+      if Profile.current["ssh_import"]
+        config = Profile.current["ssh_import"]
+        Profile.remove_sections("ssh_import")
+        return :abort unless WFM.CallFunction(
+          "ssh_import_auto",
+          ["Import", config]
+        )
+      end
+
       #
       # Checking Base Product licenses
       #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-3.1.128/src/modules/Profile.rb 
new/autoyast2-3.1.129/src/modules/Profile.rb
--- old/autoyast2-3.1.128/src/modules/Profile.rb        2016-05-20 
11:01:09.000000000 +0200
+++ new/autoyast2-3.1.129/src/modules/Profile.rb        2016-05-31 
11:11:33.000000000 +0200
@@ -873,7 +873,7 @@
     # Removes the given sections from the profile
     #
     # @param [String,Array<String>] keys Section names.
-    # @rerturn [Hash] The profile without the removed sections.
+    # @return [Hash] The profile without the removed sections.
     def remove_sections(sections)
       keys_to_delete = Array(sections)
       @current.delete_if { |k, v| keys_to_delete.include?(k) }


Reply via email to