platform/upstream/libzypp.git
18 years agofirst try on state transition in the solver
Klaus Kaempf [Mon, 16 Jan 2006 21:08:03 +0000 (21:08 +0000)]
first try on state transition in the solver

18 years agothis is subversion, really
Klaus Kaempf [Mon, 16 Jan 2006 20:31:28 +0000 (20:31 +0000)]
this is subversion, really

18 years agochanged "1.3.4-1.2.1" to "1.3.4_1.2.1"
Klaus Kaempf [Mon, 16 Jan 2006 15:37:26 +0000 (15:37 +0000)]
changed "1.3.4-1.2.1" to "1.3.4_1.2.1"

18 years agochange "1.3.4-1.2.1" to "1.3.4_1.2.1" in version
Klaus Kaempf [Mon, 16 Jan 2006 15:36:20 +0000 (15:36 +0000)]
change "1.3.4-1.2.1" to "1.3.4_1.2.1" in version

18 years agochange 2.3.0-final to 2.3.0_final in version
Klaus Kaempf [Mon, 16 Jan 2006 15:35:06 +0000 (15:35 +0000)]
change 2.3.0-final to 2.3.0_final in version

18 years agoChanged <conflicts><dep name="xalan-c" op="&lt;=" version="xalan" release="c-1.1...
Klaus Kaempf [Mon, 16 Jan 2006 15:33:33 +0000 (15:33 +0000)]
Changed <conflicts><dep name="xalan-c" op="&lt;=" version="xalan" release="c-1.1-4mdk"/></conflicts>
to      <conflicts><dep name="xalan-c" op="&lt;=" version="1.1" release="4mdk"/></conflicts>

18 years agoconversion to string
Stefan Schubert [Mon, 16 Jan 2006 14:45:05 +0000 (14:45 +0000)]
conversion to string

18 years ago-added missing DEFINE_PTR_TYPE
Michael Andres [Mon, 16 Jan 2006 14:24:50 +0000 (14:24 +0000)]
-added missing DEFINE_PTR_TYPE

18 years ago-Adjusted Source and added SourceFactory
Michael Andres [Mon, 16 Jan 2006 14:19:39 +0000 (14:19 +0000)]
-Adjusted Source and added SourceFactory

18 years agoupdate list will not be esteblished correctly in the XmlParser
Stefan Schubert [Mon, 16 Jan 2006 12:31:58 +0000 (12:31 +0000)]
update list will not be esteblished correctly in the XmlParser

18 years agocorrect path or undumped world
Stefan Schubert [Mon, 16 Jan 2006 12:31:12 +0000 (12:31 +0000)]
correct path or undumped world

18 years ago- Moved Source to zypp. Added source::SourceImpl as base for
Michael Andres [Mon, 16 Jan 2006 11:57:04 +0000 (11:57 +0000)]
- Moved Source to zypp. Added source::SourceImpl as base for
  source implementations.

18 years agoNothing installed, select A and require B-3
Stefan Schubert [Mon, 16 Jan 2006 10:29:20 +0000 (10:29 +0000)]
Nothing installed, select A and require B-3

18 years agocomment testcases
Klaus Kaempf [Mon, 16 Jan 2006 10:22:02 +0000 (10:22 +0000)]
comment testcases

18 years agoenable full testsuite
Klaus Kaempf [Mon, 16 Jan 2006 09:55:33 +0000 (09:55 +0000)]
enable full testsuite

18 years agobackup ResStore
Michael Andres [Sun, 15 Jan 2006 23:32:33 +0000 (23:32 +0000)]
backup ResStore

18 years agobackup
Michael Andres [Sun, 15 Jan 2006 20:55:18 +0000 (20:55 +0000)]
backup

18 years agoclean the correct files
Klaus Kaempf [Sun, 15 Jan 2006 20:21:33 +0000 (20:21 +0000)]
clean the correct files

18 years agostill failing tests here
Klaus Kaempf [Sun, 15 Jan 2006 19:19:35 +0000 (19:19 +0000)]
still failing tests here

18 years agoignore test output
Klaus Kaempf [Sun, 15 Jan 2006 18:15:30 +0000 (18:15 +0000)]
ignore test output

18 years agosupport "xfail" files in test directories to contain testcases
Klaus Kaempf [Sun, 15 Jan 2006 18:11:04 +0000 (18:11 +0000)]
support "xfail" files in test directories to contain testcases
 which we know will fail
add "xfail" files for yast- and zen-tests

18 years agoadd data.deptestomatic to EXTRA_DIST
Klaus Kaempf [Sun, 15 Jan 2006 17:35:37 +0000 (17:35 +0000)]
add data.deptestomatic to EXTRA_DIST

18 years agotest for empty result
Klaus Kaempf [Sun, 15 Jan 2006 17:34:47 +0000 (17:34 +0000)]
test for empty result

18 years agomake 'build' happy:
Klaus Kaempf [Sun, 15 Jan 2006 17:17:43 +0000 (17:17 +0000)]
make 'build' happy:
  ERROR: Program returns random data in a function. Please fix.
  Problematic file(s) and their linenumbers:
    YUMPackageImpl.cc: 292, 288, 234, 209
    RpmPackageImpl.cc: 168, 164, 110, 85
    RpmDb.cc: 973

18 years agofix includedir
Klaus Kaempf [Sun, 15 Jan 2006 16:57:10 +0000 (16:57 +0000)]
fix includedir

18 years agoinitial try on packaging for autobuild
Klaus Kaempf [Sun, 15 Jan 2006 16:46:21 +0000 (16:46 +0000)]
initial try on packaging for autobuild
- include files are all installed currently, which is certainly not wanted
- -devel pacakge is rather large due to extensive doxygen files

18 years agoenable installation order tests
Klaus Kaempf [Sun, 15 Jan 2006 15:49:16 +0000 (15:49 +0000)]
enable installation order tests
fix multi_test.exp documentation
fix run-multi in solver_init.exp

18 years ago- CapabilityImpl: VersionedCap now derived from NamedCap, and uses
Michael Andres [Sun, 15 Jan 2006 15:10:59 +0000 (15:10 +0000)]
- CapabilityImpl: VersionedCap now derived from NamedCap, and uses
  Edition::MatchRange (and nort comapre) to detect overlaping ranges.
  Added HalCap. Adjusted encode methods.

18 years agouse compressed files
Klaus Kaempf [Sun, 15 Jan 2006 14:44:43 +0000 (14:44 +0000)]
use compressed files

18 years agoinstallation order tests & solutions
Klaus Kaempf [Sun, 15 Jan 2006 14:41:01 +0000 (14:41 +0000)]
installation order tests & solutions

18 years agodont install the lib
Klaus Kaempf [Sun, 15 Jan 2006 14:09:31 +0000 (14:09 +0000)]
dont install the lib

18 years agoadd some tools for the 'ximian' style of test data
Klaus Kaempf [Sun, 15 Jan 2006 14:00:21 +0000 (14:00 +0000)]
add some tools for the 'ximian' style of test data
- check_xml.rb: check xml file
- packages_to_xml.rb: converts 'yast' packages file to .xml

