Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11593 - in /trunk/libzypp/zypp/solver/detail: Resolver.h Testcase.cc Testcase.h
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Thu, 06 Nov 2008 15:22:42 -0000
  • Message-id: <20081106152243.05E1D2F37C@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Thu Nov 6 16:22:42 2008
New Revision: 11593

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11593&view=rev
Log:
added flag: ignorealreadyrecommended to the testcases

Modified:
trunk/libzypp/zypp/solver/detail/Resolver.h
trunk/libzypp/zypp/solver/detail/Testcase.cc
trunk/libzypp/zypp/solver/detail/Testcase.h

Modified: trunk/libzypp/zypp/solver/detail/Resolver.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/Resolver.h?rev=11593&r1=11592&r2=11593&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/Resolver.h (original)
+++ trunk/libzypp/zypp/solver/detail/Resolver.h Thu Nov 6 16:22:42 2008
@@ -111,7 +111,7 @@
// no recommended resolvables, language
// packages, hardware packages (modalias)

- bool _ignorealreadyrecommended; //ignore recommended packages that were
already recommended by the installed packages
+ bool _ignorealreadyrecommended; //ignore recommended packages that have
already been recommended by the installed packages

// Additional QueueItems which has to be regarded by the solver
// This will be used e.g. by solution actions

Modified: trunk/libzypp/zypp/solver/detail/Testcase.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/Testcase.cc?rev=11593&r1=11592&r2=11593&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/Testcase.cc (original)
+++ trunk/libzypp/zypp/solver/detail/Testcase.cc Thu Nov 6 16:22:42 2008
@@ -352,7 +352,8 @@
pool.getRequestedLocales(),
"solver-system.xml.gz",
resolver.forceResolve(),
- resolver.onlyRequires());
+ resolver.onlyRequires(),
+ resolver.ignorealreadyrecommended() );

for (PoolItemList::const_iterator iter = items_to_install.begin(); iter !=
items_to_install.end(); iter++) {
control.installResolvable (iter->resolvable(), iter->status());
@@ -410,7 +411,8 @@
const LocaleSet &languages,
const std::string & systemPath,
const bool forceResolve,
- const bool onlyRequires)
+ const bool onlyRequires,
+ const bool ignorealreadyrecommended)
:dumpFile (controlPath)
{
file = new ofstream(controlPath.c_str());
@@ -453,6 +455,9 @@
if (onlyRequires)
*file << TAB << "<onlyRequires/>" << endl;

+ if (ignorealreadyrecommended)
+ *file << TAB << "<ignorealreadyrecommended/>" << endl;
+
*file << "</setup>" << endl
<< "<trial>" << endl
<< "<showpool all=\"yes\"/>" << endl;

Modified: trunk/libzypp/zypp/solver/detail/Testcase.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/Testcase.h?rev=11593&r1=11592&r2=11593&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/Testcase.h (original)
+++ trunk/libzypp/zypp/solver/detail/Testcase.h Thu Nov 6 16:22:42 2008
@@ -102,7 +102,8 @@
const LocaleSet &languages,
const std::string & systemPath = "solver-system.xml.gz",
const bool forceResolve = false,
- const bool onlyRequires = false);
+ const bool onlyRequires = false,
+ const bool ignorealreadyrecommended = false);
HelixControl ();
~HelixControl ();


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

< Previous Next >
This Thread
  • No further messages