Mailinglist Archive: zypp-commit (149 mails)

< Previous Next >
[zypp-commit] r5405 - in /trunk/libzypp/devel/devel.ma: AOUT.cc Main.cc Tools.h iorderbug.pool
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Wed, 18 Apr 2007 12:57:19 -0000
  • Message-id: <20070418125720.15C823557E@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Wed Apr 18 14:57:19 2007
New Revision: 5405

URL: http://svn.opensuse.org/viewcvs/zypp?rev=5405&view=rev
Log:
backup

Modified:
    trunk/libzypp/devel/devel.ma/AOUT.cc
    trunk/libzypp/devel/devel.ma/Main.cc
    trunk/libzypp/devel/devel.ma/Tools.h
    trunk/libzypp/devel/devel.ma/iorderbug.pool

Modified: trunk/libzypp/devel/devel.ma/AOUT.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/AOUT.cc?rev=5405&r1=5404&r2=5405&view=diff
==============================================================================
--- trunk/libzypp/devel/devel.ma/AOUT.cc (original)
+++ trunk/libzypp/devel/devel.ma/AOUT.cc Wed Apr 18 14:57:19 2007
@@ -1,22 +1,17 @@
-#include <iostream>
-#include <fstream>
-#include <string>
-#include <list>
-
-#include <zypp/base/Logger.h>
-#include <zypp/base/LogTools.h>
-#include <zypp/PackageKeyword.h>
+#include "Tools.h"
+
+#include "zypp/base/Sysconfig.h"
 
 using std::endl;
 using namespace zypp;
+namespace sysconfig = base::sysconfig;
 
 ///////////////////////////////////////////////////////////////////
-namespace parse
+namespace zypp
 { /////////////////////////////////////////////////////////////////
 
-
   /////////////////////////////////////////////////////////////////
-} // namespace parse
+} // namespace zypp
 ///////////////////////////////////////////////////////////////////
 
 
@@ -29,15 +24,13 @@
 {
   DBG << "===[START]==========================================" << endl;
 
-  const char * _l[] = { "a", "b", "c", "a", "b", "c" };
-  std::list<std::string> l( _l, _l+(sizeof(_l)/sizeof(*_l)) );
-  DBG << l << endl;
-
-  std::list<PackageKeyword> k( l.begin(), l.end() );
-  DBG << k << endl;
-
-  dumpRange( MIL, PackageKeyword::allBegin(), PackageKeyword::allEnd() );
+  Capability f( CapFactory().parse( Resolvable::Kind( "package" ), "filesystem(foo)" ) );
+  Capability e( CapFactory().filesystemEvalCap() );
 
+  MIL << f << endl;
+  MIL << e << endl;
+  MIL << f.matches( e ) << endl;
+  MIL << e.matches( f ) << endl;
 
   DBG << "===[END]============================================" << endl;
   zypp::base::LogControl::instance().logNothing();

Modified: trunk/libzypp/devel/devel.ma/Main.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/Main.cc?rev=5405&r1=5404&r2=5405&view=diff
==============================================================================
--- trunk/libzypp/devel/devel.ma/Main.cc (original)
+++ trunk/libzypp/devel/devel.ma/Main.cc Wed Apr 18 14:57:19 2007
@@ -153,7 +153,7 @@
   ///////////////////////////////////////////////////////////////////
   // solve
   ///////////////////////////////////////////////////////////////////
-  if ( 0 )
+  if ( 1 )
   {
     solve();
   }

Modified: trunk/libzypp/devel/devel.ma/Tools.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/Tools.h?rev=5405&r1=5404&r2=5405&view=diff
==============================================================================
--- trunk/libzypp/devel/devel.ma/Tools.h (original)
+++ trunk/libzypp/devel/devel.ma/Tools.h Wed Apr 18 14:57:19 2007
@@ -8,6 +8,7 @@
 #include <set>
 
 #include "Printing.h"
+#include "FakePool.h"
 
 #include <zypp/base/Counter.h>
 #include <zypp/base/Measure.h>

Modified: trunk/libzypp/devel/devel.ma/iorderbug.pool
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/iorderbug.pool?rev=5405&r1=5404&r2=5405&view=diff
==============================================================================
--- trunk/libzypp/devel/devel.ma/iorderbug.pool (original)
+++ trunk/libzypp/devel/devel.ma/iorderbug.pool Wed Apr 18 14:57:19 2007
@@ -22,5 +22,7 @@
 - fontcfg 2 1 i686
 #@ prerequires
 #bash
+filesystem()
+filesystem(sdfa)
 
 @ fin

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

< Previous Next >
This Thread
  • No further messages