Mailinglist Archive: yast-commit (133 mails)
| < Previous | Next > |
[yast-commit] r62354 - in /branches/SuSE-Code-11-SP1-Branch/product-creator: VERSION package/yast2-product-creator.changes src/commandline.ycp
- From: jsuchome@xxxxxxxxxxxxxxxx
- Date: Thu, 05 Aug 2010 11:27:33 -0000
- Message-id: <E1Ogybl-00021F-Sa@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Thu Aug 5 13:27:33 2010
New Revision: 62354
URL: http://svn.opensuse.org/viewcvs/yast?rev=62354&view=rev
Log:
- command line mode fixes: initialize the sources, automatically
import GPG keys (bnc#626512)
- 2.17.37
Modified:
branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
Modified: branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION (original)
+++ branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION Thu Aug 5
13:27:33 2010
@@ -1 +1 @@
-2.17.36
+2.17.37
Modified:
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
(original)
+++
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
Thu Aug 5 13:27:33 2010
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Aug 5 13:19:11 CEST 2010 - jsuchome@xxxxxxx
+
+- command line mode fixes: initialize the sources, automatically
+ import GPG keys (bnc#626512)
+- 2.17.37
+
+-------------------------------------------------------------------
Wed Jul 28 15:30:51 CEST 2010 - jsuchome@xxxxxxx
- save config.xml after changing the package list (bnc#599952)
Modified: branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
(original)
+++ branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp Thu
Aug 5 13:27:33 2010
@@ -13,9 +13,15 @@
import "Progress";
import "ProductCreator";
import "RichText";
+ import "SourceManager";
textdomain "product-creator";
+ // dummy function to return true when callback is invoked (from
AutoInstall.ycp)
+ define boolean callbackTrue_boolean_map_integer(map<string,any> dummy_map,
integer dummy) {
+ return true;
+ }
+
void ProcessConfigFileOption(map params)
{
if (haskey(params, "configfile"))
@@ -156,6 +162,20 @@
ProductCreator::Readisolinux();
}
+ if (action != "show")
+ {
+ // initialize the sources before commiting configuration
+
+ ProductCreator::ResetArch();
+ // unload all active sources (reset the internal state, see
bnc#469191)
+ Pkg::SourceFinishAll();
+
+ SourceManager::ReadSources();
+
+ // automatically import GPG keys when adding repository
+ Pkg::CallbackImportGpgKey (callbackTrue_boolean_map_integer);
+ }
+
// save the new configuration into global map, parse autoyast profile
ProductCreator::CommitConfig ();
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Thu Aug 5 13:27:33 2010
New Revision: 62354
URL: http://svn.opensuse.org/viewcvs/yast?rev=62354&view=rev
Log:
- command line mode fixes: initialize the sources, automatically
import GPG keys (bnc#626512)
- 2.17.37
Modified:
branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
Modified: branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION (original)
+++ branches/SuSE-Code-11-SP1-Branch/product-creator/VERSION Thu Aug 5
13:27:33 2010
@@ -1 +1 @@
-2.17.36
+2.17.37
Modified:
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
(original)
+++
branches/SuSE-Code-11-SP1-Branch/product-creator/package/yast2-product-creator.changes
Thu Aug 5 13:27:33 2010
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Aug 5 13:19:11 CEST 2010 - jsuchome@xxxxxxx
+
+- command line mode fixes: initialize the sources, automatically
+ import GPG keys (bnc#626512)
+- 2.17.37
+
+-------------------------------------------------------------------
Wed Jul 28 15:30:51 CEST 2010 - jsuchome@xxxxxxx
- save config.xml after changing the package list (bnc#599952)
Modified: branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp?rev=62354&r1=62353&r2=62354&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp
(original)
+++ branches/SuSE-Code-11-SP1-Branch/product-creator/src/commandline.ycp Thu
Aug 5 13:27:33 2010
@@ -13,9 +13,15 @@
import "Progress";
import "ProductCreator";
import "RichText";
+ import "SourceManager";
textdomain "product-creator";
+ // dummy function to return true when callback is invoked (from
AutoInstall.ycp)
+ define boolean callbackTrue_boolean_map_integer(map<string,any> dummy_map,
integer dummy) {
+ return true;
+ }
+
void ProcessConfigFileOption(map params)
{
if (haskey(params, "configfile"))
@@ -156,6 +162,20 @@
ProductCreator::Readisolinux();
}
+ if (action != "show")
+ {
+ // initialize the sources before commiting configuration
+
+ ProductCreator::ResetArch();
+ // unload all active sources (reset the internal state, see
bnc#469191)
+ Pkg::SourceFinishAll();
+
+ SourceManager::ReadSources();
+
+ // automatically import GPG keys when adding repository
+ Pkg::CallbackImportGpgKey (callbackTrue_boolean_map_integer);
+ }
+
// save the new configuration into global map, parse autoyast profile
ProductCreator::CommitConfig ();
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |