Mailinglist Archive: opensuse-commit (1082 mails)

< Previous Next >
commit yast2-support
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 04 May 2007 00:45:41 +0200
  • Message-id: <20070503224542.155D2678183@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-support
checked in at Fri May 4 00:45:41 CEST 2007.

--------
--- yast2-support/yast2-support.changes 2007-04-24 15:27:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-support/yast2-support.changes    2007-05-02 11:22:48.788238000 +0200
@@ -1,0 +2,6 @@
+Wed May  2 11:20:41 CEST 2007 - varkoly@xxxxxxx
+
+- Bug 269907 - yast support does not understand the "help" option
+- 2.15.2 
+
+-------------------------------------------------------------------

Old:
----
  yast2-support-2.15.1.tar.bz2

New:
----
  yast2-support-2.15.2.tar.bz2

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

Other differences:
------------------
++++++ yast2-support.spec ++++++
--- /var/tmp/diff_new_pack.c22554/_old  2007-05-04 00:45:34.000000000 +0200
+++ /var/tmp/diff_new_pack.c22554/_new  2007-05-04 00:45:34.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package yast2-support (Version 2.15.1)
+# spec file for package yast2-support (Version 2.15.2)
 #
 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
 # norootforbuild
 
 Name:           yast2-support
-Version:        2.15.1
+Version:        2.15.2
 Release:        1
 License:        GNU General Public License (GPL)
 Group:          System/YaST
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-support-2.15.1.tar.bz2
+Source0:        yast2-support-2.15.2.tar.bz2
 prefix:                /usr
 BuildRequires:  doxygen perl-XML-Writer pkg-config update-desktop-files yast2 yast2-devtools yast2-testsuite
 Requires:       yast2 siga gzip
@@ -32,7 +32,7 @@
 
 
 %prep
-%setup -n yast2-support-2.15.1
+%setup -n yast2-support-2.15.2
 
 %build
 %{prefix}/bin/y2tool y2autoconf
@@ -66,6 +66,9 @@
 %doc %{prefix}/share/doc/packages/yast2-support
 
 %changelog
+* Wed May 02 2007 - varkoly@xxxxxxx
+- Bug 269907 - yast support does not understand the "help" option
+- 2.15.2
 * Tue Apr 24 2007 - varkoly@xxxxxxx
 - Bug 264982 - Support module:: Entry KDE/X11 wrong
 - 2.15.1

++++++ yast2-support-2.15.1.tar.bz2 -> yast2-support-2.15.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.15.1/src/support.ycp new/yast2-support-2.15.2/src/support.ycp
--- old/yast2-support-2.15.1/src/support.ycp    2007-04-24 15:21:31.000000000 +0200
+++ new/yast2-support-2.15.2/src/support.ycp    2007-05-02 11:07:05.000000000 +0200
@@ -1,34 +1,26 @@
 /*
  *
  *
- * $Id: support.ycp 35328 2007-01-15 09:28:26Z jsrain $
+ * $Id: support.ycp 37771 2007-05-02 09:07:03Z varkoly $
  */
 
 {
     textdomain "support";
 
-    integer current_stage = -1;
 
     import "Wizard";
     import "Popup";
+    import "CommandLine";
+    import "RichText";
+
 
     include "support/support_question.ycp";
     include "support/support_send.ycp";
 
-    /*
-     * exit when running for non-root
-     */
-
-    map res = (map) SCR::Execute(.target.bash_output, "/usr/bin/whoami", $[]);
-    list l_res = splitstring(res["stdout"]:"", "\n");
-
-    if( size(l_res) > 0 &&  l_res[0]:"" != "root")
-    {
-        // Popup label (user is not root)
-        Popup::Message(_("Log in as root to run SUSE support."));
-        return;
-    }
+any SupportGUI()
+{
 
+    integer current_stage = -1;
     // global - not necessary to read data again
     string wrapper_data = "";
     string tmpdir = (string) SCR::Read(.target.tmpdir);
@@ -72,6 +64,36 @@
     // --------------------------------------------------------------
 
     Wizard::CloseDialog();
+}
+    /*
+     * exit when running for non-root
+     */
+
+    map res = (map) SCR::Execute(.target.bash_output, "/usr/bin/whoami", $[]);
+    list l_res = splitstring(res["stdout"]:"", "\n");
+
+    if( size(l_res) > 0 &&  l_res[0]:"" != "root")
+    {
+        // Popup label (user is not root)
+        Popup::Message(_("Log in as root to run SUSE support."));
+        return;
+    }
+
+
+/**
+ * Command line definition
+ */
+map cmdline = $[
+    /* Commandline help title */
+    "help"      : _("Support module"),
+    "id"        : "support",
+    "guihandler": SupportGUI,
+    "initialize": SupportGUI,
+    "finish"    : SupportGUI, // FIXME
+];
+
+any ret = CommandLine::Run(cmdline);
+y2debug("ret=%1", ret);
 
 /* EOF */
 }
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.15.1/VERSION new/yast2-support-2.15.2/VERSION
--- old/yast2-support-2.15.1/VERSION    2007-04-24 15:27:17.000000000 +0200
+++ new/yast2-support-2.15.2/VERSION    2007-05-02 11:20:15.000000000 +0200
@@ -1 +1 @@
-2.15.1
+2.15.2


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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages