platform/upstream/libzypp.git
18 years agoignore generated files
Klaus Kaempf [Tue, 17 Jan 2006 12:34:16 +0000 (12:34 +0000)]
ignore generated files

18 years agofix
Klaus Kaempf [Tue, 17 Jan 2006 12:33:24 +0000 (12:33 +0000)]
fix

18 years agoslowly enable 'freshen' tests
Klaus Kaempf [Tue, 17 Jan 2006 12:32:15 +0000 (12:32 +0000)]
slowly enable 'freshen' tests

18 years agoignore generated files
Klaus Kaempf [Tue, 17 Jan 2006 12:31:29 +0000 (12:31 +0000)]
ignore generated files

18 years agoadd <freshen/> to actually install all incomplete resolvables
Klaus Kaempf [Tue, 17 Jan 2006 12:29:31 +0000 (12:29 +0000)]
add <freshen/> to actually install all incomplete resolvables

18 years agodont bail out early for incomplete resolvables
Klaus Kaempf [Tue, 17 Jan 2006 12:29:08 +0000 (12:29 +0000)]
dont bail out early for incomplete resolvables

18 years agohandle "package" properly in string2kind
Klaus Kaempf [Tue, 17 Jan 2006 12:13:33 +0000 (12:13 +0000)]
handle "package" properly in string2kind

print ResolverContext with ">!>" prefix

18 years ago- c++-ify XmlParser
Klaus Kaempf [Tue, 17 Jan 2006 11:56:24 +0000 (11:56 +0000)]
- c++-ify XmlParser

- Correctly parse and handle 'kind' everywhere
  (it currently mis-uses Package and PackageUpdate
   as generic resolvables. As these classes are only
   used for the testcases, we can live with it)

- Don't re-create the _resObject in the Package constructor,
  the ResItem constructor already did it.

18 years agoScript and Message have fixed state, not a computed one
Klaus Kaempf [Tue, 17 Jan 2006 11:27:26 +0000 (11:27 +0000)]
Script and Message have fixed state, not a computed one

18 years ago- Let ResStore use Resolvable::Ptr, not ResObject.
Michael Andres [Tue, 17 Jan 2006 11:15:36 +0000 (11:15 +0000)]
- Let ResStore use Resolvable::Ptr, not ResObject.

18 years agocompare NE capabilities
Stefan Schubert [Tue, 17 Jan 2006 09:22:53 +0000 (09:22 +0000)]
compare NE capabilities

18 years agoRenamed YUMSource to YUMSourceImpl (to have compatible naming)
Jiri Srain [Tue, 17 Jan 2006 09:12:22 +0000 (09:12 +0000)]
Renamed YUMSource to YUMSourceImpl (to have compatible naming)
Insert the created resolvables from YUM source to ResStore

18 years agoadd testsuite framework for source
Klaus Kaempf [Tue, 17 Jan 2006 08:56:59 +0000 (08:56 +0000)]
add testsuite framework for source

18 years agoremove generated file
Klaus Kaempf [Tue, 17 Jan 2006 08:56:41 +0000 (08:56 +0000)]
remove generated file

18 years agoadded pattern parser test case
Jiri Srain [Tue, 17 Jan 2006 08:31:25 +0000 (08:31 +0000)]
added pattern parser test case

18 years agoadded YUM pattern implementation class
Jiri Srain [Tue, 17 Jan 2006 08:26:22 +0000 (08:26 +0000)]
added YUM pattern implementation class

18 years agoadde parser for installation patterns
Jiri Srain [Tue, 17 Jan 2006 08:25:09 +0000 (08:25 +0000)]
adde parser for installation patterns

18 years ago- fixed bug in PathInfo
Michael Andres [Tue, 17 Jan 2006 01:25:16 +0000 (01:25 +0000)]
- fixed bug in PathInfo
- prepared SuseTagsImpl (formerly UnitedLinux source)
  Still a fake, jusst able to evaluate a packages file.
- Added query to ResStore and provide some basic query
  functors. Probabely needs some more documentation.

18 years agoimplement state changes to 'satisfied' and 'incomplete'
Klaus Kaempf [Mon, 16 Jan 2006 21:35:55 +0000 (21:35 +0000)]
implement state changes to 'satisfied' and 'incomplete'

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