platform/upstream/libzypp.git
18 years agoImplemented the generic interface and implemented the generic Resolvable
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.

18 years ago'freshen' helper: addResItemToEstablish
Klaus Kaempf [Fri, 13 Jan 2006 16:43:55 +0000 (16:43 +0000)]
'freshen' helper: addResItemToEstablish

18 years ago- More documentation
Marius Tomaschewski [Fri, 13 Jan 2006 16:43:09 +0000 (16:43 +0000)]
- More documentation

18 years agochanged the way group contents is "exported" - no YUM-specific
Jiri Srain [Fri, 13 Jan 2006 16:43:09 +0000 (16:43 +0000)]
changed the way group contents is "exported" - no YUM-specific
structures

18 years ago- Fixed port number checking regex (numeric only)
Marius Tomaschewski [Fri, 13 Jan 2006 16:42:47 +0000 (16:42 +0000)]
- Fixed port number checking regex (numeric only)

18 years ago- Removed not existing eflag param from getPort documentation
Marius Tomaschewski [Fri, 13 Jan 2006 16:41:45 +0000 (16:41 +0000)]
- Removed not existing eflag param from getPort documentation

18 years ago- Fixed comment to not to use doxygen intro
Marius Tomaschewski [Fri, 13 Jan 2006 16:40:48 +0000 (16:40 +0000)]
- Fixed comment to not to use doxygen intro

18 years agoinit DBusError variable properly
Klaus Kaempf [Fri, 13 Jan 2006 15:39:49 +0000 (15:39 +0000)]
init DBusError variable properly
adapt testcase for unsupported implementation

18 years agofix filenames
Klaus Kaempf [Fri, 13 Jan 2006 15:35:49 +0000 (15:35 +0000)]
fix filenames

18 years agodrop Makefile.am in subdirs if they just contain EXTRA_DIST
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

18 years agodont have Makefiles in subdirs which just have "EXTRA_DEPS"
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

18 years agoadding "Hal" implementation and testsuite
Klaus Kaempf [Fri, 13 Jan 2006 15:11:21 +0000 (15:11 +0000)]
adding "Hal" implementation and testsuite

18 years agotaking the best solution
Stefan Schubert [Fri, 13 Jan 2006 13:58:14 +0000 (13:58 +0000)]
taking the best solution

18 years ago- Added
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.

18 years agoadapted interface
Michael Andres [Fri, 13 Jan 2006 12:48:56 +0000 (12:48 +0000)]
adapted interface

18 years agocompare release only if BOTH are available
Stefan Schubert [Fri, 13 Jan 2006 10:51:47 +0000 (10:51 +0000)]
compare release only if BOTH are available

18 years agochecking name of version capabilities
Stefan Schubert [Fri, 13 Jan 2006 09:57:44 +0000 (09:57 +0000)]
checking name of version capabilities

18 years agoport InstallOrder from yast2-packagemanager
Klaus Kaempf [Thu, 12 Jan 2006 17:14:30 +0000 (17:14 +0000)]
port InstallOrder from yast2-packagemanager

18 years agoadd prerequires()
Klaus Kaempf [Thu, 12 Jan 2006 17:13:38 +0000 (17:13 +0000)]
add prerequires()

18 years agochecking NULL pointer
Stefan Schubert [Thu, 12 Jan 2006 16:52:24 +0000 (16:52 +0000)]
checking NULL pointer

18 years agonew QueueItem to compute ('establish') a resolvables state
Klaus Kaempf [Thu, 12 Jan 2006 16:24:00 +0000 (16:24 +0000)]
new QueueItem to compute ('establish') a resolvables state

18 years agotypo
Michael Andres [Thu, 12 Jan 2006 15:49:15 +0000 (15:49 +0000)]
typo

18 years ago- prepared class zypp::target::Hal
Michael Andres [Thu, 12 Jan 2006 15:40:27 +0000 (15:40 +0000)]
- prepared class zypp::target::Hal

18 years agoforgot the arch attribute. At this stage I can fully store and retrieve Patches back...
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.

18 years ago- Changed source file order
Marius Tomaschewski [Thu, 12 Jan 2006 15:15:43 +0000 (15:15 +0000)]
- Changed source file order