18 years agopass @DOXYGEN/* to the dist tar.gz
Klaus Kaempf [Sun, 15 Jan 2006 13:47:25 +0000 (13:47 +0000)]
pass @DOXYGEN/* to the dist tar.gz

18 years ago- reenabled autodocs (configured not to draw graphs)
Michael Andres [Sun, 15 Jan 2006 12:24:45 +0000 (12:24 +0000)]
- reenabled autodocs (configured not to draw graphs)

18 years agouse generic libzypp_solver.h
Klaus Kaempf [Sun, 15 Jan 2006 09:05:10 +0000 (09:05 +0000)]
use generic libzypp_solver.h

18 years agoinclude libzypp_solver.h in filelist
Klaus Kaempf [Sun, 15 Jan 2006 09:04:18 +0000 (09:04 +0000)]
include libzypp_solver.h in filelist

18 years agoenable "instorder", "whatrequires", and "whatdependson" in deptestomatic
Klaus Kaempf [Sun, 15 Jan 2006 08:41:31 +0000 (08:41 +0000)]
enable "instorder", "whatrequires", and "whatdependson" in deptestomatic

18 years agoinclude solver to final library
Klaus Kaempf [Sun, 15 Jan 2006 08:03:46 +0000 (08:03 +0000)]
include solver to final library

18 years ago- LIB_VERSION_INFO is not defined, but LIBZYPP_VERSION_INFO is
Klaus Kaempf [Sun, 15 Jan 2006 07:38:46 +0000 (07:38 +0000)]
- LIB_VERSION_INFO is not defined, but LIBZYPP_VERSION_INFO is
- add 'package' target

18 years agoadd Incomplete/Satisfy functions
Klaus Kaempf [Sun, 15 Jan 2006 07:20:34 +0000 (07:20 +0000)]
add Incomplete/Satisfy functions

18 years ago- Added configure switch to fake hal. Don't mind to break it,
Michael Andres [Sun, 15 Jan 2006 00:03:04 +0000 (00:03 +0000)]
- Added configure switch to fake hal. Don't mind to break it,
  it's just because I don't want to update my machine now.

- Added RelCompare.h. Tools to realize comaprison by Rel operators
  based on a genaral compare method (returning -1,0-1) a class has
  to provide.

- Added class Range. Range is defined by Rel operator and a value.
  Currently just tests for overlaping ranges. Templated by value
  and compare method to use.

- Updated Edition to provide two genaral compare methods (compare
  and match). Comaprison and Ranges based on both methods are
  now available (via RelCompare and Range).

- disabled solver in zypp/Makefile.am as it does not link.

18 years agoadd check for popt-devel
Klaus Kaempf [Sat, 14 Jan 2006 20:02:03 +0000 (20:02 +0000)]
add check for popt-devel

18 years agoadd MediaCallbacks.h
Klaus Kaempf [Sat, 14 Jan 2006 19:43:30 +0000 (19:43 +0000)]
add MediaCallbacks.h

18 years agoinclude CapSetFwd.h
Klaus Kaempf [Sat, 14 Jan 2006 19:33:43 +0000 (19:33 +0000)]
include CapSetFwd.h

18 years agoadd satisfy/incomplete functions
Klaus Kaempf [Sat, 14 Jan 2006 16:57:19 +0000 (16:57 +0000)]
add satisfy/incomplete functions

18 years agoadd InstallOrder
Klaus Kaempf [Sat, 14 Jan 2006 16:56:45 +0000 (16:56 +0000)]
add InstallOrder

18 years agoadd 'kind' parameter to 'findResItem'
Klaus Kaempf [Sat, 14 Jan 2006 16:37:32 +0000 (16:37 +0000)]
add 'kind' parameter to 'findResItem'

18 years agofix "foreachSubworldByType"
Klaus Kaempf [Sat, 14 Jan 2006 16:12:04 +0000 (16:12 +0000)]
fix "foreachSubworldByType"
use it in deptestomatic to fix 'force-remove' testcase

18 years agoadd testcase for librpmDb
Klaus Kaempf [Sat, 14 Jan 2006 09:34:11 +0000 (09:34 +0000)]
add testcase for librpmDb

18 years agoadd libxml2 include path to Makefile.am
Klaus Kaempf [Sat, 14 Jan 2006 07:26:12 +0000 (07:26 +0000)]
add libxml2 include path to Makefile.am
dont use liby2util in deptestomatic

18 years agouse 'solver' as the dejagnu name
Klaus Kaempf [Fri, 13 Jan 2006 22:07:46 +0000 (22:07 +0000)]
use 'solver' as the dejagnu name

18 years agoclean up
Klaus Kaempf [Fri, 13 Jan 2006 22:05:36 +0000 (22:05 +0000)]
clean up

18 years agoclean up Makefile.am from useless cruft
Klaus Kaempf [Fri, 13 Jan 2006 22:03:07 +0000 (22:03 +0000)]
clean up Makefile.am from useless cruft

18 years agomove also zypp/target/testsuite up (to testsuite/target)
Klaus Kaempf [Fri, 13 Jan 2006 21:59:01 +0000 (21:59 +0000)]
move also zypp/target/testsuite up (to testsuite/target)

18 years agofix testsuite structure
Klaus Kaempf [Fri, 13 Jan 2006 21:41:54 +0000 (21:41 +0000)]
fix testsuite structure

18 years agoremove testsuite
Klaus Kaempf [Fri, 13 Jan 2006 21:31:34 +0000 (21:31 +0000)]
remove testsuite

18 years agostupid ...
Klaus Kaempf [Fri, 13 Jan 2006 21:17:54 +0000 (21:17 +0000)]
stupid ...

18 years agomove libzypp/zypp/solver/testsuite up to testsuite/solver
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/...

18 years agomove the libzypp testsuite to testsuite/zypp
Klaus Kaempf [Fri, 13 Jan 2006 21:11:47 +0000 (21:11 +0000)]
move the libzypp testsuite to testsuite/zypp

18 years ago- add foreachResItemByKind to Worlds
Klaus Kaempf [Fri, 13 Jan 2006 18:36:58 +0000 (18:36 +0000)]
- add foreachResItemByKind to Worlds
- add establishState and helper functions to Resolver

18 years agoprepare for patterns
Klaus Kaempf [Fri, 13 Jan 2006 18:35:58 +0000 (18:35 +0000)]
prepare for patterns

18 years agoprepare for patterns
Klaus Kaempf [Fri, 13 Jan 2006 18:31:23 +0000 (18:31 +0000)]
prepare for patterns

18 years agotypo
Klaus Kaempf [Fri, 13 Jan 2006 18:19:11 +0000 (18:19 +0000)]
typo

18 years agoremove Makefiles from solver/testsuite/{config,lib,solver.test}
Klaus Kaempf [Fri, 13 Jan 2006 18:15:59 +0000 (18:15 +0000)]
remove Makefiles from solver/testsuite/{config,lib,solver.test}

18 years agoadd Pattern
Klaus Kaempf [Fri, 13 Jan 2006 17:03:42 +0000 (17:03 +0000)]
add Pattern

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