Hello community,
here is the log from the commit of package yast2-support
checked in at Tue Nov 25 16:10:53 CET 2008.
--------
--- yast2-support/yast2-support.changes 2008-11-20 15:44:58.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-support/yast2-support.changes 2008-11-25 15:43:07.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Nov 25 15:34:01 CET 2008 - mzugec@suse.cz
+
+- copy also .md5 file (bnc#445294)
+- handle `close event (bnc#446073)
+- quote upload target URL (bnc#445315)
+- SR numbers validator (bnc#445289)
+- 2.17.17
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-support-2.17.16.tar.bz2
New:
----
yast2-support-2.17.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-support.spec ++++++
--- /var/tmp/diff_new_pack.F17245/_old 2008-11-25 16:10:36.000000000 +0100
+++ /var/tmp/diff_new_pack.F17245/_new 2008-11-25 16:10:36.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-support (Version 2.17.16)
+# spec file for package yast2-support (Version 2.17.17)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-support
-Version: 2.17.16
-Release: 2
+Version: 2.17.17
+Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-support-2.17.16.tar.bz2
+Source0: yast2-support-2.17.17.tar.bz2
Prefix: /usr
Requires: yast2
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
@@ -38,7 +38,7 @@
%prep
-%setup -n yast2-support-2.17.16
+%setup -n yast2-support-2.17.17
%build
%{prefix}/bin/y2tool y2autoconf
@@ -72,6 +72,12 @@
/usr/share/YaST2/scrconf/*.scr
%doc %{prefix}/share/doc/packages/yast2-support
%changelog
+* Tue Nov 25 2008 mzugec@suse.cz
+- copy also .md5 file (bnc#445294)
+- handle `close event (bnc#446073)
+- quote upload target URL (bnc#445315)
+- SR numbers validator (bnc#445289)
+- 2.17.17
* Thu Nov 20 2008 mzugec@suse.cz
- fixed help string (bnc#436773)
* Wed Nov 19 2008 jsrain@suse.cz
++++++ yast2-support-2.17.16.tar.bz2 -> yast2-support-2.17.17.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.17.16/src/dialogs.ycp new/yast2-support-2.17.17/src/dialogs.ycp
--- old/yast2-support-2.17.16/src/dialogs.ycp 2008-11-20 12:07:32.000000000 +0100
+++ new/yast2-support-2.17.17/src/dialogs.ycp 2008-11-25 15:37:30.000000000 +0100
@@ -111,13 +111,13 @@
any ret = nil;
while(true) {
ret = UI::UserInput();
- if (ret == `abort || ret == `tarball || ret == `upload || ret == `next)
+ if (ret == `abort || ret == `cancel || ret == `tarball || ret == `upload || ret == `next)
break;
else
if (ret == `browser){
if (Support::browser==nil) Popup::Error(_("Couldn't find any installed browser."));
else{
- string url="http://www.novell.com/center/eservice";
+ string url="'http://www.novell.com/center/eservice'";
if (0 == SCR::Execute (.target.bash, "env|grep LOGNAME|cut -d'=' -f2- | grep root"))
{
if (Popup::ContinueCancel (sformat (_("YaST will run a web browser as superuser. Consider
@@ -137,12 +137,13 @@
}
}
}
+ if (ret==`cancel) ret=`abort;
return ret;
}
any UploadDialog(boolean data_prepared){
string caption = _("Supportconfig Upload Dialog");
- string url=Support::options["VAR_OPTION_UPLOAD_TARGET"]:"";
+ string url=deletechars(Support::options["VAR_OPTION_UPLOAD_TARGET"]:"", "'");
y2milestone("URL value from /etc/supportconfig.conf : %1", url);
y2milestone("%1", Support::log_files);
string home=((map)SCR::Execute(.target.bash_output, "echo ~|tr -d '\n'"))["stdout"]:"";
@@ -201,7 +202,7 @@
command = sformat("%1 -u -U %2", command, sformat("https://secure-www.novell.com/upload?appname=supportconfig&file=%1", Support::log_files["tarball"]:""));
else
*/
- command = sformat("%1 -u -U %2", command, url);
+ command = sformat("%1 -u -U '%2'", command, url);
// }
}
if (Support::WhoAmI() != 0) {
@@ -229,7 +230,7 @@
if (data_prepared && (boolean)UI::QueryWidget(`save, `Value)) {
string tarball = Support::log_files["tarball"]:"";
string output_dir = (string)UI::QueryWidget(`save_dir, `Value);
- string command = sformat("cp '%1' '%2'", tarball, output_dir);
+ string command = sformat("cp %1* '%2'", tarball, output_dir);
y2milestone("execute %1 : %2", command, SCR::Execute(.target.bash_output, command));
}
}
@@ -497,12 +498,13 @@
`Left(`InputField(`id(`terminalid), _("Terminal ID"), Support::options["VAR_OPTION_CONTACT_TERMINALID"]:""))
)),
`Frame (_("Upload Information"), `VBox(
- `Left(`InputField(`id(`target), _("Upload Target"), Support::options["VAR_OPTION_UPLOAD_TARGET"]:"")),
+ `Left(`InputField(`id(`target), _("Upload Target"), deletechars(Support::options["VAR_OPTION_UPLOAD_TARGET"]:"", "'"))),
`Left(`InputField(`id(`novell_number), _("Novell 11 digit service request number"), Support::novell_number))
)));
Wizard::SetContentsButtons(caption, contents, HELPS["contact"]:"",
Label::BackButton(), Label::NextButton());
+ UI::ChangeWidget(`novell_number, `ValidChars, "0123456789");
any ret = nil;
while(true) {
@@ -521,8 +523,15 @@
Support::options["VAR_OPTION_CONTACT_PHONE"]=(string)UI::QueryWidget(`phone, `Value);
Support::options["VAR_OPTION_CONTACT_STOREID"]=(string)UI::QueryWidget(`storeid, `Value);
Support::options["VAR_OPTION_CONTACT_TERMINALID"]=(string)UI::QueryWidget(`terminalid, `Value);
- Support::options["VAR_OPTION_UPLOAD_TARGET"]=(string)UI::QueryWidget(`target, `Value);
+ Support::options["VAR_OPTION_UPLOAD_TARGET"]=sformat("'%1'", (string)UI::QueryWidget(`target, `Value));
Support::novell_number=(string)UI::QueryWidget(`novell_number, `Value);
+ if (size(Support::novell_number)>0){
+ if (size(Support::novell_number)!=11){
+ Popup::Error(_("The SR number must be 11 digits"));
+ ret=nil;
+ continue;
+ }
+ }
Support::WriteConfig();
break;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.17.16/src/wizards.ycp new/yast2-support-2.17.17/src/wizards.ycp
--- old/yast2-support-2.17.16/src/wizards.ycp 2008-10-10 12:49:21.000000000 +0200
+++ new/yast2-support-2.17.17/src/wizards.ycp 2008-11-25 15:17:06.000000000 +0100
@@ -60,6 +60,7 @@
map sequence = $[
"ws_start" : "overview",
"overview" : $[
+ `cancel : `abort,
`abort : `abort,
`back : `back,
`tarball : "parameters",
@@ -67,38 +68,45 @@
`next : `next,
],
"upload1" : $[
+ `cancel : `abort,
`abort : `abort,
`back : "overview",
`next : "overview"
],
"parameters" : $[
+ `cancel : `abort,
`abort : `abort,
`expert : "expert",
`next : "contact",
],
"expert" : $[
+ `cancel : `abort,
`abort : `abort,
`back : `back,
`next : "parameters",
],
"contact" : $[
+ `cancel : `abort,
`abort : `abort,
`back : `back,
`next : "generate",
],
"generate" : $[
+ `cancel : `abort,
`abort : `abort,
`back : `back,
`next : "files",
],
"files" : $[
+ `cancel : `abort,
`abort : `abort,
`back : `back,
`next : "upload2",
],
"upload2" : $[
+ `cancel : `abort,
`abort : `abort,
`back : "overview",
`next : "overview"
@@ -129,6 +137,7 @@
`next : "main"
],
"main" : $[
+ `cancel : `abort,
`abort : `abort,
`next : "write"
],
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.17.16/support.pot new/yast2-support-2.17.17/support.pot
--- old/yast2-support-2.17.16/support.pot 2008-11-20 12:07:59.000000000 +0100
+++ new/yast2-support-2.17.17/support.pot 2008-11-20 15:43:10.000000000 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-11-20 12:07+0100\n"
+"POT-Creation-Date: 2008-11-20 15:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -730,7 +730,7 @@
msgstr ""
#: src/supportconfig_conf.ycp:57
-msgid "Normally all of the /var/log/YaST2/y2log logs are included. This option minimizes the amount of each file retrieved."
+msgid "Normally all of the /var/log/YaST2/* logs are included. This option minimizes the amount of each file retrieved."
msgstr ""
#: src/supportconfig_conf.ycp:58
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-support-2.17.16/VERSION new/yast2-support-2.17.17/VERSION
--- old/yast2-support-2.17.16/VERSION 2008-11-20 11:52:24.000000000 +0100
+++ new/yast2-support-2.17.17/VERSION 2008-11-25 15:33:59.000000000 +0100
@@ -1 +1 @@
-2.17.16
+2.17.17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org