Klaus Kaempf [Fri, 13 Jan 2006 22:05:36 +0000 (22:05 +0000)]
clean up
Klaus Kaempf [Fri, 13 Jan 2006 22:03:07 +0000 (22:03 +0000)]
clean up Makefile.am from useless cruft
Klaus Kaempf [Fri, 13 Jan 2006 21:59:01 +0000 (21:59 +0000)]
move also zypp/target/testsuite up (to testsuite/target)
Klaus Kaempf [Fri, 13 Jan 2006 21:41:54 +0000 (21:41 +0000)]
fix testsuite structure
Klaus Kaempf [Fri, 13 Jan 2006 21:31:34 +0000 (21:31 +0000)]
remove testsuite
Klaus Kaempf [Fri, 13 Jan 2006 21:17:54 +0000 (21:17 +0000)]
stupid ...
Klaus Kaempf [Fri, 13 Jan 2006 21:17:09 +0000 (21:17 +0000)]
move libzypp/zypp/solver/testsuite up to testsuite/solver
libzypp/zypp/solver/testsuite/ needs libzypp for linking, but
was in the make chain _before_ zypp. Thats impossible.
So move it upwards in the directory tree so zypp/... is built
before testsuite/...
Klaus Kaempf [Fri, 13 Jan 2006 21:11:47 +0000 (21:11 +0000)]
move the libzypp testsuite to testsuite/zypp
Klaus Kaempf [Fri, 13 Jan 2006 18:36:58 +0000 (18:36 +0000)]
- add foreachResItemByKind to Worlds
- add establishState and helper functions to Resolver
Klaus Kaempf [Fri, 13 Jan 2006 18:35:58 +0000 (18:35 +0000)]
prepare for patterns
Klaus Kaempf [Fri, 13 Jan 2006 18:31:23 +0000 (18:31 +0000)]
prepare for patterns
Klaus Kaempf [Fri, 13 Jan 2006 18:19:11 +0000 (18:19 +0000)]
typo
Klaus Kaempf [Fri, 13 Jan 2006 18:15:59 +0000 (18:15 +0000)]
remove Makefiles from solver/testsuite/{config,lib,solver.test}
Klaus Kaempf [Fri, 13 Jan 2006 17:03:42 +0000 (17:03 +0000)]
add Pattern
Duncan Mac-Vicar P [Fri, 13 Jan 2006 16:46:56 +0000 (16:46 +0000)]
Implemented the generic interface and implemented the generic Resolvable
store function.
PersistentStorage backend;
backend.storeObject(patch1);
now, lets reimplement retrieve of objects, which is moving some code I
have on test2.cc to the backend class.
Klaus Kaempf [Fri, 13 Jan 2006 16:43:55 +0000 (16:43 +0000)]
'freshen' helper: addResItemToEstablish
Marius Tomaschewski [Fri, 13 Jan 2006 16:43:09 +0000 (16:43 +0000)]
- More documentation
Jiri Srain [Fri, 13 Jan 2006 16:43:09 +0000 (16:43 +0000)]
changed the way group contents is "exported" - no YUM-specific
structures
Marius Tomaschewski [Fri, 13 Jan 2006 16:42:47 +0000 (16:42 +0000)]
- Fixed port number checking regex (numeric only)
Marius Tomaschewski [Fri, 13 Jan 2006 16:41:45 +0000 (16:41 +0000)]
- Removed not existing eflag param from getPort documentation
Marius Tomaschewski [Fri, 13 Jan 2006 16:40:48 +0000 (16:40 +0000)]
- Fixed comment to not to use doxygen intro
Klaus Kaempf [Fri, 13 Jan 2006 15:39:49 +0000 (15:39 +0000)]
init DBusError variable properly
adapt testcase for unsupported implementation
Klaus Kaempf [Fri, 13 Jan 2006 15:35:49 +0000 (15:35 +0000)]
fix filenames
Klaus Kaempf [Fri, 13 Jan 2006 15:33:43 +0000 (15:33 +0000)]
drop Makefile.am in subdirs if they just contain EXTRA_DIST
such things can be handled in the toplevel Makefile.am
Klaus Kaempf [Fri, 13 Jan 2006 15:30:10 +0000 (15:30 +0000)]
dont have Makefiles in subdirs which just have "EXTRA_DEPS"
these things can be specified in the toplevel Makefile.am
Klaus Kaempf [Fri, 13 Jan 2006 15:11:21 +0000 (15:11 +0000)]
adding "Hal" implementation and testsuite
Stefan Schubert [Fri, 13 Jan 2006 13:58:14 +0000 (13:58 +0000)]
taking the best solution
Michael Andres [Fri, 13 Jan 2006 13:45:30 +0000 (13:45 +0000)]
- Added
bool Edition::match( Rel op, const Edition & lhs, const Edition & rhs )
int Edition::match( const Edition & lhs, const Edition & rhs )
Match two Editions treating empty version/release strings as wildcard.
- Added Edition::Match
Binary operator functor matching Edition.
- Fixed Edition::Range do use Edition::match. That's what Capabilities need.
Actually it should be templated to allow using Edition::compare or others
as well.
Michael Andres [Fri, 13 Jan 2006 12:48:56 +0000 (12:48 +0000)]
adapted interface
Stefan Schubert [Fri, 13 Jan 2006 10:51:47 +0000 (10:51 +0000)]
compare release only if BOTH are available
Stefan Schubert [Fri, 13 Jan 2006 09:57:44 +0000 (09:57 +0000)]
checking name of version capabilities
Klaus Kaempf [Thu, 12 Jan 2006 17:14:30 +0000 (17:14 +0000)]
port InstallOrder from yast2-packagemanager
Klaus Kaempf [Thu, 12 Jan 2006 17:13:38 +0000 (17:13 +0000)]
add prerequires()
Stefan Schubert [Thu, 12 Jan 2006 16:52:24 +0000 (16:52 +0000)]
checking NULL pointer
Klaus Kaempf [Thu, 12 Jan 2006 16:24:00 +0000 (16:24 +0000)]
new QueueItem to compute ('establish') a resolvables state
Michael Andres [Thu, 12 Jan 2006 15:49:15 +0000 (15:49 +0000)]
typo
Michael Andres [Thu, 12 Jan 2006 15:40:27 +0000 (15:40 +0000)]
- prepared class zypp::target::Hal
Duncan Mac-Vicar P [Thu, 12 Jan 2006 15:16:07 +0000 (15:16 +0000)]
forgot the arch attribute. At this stage I can fully store and retrieve Patches back from the storage, utilizing the YUM parser.
Marius Tomaschewski [Thu, 12 Jan 2006 15:15:43 +0000 (15:15 +0000)]
- Changed source file order
Marius Tomaschewski [Thu, 12 Jan 2006 15:15:23 +0000 (15:15 +0000)]
- Changes to use ViewOption::DEFAULTS
Marius Tomaschewski [Thu, 12 Jan 2006 15:14:00 +0000 (15:14 +0000)]
- Changed initialization
Marius Tomaschewski [Thu, 12 Jan 2006 15:13:20 +0000 (15:13 +0000)]
- Added assignment operator
Duncan Mac-Vicar P [Thu, 12 Jan 2006 14:41:26 +0000 (14:41 +0000)]
allow YUM parser to understand a slightly different xml representation for dependencies. That way we can reuse the YUM parserfor the storage
Stefan Schubert [Thu, 12 Jan 2006 14:25:43 +0000 (14:25 +0000)]
bugfix for core dump
Duncan Mac-Vicar P [Thu, 12 Jan 2006 12:50:20 +0000 (12:50 +0000)]
fix some XML output and add escaping of Capabilities
Duncan Mac-Vicar P [Thu, 12 Jan 2006 11:07:38 +0000 (11:07 +0000)]
commit the xml escaping functions of a boost based library
Stefan Schubert [Thu, 12 Jan 2006 09:45:29 +0000 (09:45 +0000)]
added solution
Jiri Srain [Thu, 12 Jan 2006 09:41:21 +0000 (09:41 +0000)]
added str::join (reverse to str::split)
added several missing calls to str::split/str::join
Jiri Srain [Thu, 12 Jan 2006 07:48:06 +0000 (07:48 +0000)]
Export package attributes through public interface
Jiri Srain [Thu, 12 Jan 2006 07:47:44 +0000 (07:47 +0000)]
put YUM schema files into correct directory
Marius Tomaschewski [Wed, 11 Jan 2006 17:43:54 +0000 (17:43 +0000)]
- More documentation
Marius Tomaschewski [Wed, 11 Jan 2006 17:42:34 +0000 (17:42 +0000)]
- More documentation
- Renamed getAllKnownSchemes to getRegisteredSchemes
for consistency, added isRegisteredScheme.
- Moved LDAPUrl, UrlByScheme and repository into
anonymous namespace.
Marius Tomaschewski [Wed, 11 Jan 2006 17:40:19 +0000 (17:40 +0000)]
- More documentation
- Renamed getAllKnownSchemes to getRegisteredSchemes
for consistency, added isRegisteredScheme.
Stefan Schubert [Wed, 11 Jan 2006 16:53:15 +0000 (16:53 +0000)]
added comment
Duncan Mac-Vicar P [Wed, 11 Jan 2006 16:41:36 +0000 (16:41 +0000)]
move the serialization stuff out of the test playground file
Duncan Mac-Vicar P [Wed, 11 Jan 2006 16:41:08 +0000 (16:41 +0000)]
move everything out of the test2.cc file to real Backend classes
Stefan Schubert [Wed, 11 Jan 2006 16:24:14 +0000 (16:24 +0000)]
marking text for translation
Michael Andres [Wed, 11 Jan 2006 15:42:34 +0000 (15:42 +0000)]
- Added std::string CapFactory::encode( const Capability & cap_r )
Provides a reparsable string representation of cap_r
Duncan Mac-Vicar P [Wed, 11 Jan 2006 12:59:29 +0000 (12:59 +0000)]
store patch function. tree structure is auto created
Duncan Mac-Vicar P [Wed, 11 Jan 2006 10:44:45 +0000 (10:44 +0000)]
lets use a plain fils system backend while we get a non broken bdxml package for suse
Stefan Schubert [Wed, 11 Jan 2006 10:23:16 +0000 (10:23 +0000)]
cleanup data
Stefan Schubert [Wed, 11 Jan 2006 10:08:27 +0000 (10:08 +0000)]
added more testsuites
Michael Andres [Wed, 11 Jan 2006 09:43:04 +0000 (09:43 +0000)]
backup
Stefan Schubert [Wed, 11 Jan 2006 09:27:46 +0000 (09:27 +0000)]
taking care of the result
Duncan Mac-Vicar P [Tue, 10 Jan 2006 18:08:14 +0000 (18:08 +0000)]
support patch atoms and everything. Only missing a couple of attributes, and Package serialization. Once that is in place, and YUM-XML to Object and back to XML and back to Object works, serialization of resolvables should be completecd
Duncan Mac-Vicar P [Tue, 10 Jan 2006 17:27:36 +0000 (17:27 +0000)]
support Message serializing
Duncan Mac-Vicar P [Tue, 10 Jan 2006 17:21:27 +0000 (17:21 +0000)]
support scripts
Duncan Mac-Vicar P [Tue, 10 Jan 2006 17:09:39 +0000 (17:09 +0000)]
YOUify the XML format so we can reuse the YOU parser for retrieving objects from the backend
Stefan Schubert [Tue, 10 Jan 2006 16:03:05 +0000 (16:03 +0000)]
taking subdirectories of data.de...
Duncan Mac-Vicar P [Tue, 10 Jan 2006 15:53:28 +0000 (15:53 +0000)]
template based serialization playground
Jiri Srain [Tue, 10 Jan 2006 15:14:06 +0000 (15:14 +0000)]
fixed generating diff mails for config files
Stefan Schubert [Tue, 10 Jan 2006 15:08:02 +0000 (15:08 +0000)]
moved to yast-tests
Stefan Schubert [Tue, 10 Jan 2006 15:00:18 +0000 (15:00 +0000)]
deptestomatic moved to data.deptestomatic
Stefan Schubert [Tue, 10 Jan 2006 14:47:30 +0000 (14:47 +0000)]
taking *.solution in the testsuit
Jiri Srain [Tue, 10 Jan 2006 14:46:40 +0000 (14:46 +0000)]
handle exceptions while creating capabilities
Michael Andres [Tue, 10 Jan 2006 14:15:58 +0000 (14:15 +0000)]
- Assert Resolvable provides its 'name=edition', and prerequires
are a in fact a subset of requires.
- Updated examples to use NVRAD to construct Resolvables.
Marius Tomaschewski [Tue, 10 Jan 2006 13:37:11 +0000 (13:37 +0000)]
- Fixed to compare with canonical/lowercase scheme
Marius Tomaschewski [Tue, 10 Jan 2006 13:35:01 +0000 (13:35 +0000)]
- Make sure, scheme has canonical form == lowercase
Marius Tomaschewski [Tue, 10 Jan 2006 13:27:18 +0000 (13:27 +0000)]
- Implemented minimal path name cleanup
Marius Tomaschewski [Tue, 10 Jan 2006 13:26:00 +0000 (13:26 +0000)]
- Added assignment operators
Jiri Srain [Tue, 10 Jan 2006 12:55:01 +0000 (12:55 +0000)]
more classed moved out ot PackageImplIf
Michael Andres [Tue, 10 Jan 2006 11:52:29 +0000 (11:52 +0000)]
No logging if environment var ZYPP_NOLOG is set
Klaus Kaempf [Tue, 10 Jan 2006 10:10:13 +0000 (10:10 +0000)]
remove generated files
Klaus Kaempf [Tue, 10 Jan 2006 10:09:23 +0000 (10:09 +0000)]
remove generated files
Michael Andres [Tue, 10 Jan 2006 09:54:53 +0000 (09:54 +0000)]
- Added direct accessors to the dependeny CapSets in Resolvable.
(i.e. Resolvable::provides(), Resolvable::requires(), etc.)
- Removed Resolvable::deps and Resolvable::setDeps.
(a Resolvable::deprecatedSetDeps is kept untill solver/temorary is cleaned)
- Resolvable factories makeResolvable(And|From)Impl now take a reference to
struct NVRAD (name,edition,arch,deps). The prefered way of creating resolvables
now is filling a NVRAD, then constructing the object. NOTE: Manipulation of
dependenciues after construction will be eliminated fron the Resolvables public
interface.
Jiri Srain [Tue, 10 Jan 2006 09:32:46 +0000 (09:32 +0000)]
Moved DiskUsage class out of PackageImplIf
Michael Andres [Mon, 9 Jan 2006 22:41:18 +0000 (22:41 +0000)]
- Added helper struct NVR (name,edition(version,relase))
and NVRAD(name,edition,arch,dependencies).
- Resolvable construction now supports NVRAD. Manipulation of
Dependencies after construction via the Resolvables public
interface is deprecated. To be fixed in RpmDb and YUMParser.
Klaus Kaempf [Mon, 9 Jan 2006 20:44:28 +0000 (20:44 +0000)]
libredcarpet testcases need edition, even if its zero
Klaus Kaempf [Mon, 9 Jan 2006 20:33:18 +0000 (20:33 +0000)]
support ximian-style '(any)' as relation op
Klaus Kaempf [Mon, 9 Jan 2006 19:36:45 +0000 (19:36 +0000)]
disable build of static libs
Marius Tomaschewski [Mon, 9 Jan 2006 17:58:59 +0000 (17:58 +0000)]
- More documentation.
Duncan Mac-Vicar P [Mon, 9 Jan 2006 17:31:43 +0000 (17:31 +0000)]
start using xml backend
Klaus Kaempf [Mon, 9 Jan 2006 16:59:33 +0000 (16:59 +0000)]
dont pass NULL to a std::string parameter
Stefan Schubert [Mon, 9 Jan 2006 16:16:48 +0000 (16:16 +0000)]
taking matches of the capabilities
Michael Andres [Mon, 9 Jan 2006 14:57:52 +0000 (14:57 +0000)]
Addded str::split: Split \a line_r into words.
Michael Andres [Mon, 9 Jan 2006 11:30:44 +0000 (11:30 +0000)]
Adapted StoreWorld
Michael Andres [Mon, 9 Jan 2006 11:23:36 +0000 (11:23 +0000)]
type fixed
Michael Andres [Mon, 9 Jan 2006 11:21:18 +0000 (11:21 +0000)]
Capability::index added
Michael Andres [Mon, 9 Jan 2006 09:59:13 +0000 (09:59 +0000)]
Basic tagfile parser
Michael Andres [Mon, 9 Jan 2006 00:54:29 +0000 (00:54 +0000)]
- Added devel.ma/testdrafts
- Added class zypp::CapMatch. Tri state value returned from
Capability::matches.
- Added class zypp::Edition::Range. Defines ranges based on Rel
and Edition. Provides method overlaps, to test whether two
Edition::Ranges overlap (have at least one Edition in common).
- Added 'CapMatch Capability::matches( const Capability & rhs ) const'
and adjusted capability implementations accordingly. (except splits)
- Added CapTraits (capability implementation) to define CapabilityImpl
kinds and Ptr types.
- Added traits for RW/RWCOW_pointer, defining the wrapped smart pointer
type and how to detect whether it is shared (refount != 1).