Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54570 - in /branches/SuSE-Code-11-Branch/packager: VERSION package/yast2-packager.changes src/clients/repositories.ycp src/modules/SourceDialogs.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 Jan 2009 13:46:12 -0000
  • Message-id: <E1LMjau-00055Q-Os@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Tue Jan 13 14:46:12 2009
New Revision: 54570

URL: http://svn.opensuse.org/viewcvs/yast?rev=54570&view=rev
Log:
- display USB devices when adding USB mass storage repository
(bnc#465650)
- 2.17.56

Modified:
branches/SuSE-Code-11-Branch/packager/VERSION
branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes
branches/SuSE-Code-11-Branch/packager/src/clients/repositories.ycp
branches/SuSE-Code-11-Branch/packager/src/modules/SourceDialogs.ycp

Modified: branches/SuSE-Code-11-Branch/packager/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/VERSION?rev=54570&r1=54569&r2=54570&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/VERSION (original)
+++ branches/SuSE-Code-11-Branch/packager/VERSION Tue Jan 13 14:46:12 2009
@@ -1 +1 @@
-2.17.55
+2.17.56

Modified: branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes?rev=54570&r1=54569&r2=54570&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes
(original)
+++ branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes Tue
Jan 13 14:46:12 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jan 13 14:28:50 CET 2009 - lslezak@xxxxxxx
+
+- display USB devices when adding USB mass storage repository
+ (bnc#465650)
+- 2.17.56
+
+-------------------------------------------------------------------
Mon Jan 5 14:37:23 CET 2009 - lslezak@xxxxxxx

- 2.17.55

Modified: branches/SuSE-Code-11-Branch/packager/src/clients/repositories.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/src/clients/repositories.ycp?rev=54570&r1=54569&r2=54570&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/src/clients/repositories.ycp
(original)
+++ branches/SuSE-Code-11-Branch/packager/src/clients/repositories.ycp Tue Jan
13 14:46:12 2009
@@ -1451,7 +1451,7 @@
}
else
{
- selected_url_scheme = URL::Parse(SourceDialogs::GetURL())["scheme"]:"";
+ selected_url_scheme =
URL::Parse(SourceDialogs::GetRawURL())["scheme"]:"";
y2milestone("Selected URL scheme: %1", selected_url_scheme);

if (selected_url_scheme == nil || selected_url_scheme == "")

Modified: branches/SuSE-Code-11-Branch/packager/src/modules/SourceDialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/src/modules/SourceDialogs.ycp?rev=54570&r1=54569&r2=54570&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/src/modules/SourceDialogs.ycp
(original)
+++ branches/SuSE-Code-11-Branch/packager/src/modules/SourceDialogs.ycp Tue Jan
13 14:46:12 2009
@@ -136,6 +136,15 @@
else return _url;
}

+/**
+ * Return the configured URL in the dialog, do not do any conversion (return
the internal value)
+ * @return string raw internal URL
+ */
+global string GetRawURL()
+{
+ return _url;
+}
+
global boolean IsPlainDir()
{
return _plaindir;
@@ -852,6 +861,7 @@

list<map<string,any> > DetectDisk(boolean usb_only)
{
+ y2milestone("Detecting %1USB disks", usb_only ? "" : "non-");
list<map> disks = (list<map>)SCR::Read(.probe.disk);

y2debug("Detected disks: %1", disks);
@@ -863,7 +873,7 @@
}
);

- y2milestone("Non usb-storage disks: %1", disks);
+ y2milestone("Found disks: %1", disks);

list<map<string,any> > ret = [];


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

< Previous Next >
This Thread
  • No further messages