18 years ago- Changes to use ViewOption::DEFAULTS
Marius Tomaschewski [Thu, 12 Jan 2006 15:15:23 +0000 (15:15 +0000)]
- Changes to use ViewOption::DEFAULTS

18 years ago- Changed initialization
Marius Tomaschewski [Thu, 12 Jan 2006 15:14:00 +0000 (15:14 +0000)]
- Changed initialization

18 years ago- Added assignment operator
Marius Tomaschewski [Thu, 12 Jan 2006 15:13:20 +0000 (15:13 +0000)]
- Added assignment operator

18 years agoallow YUM parser to understand a slightly different xml representation for dependenci...
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

18 years agobugfix for core dump
Stefan Schubert [Thu, 12 Jan 2006 14:25:43 +0000 (14:25 +0000)]
bugfix for core dump

18 years agofix some XML output and add escaping of Capabilities
Duncan Mac-Vicar P [Thu, 12 Jan 2006 12:50:20 +0000 (12:50 +0000)]
fix some XML output and add escaping of Capabilities

18 years agocommit the xml escaping functions of a boost based library
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

18 years agoadded solution
Stefan Schubert [Thu, 12 Jan 2006 09:45:29 +0000 (09:45 +0000)]
added solution

18 years agoadded str::join (reverse to str::split)
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

18 years agoExport package attributes through public interface
Jiri Srain [Thu, 12 Jan 2006 07:48:06 +0000 (07:48 +0000)]
Export package attributes through public interface

18 years agoput YUM schema files into correct directory
Jiri Srain [Thu, 12 Jan 2006 07:47:44 +0000 (07:47 +0000)]
put YUM schema files into correct directory

18 years ago- More documentation
Marius Tomaschewski [Wed, 11 Jan 2006 17:43:54 +0000 (17:43 +0000)]
- More documentation

18 years ago- 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.

18 years ago- More documentation
Marius Tomaschewski [Wed, 11 Jan 2006 17:40:19 +0000 (17:40 +0000)]
- More documentation
- Renamed getAllKnownSchemes to getRegisteredSchemes
  for consistency, added isRegisteredScheme.

18 years agoadded comment
Stefan Schubert [Wed, 11 Jan 2006 16:53:15 +0000 (16:53 +0000)]
added comment

18 years agomove the serialization stuff out of the test playground file
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

18 years agomove everything out of the test2.cc file to real Backend classes
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

18 years agomarking text for translation
Stefan Schubert [Wed, 11 Jan 2006 16:24:14 +0000 (16:24 +0000)]
marking text for translation

18 years ago- Added std::string CapFactory::encode( const Capability & cap_r )
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

18 years agostore patch function. tree structure is auto created
Duncan Mac-Vicar P [Wed, 11 Jan 2006 12:59:29 +0000 (12:59 +0000)]
store patch function. tree structure is auto created

18 years agolets use a plain fils system backend while we get a non broken bdxml package for...
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

18 years agocleanup data
Stefan Schubert [Wed, 11 Jan 2006 10:23:16 +0000 (10:23 +0000)]
cleanup data

18 years agoadded more testsuites
Stefan Schubert [Wed, 11 Jan 2006 10:08:27 +0000 (10:08 +0000)]
added more testsuites

18 years agobackup
Michael Andres [Wed, 11 Jan 2006 09:43:04 +0000 (09:43 +0000)]
backup

18 years agotaking care of the result
Stefan Schubert [Wed, 11 Jan 2006 09:27:46 +0000 (09:27 +0000)]
taking care of the result

18 years agosupport patch atoms and everything. Only missing a couple of attributes, and Package...
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

18 years agosupport Message serializing
Duncan Mac-Vicar P [Tue, 10 Jan 2006 17:27:36 +0000 (17:27 +0000)]
support Message serializing

18 years agosupport scripts
Duncan Mac-Vicar P [Tue, 10 Jan 2006 17:21:27 +0000 (17:21 +0000)]
support scripts

18 years agoYOUify the XML format so we can reuse the YOU parser for retrieving objects from...
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

