Author: locilka Date: Fri Feb 19 12:57:57 2010 New Revision: 60870 URL: http://svn.opensuse.org/viewcvs/yast?rev=60870&view=rev Log: Added some more logging for debugging registration issues later Modified: branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp Modified: branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp?rev=60870&r1=60869&r2=60870&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/wagon/src/clients/wagon_registration_handler.ycp Fri Feb 19 12:57:57 2010 @@ -59,6 +59,7 @@ // all repository aliases list <string> all_repos = GetCurrentlyEnabledReposByAlias(); + y2milestone ("Currently registered repositories: %1", all_repos); // BNC #576553: Adjusts suse_config sysconfig values according the control file AdjustSuseRegisterDefaults(); @@ -70,7 +71,9 @@ while (true) { // Only in mode=="normal" suse_register reads settings from sysconfig Mode::SetMode ("normal"); + y2milestone ("Running inst_suse_register..."); ret = (symbol) WFM::CallFunction ("inst_suse_register", WFM::Args()); + y2milestone ("Script inst_suse_register returned: %1", ret); Mode::SetMode ("update"); AdjustRegistrationHandlerScreen(); @@ -85,9 +88,10 @@ // Registration must have done something with repositories // e.g., register new ones, disable old ones - that's wanted - if (all_repos != GetCurrentlyEnabledReposByAlias()) { + list <string> current_repos = GetCurrentlyEnabledReposByAlias(); + if (all_repos != current_repos) { Wagon::repos_already_registered = true; - y2milestone ("List of repositories has changed"); + y2milestone ("List of repositories has changed: %1", current_repos); break; } @@ -97,6 +101,8 @@ break; } + y2warning ("Repos were not changed: %1", current_repos); + // Never called before, nothing changed if (Popup::AnyQuestion ( // dialog caption -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org