Author: jsuchome
Date: Fri Aug 10 14:54:43 2007
New Revision: 40180
URL: http://svn.opensuse.org/viewcvs/yast?rev=40180&view=rev
Log:
- CLI option for gpg passphrase (daniel.rahn and lslezak, #287477)
- 2.13.9
Modified:
branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION
branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes
branches/SuSE-SLE-10-SP1-Branch/product-creator/src/commandline.ycp
branches/SuSE-SLE-10-SP1-Branch/product-creator/src/product-creator.ycp
Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION?rev=40180&r1=40179&r2=40180&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION (original)
+++ branches/SuSE-SLE-10-SP1-Branch/product-creator/VERSION Fri Aug 10 14:54:43 2007
@@ -1 +1 @@
-2.13.8
+2.13.9
Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes?rev=40180&r1=40179&r2=40180&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes (original)
+++ branches/SuSE-SLE-10-SP1-Branch/product-creator/package/yast2-product-creator.changes Fri Aug 10 14:54:43 2007
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Aug 10 14:48:44 CEST 2007 - jsuchome@suse.cz
+
+- CLI option for gpg passphrase (daniel.rahn and lslezak, #287477)
+- 2.13.9
+
+-------------------------------------------------------------------
Wed Aug 8 15:19:45 CEST 2007 - jsuchome@suse.cz
- yet another fix for "Back" button behavior (#289524)
Modified: branches/SuSE-SLE-10-SP1-Branch/product-creator/src/commandline.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP1-Branch/product-creator/src/commandline.ycp?rev=40180&r1=40179&r2=40180&view=diff
==============================================================================
--- branches/SuSE-SLE-10-SP1-Branch/product-creator/src/commandline.ycp (original)
+++ branches/SuSE-SLE-10-SP1-Branch/product-creator/src/commandline.ycp Fri Aug 10 14:54:43 2007
@@ -10,11 +10,32 @@
{
import "CommandLine";
import "Progress";
-
+ import "ProductCreator";
textdomain "product-creator";
+
+ void ProcessConfigFileOption(map params)
+ {
+ if (haskey(params, "configfile"))
+ {
+ string new_config = params["configfile"]:"";
+
+ if (new_config != nil && new_config != "")
+ {
+ y2milestone("Using config file: %1", new_config);
+
+ // TODO FIXME: set the config file path in "initialize" handler,
+ // don't read the default config file if the "configfile" option is used
+ ProductCreator::ConfigFile = new_config;
+ ProductCreator::Read();
+ }
+ }
+ }
+
boolean ListHandler(map params)
{
+ ProcessConfigFileOption(params);
+
foreach(string name, map