18 years agotaking subdirectories of data.de...
Stefan Schubert [Tue, 10 Jan 2006 16:03:05 +0000 (16:03 +0000)]
taking subdirectories of data.de...

18 years agotemplate based serialization playground
Duncan Mac-Vicar P [Tue, 10 Jan 2006 15:53:28 +0000 (15:53 +0000)]
template based serialization playground

18 years agofixed generating diff mails for config files
Jiri Srain [Tue, 10 Jan 2006 15:14:06 +0000 (15:14 +0000)]
fixed generating diff mails for config files

18 years agomoved to yast-tests
Stefan Schubert [Tue, 10 Jan 2006 15:08:02 +0000 (15:08 +0000)]
moved to yast-tests

18 years agodeptestomatic moved to data.deptestomatic
Stefan Schubert [Tue, 10 Jan 2006 15:00:18 +0000 (15:00 +0000)]
deptestomatic moved to data.deptestomatic

18 years agotaking *.solution in the testsuit
Stefan Schubert [Tue, 10 Jan 2006 14:47:30 +0000 (14:47 +0000)]
taking *.solution in the testsuit

18 years agohandle exceptions while creating capabilities
Jiri Srain [Tue, 10 Jan 2006 14:46:40 +0000 (14:46 +0000)]
handle exceptions while creating capabilities

18 years ago- Assert Resolvable provides its 'name=edition', and prerequires
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.

18 years ago- Fixed to compare with canonical/lowercase scheme
Marius Tomaschewski [Tue, 10 Jan 2006 13:37:11 +0000 (13:37 +0000)]
- Fixed to compare with canonical/lowercase scheme

18 years ago- Make sure, scheme has canonical form == lowercase
Marius Tomaschewski [Tue, 10 Jan 2006 13:35:01 +0000 (13:35 +0000)]
- Make sure, scheme has canonical form == lowercase

18 years ago- Implemented minimal path name cleanup
Marius Tomaschewski [Tue, 10 Jan 2006 13:27:18 +0000 (13:27 +0000)]
- Implemented minimal path name cleanup

18 years ago- Added assignment operators
Marius Tomaschewski [Tue, 10 Jan 2006 13:26:00 +0000 (13:26 +0000)]
- Added assignment operators

18 years agomore classed moved out ot PackageImplIf
Jiri Srain [Tue, 10 Jan 2006 12:55:01 +0000 (12:55 +0000)]
more classed moved out ot PackageImplIf

18 years agoNo logging if environment var ZYPP_NOLOG is set
Michael Andres [Tue, 10 Jan 2006 11:52:29 +0000 (11:52 +0000)]
No logging if environment var ZYPP_NOLOG is set

18 years agoremove generated files
Klaus Kaempf [Tue, 10 Jan 2006 10:10:13 +0000 (10:10 +0000)]
remove generated files

18 years agoremove generated files
Klaus Kaempf [Tue, 10 Jan 2006 10:09:23 +0000 (10:09 +0000)]
remove generated files

18 years ago- Added direct accessors to the dependeny CapSets in Resolvable.
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.

18 years agoMoved DiskUsage class out of PackageImplIf
Jiri Srain [Tue, 10 Jan 2006 09:32:46 +0000 (09:32 +0000)]
Moved DiskUsage class out of PackageImplIf

18 years ago- Added helper struct NVR (name,edition(version,relase))
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.

18 years agolibredcarpet testcases need edition, even if its zero
Klaus Kaempf [Mon, 9 Jan 2006 20:44:28 +0000 (20:44 +0000)]
libredcarpet testcases need edition, even if its zero

18 years agosupport ximian-style '(any)' as relation op
Klaus Kaempf [Mon, 9 Jan 2006 20:33:18 +0000 (20:33 +0000)]
support ximian-style '(any)' as relation op

18 years agodisable build of static libs
Klaus Kaempf [Mon, 9 Jan 2006 19:36:45 +0000 (19:36 +0000)]
disable build of static libs

18 years ago- More documentation.
Marius Tomaschewski [Mon, 9 Jan 2006 17:58:59 +0000 (17:58 +0000)]
- More documentation.

18 years agostart using xml backend
Duncan Mac-Vicar P [Mon, 9 Jan 2006 17:31:43 +0000 (17:31 +0000)]
start using xml backend

18 years agodont pass NULL to a std::string parameter
Klaus Kaempf [Mon, 9 Jan 2006 16:59:33 +0000 (16:59 +0000)]
dont pass NULL to a std::string parameter

18 years agotaking matches of the capabilities
Stefan Schubert [Mon, 9 Jan 2006 16:16:48 +0000 (16:16 +0000)]
taking matches of the capabilities

18 years agoAddded str::split: Split \a line_r into words.
Michael Andres [Mon, 9 Jan 2006 14:57:52 +0000 (14:57 +0000)]
Addded str::split: Split \a line_r into words.

18 years agoAdapted StoreWorld
Michael Andres [Mon, 9 Jan 2006 11:30:44 +0000 (11:30 +0000)]
Adapted StoreWorld

18 years agotype fixed
Michael Andres [Mon, 9 Jan 2006 11:23:36 +0000 (11:23 +0000)]
type fixed

18 years agoCapability::index added
Michael Andres [Mon, 9 Jan 2006 11:21:18 +0000 (11:21 +0000)]
Capability::index added

18 years agoBasic tagfile parser
Michael Andres [Mon, 9 Jan 2006 09:59:13 +0000 (09:59 +0000)]
Basic tagfile parser

18 years ago- Added devel.ma/testdrafts
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).

18 years agodefine PHI
Klaus Kaempf [Sun, 8 Jan 2006 20:32:22 +0000 (20:32 +0000)]
define PHI

18 years agoindentation, debug
Klaus Kaempf [Sun, 8 Jan 2006 20:32:01 +0000 (20:32 +0000)]
indentation, debug

18 years agoindentation
Klaus Kaempf [Sun, 8 Jan 2006 20:29:57 +0000 (20:29 +0000)]
indentation

18 years agodebug
Klaus Kaempf [Sun, 8 Jan 2006 20:29:09 +0000 (20:29 +0000)]
debug

18 years ago'std::string'ify most interfaces
Klaus Kaempf [Sun, 8 Jan 2006 12:49:15 +0000 (12:49 +0000)]
'std::string'ify most interfaces

18 years agoadd solver/temporary
Klaus Kaempf [Sat, 7 Jan 2006 17:43:23 +0000 (17:43 +0000)]
add solver/temporary

18 years ago***BIG CLEAN UP***
Klaus Kaempf [Sat, 7 Jan 2006 17:36:48 +0000 (17:36 +0000)]
***BIG CLEAN UP***

'purify' solver/detail by moving all non-solver code to 'temporary'

Files in 'temporary' implement functionality which should be replaced
 by other parts of ZYPP.

solver/detail now contains real solver code

18 years agoremove generated files
Klaus Kaempf [Sat, 7 Jan 2006 17:29:41 +0000 (17:29 +0000)]
remove generated files

18 years agoignore *.diff, *.mistake
Klaus Kaempf [Sat, 7 Jan 2006 17:27:52 +0000 (17:27 +0000)]
ignore *.diff, *.mistake

18 years agoremove generated files
Klaus Kaempf [Sat, 7 Jan 2006 17:26:38 +0000 (17:26 +0000)]
remove generated files

18 years agoget rid of Packman and Section
Klaus Kaempf [Sat, 7 Jan 2006 16:10:06 +0000 (16:10 +0000)]
get rid of Packman and Section

18 years agoremove unneeded Packman
Klaus Kaempf [Sat, 7 Jan 2006 15:56:04 +0000 (15:56 +0000)]
remove unneeded Packman

18 years agomove the setInstalled call for 'system' channels loaded from xml
Klaus Kaempf [Sat, 7 Jan 2006 15:52:31 +0000 (15:52 +0000)]
move the setInstalled call for 'system' channels loaded from xml
 from testsuite to XmlParser

18 years agoremove Ustring.h
Klaus Kaempf [Sat, 7 Jan 2006 15:51:21 +0000 (15:51 +0000)]
remove Ustring.h