platform/upstream/libzypp.git
16 years agomove lot of stuff to ZYppCommon
Duncan Mac-Vicar P [Tue, 5 Feb 2008 15:15:11 +0000 (15:15 +0000)]
move lot of stuff to ZYppCommon

16 years agofix build
Duncan Mac-Vicar P [Tue, 5 Feb 2008 10:37:54 +0000 (10:37 +0000)]
fix build

16 years ago- remove xml store
Duncan Mac-Vicar P [Mon, 4 Feb 2008 21:58:14 +0000 (21:58 +0000)]
- remove xml store

snif, this is emotional for me, it was the first piece of c++ code I wrote when joining SUSE.

But the replacement is... nothing! what can be better than removing code by simplifying the concept.

16 years agothrow if solv file loading fails
Michael Andres [Mon, 4 Feb 2008 19:23:17 +0000 (19:23 +0000)]
throw if solv file loading fails

16 years agoremoved excessive logging
Michael Andres [Mon, 4 Feb 2008 19:21:50 +0000 (19:21 +0000)]
removed excessive logging

16 years agotypo
Michael Andres [Mon, 4 Feb 2008 19:06:57 +0000 (19:06 +0000)]
typo

16 years agoimproved error handling
Michael Andres [Mon, 4 Feb 2008 18:46:08 +0000 (18:46 +0000)]
improved error handling

16 years agofix endless loop in str::split
Michael Andres [Mon, 4 Feb 2008 18:45:33 +0000 (18:45 +0000)]
fix endless loop in str::split

16 years agoremove Language and Selection
Michael Andres [Mon, 4 Feb 2008 16:23:33 +0000 (16:23 +0000)]
remove Language and Selection

16 years agofix solver testcase
Michael Andres [Mon, 4 Feb 2008 14:32:48 +0000 (14:32 +0000)]
fix solver testcase

16 years agoMove system arch and text locale handling to Zconfig (avoiding ZYpp lock).
Michael Andres [Mon, 4 Feb 2008 14:01:23 +0000 (14:01 +0000)]
Move system arch and text locale handling to Zconfig (avoiding ZYpp lock).

16 years agoadded vendorcallback for SAT solver
Stefan Schubert [Mon, 4 Feb 2008 13:42:10 +0000 (13:42 +0000)]
added vendorcallback for SAT solver

16 years ago- add unit test for sysconfig reader
Duncan Mac-Vicar P [Sat, 2 Feb 2008 22:26:32 +0000 (22:26 +0000)]
- add unit test for sysconfig reader

16 years agotestcase for Sysconfig.
Duncan Mac-Vicar P [Sat, 2 Feb 2008 22:26:27 +0000 (22:26 +0000)]
testcase for Sysconfig.
TODO: this has to be moved to parser someday

16 years agoremove some interfaces, cleanup
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:33 +0000 (03:32 +0000)]
remove some interfaces, cleanup

16 years agoloading rpm from solv works ;-)
Duncan Mac-Vicar P [Sat, 2 Feb 2008 03:32:24 +0000 (03:32 +0000)]
loading rpm from solv works ;-)

16 years ago- use new methods
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:04 +0000 (23:20 +0000)]
- use new methods

16 years agosave cookie file too
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:20:01 +0000 (23:20 +0000)]
save cookie file too

16 years agoadd test
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:57 +0000 (23:19 +0000)]
add test

16 years ago- move the cookie saving code
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:54 +0000 (23:19 +0000)]
- move the cookie saving code

16 years ago- move the cookie code to RepoStatus to reuse it in target
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:51 +0000 (23:19 +0000)]
- move the cookie code to RepoStatus to reuse it in target

16 years agocompile
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:47 +0000 (23:19 +0000)]
compile

16 years agoMore work in attributes
Duncan Mac-Vicar P [Fri, 1 Feb 2008 23:19:44 +0000 (23:19 +0000)]
More work in attributes

16 years agoimprove some string helper
Michael Andres [Fri, 1 Feb 2008 16:45:51 +0000 (16:45 +0000)]
improve some string helper

16 years agoadd additional testcase for vendors
Stefan Schubert [Thu, 31 Jan 2008 15:45:13 +0000 (15:45 +0000)]
add additional testcase for vendors

16 years agobugfix
Stefan Schubert [Thu, 31 Jan 2008 15:44:22 +0000 (15:44 +0000)]
bugfix

16 years ago-testcase for vendors added
Stefan Schubert [Thu, 31 Jan 2008 13:36:14 +0000 (13:36 +0000)]
-testcase for vendors added
-bugfix in zypp.config and vendor definition

16 years agoWorkaround ZConfig access causing ZYppLock creation.
Michael Andres [Thu, 31 Jan 2008 13:00:43 +0000 (13:00 +0000)]
Workaround ZConfig access causing ZYppLock creation.

16 years agotype
Michael Andres [Thu, 31 Jan 2008 10:49:42 +0000 (10:49 +0000)]
type

16 years agoadd missing extern C
Michael Andres [Wed, 30 Jan 2008 16:11:44 +0000 (16:11 +0000)]
add missing extern C

16 years agotype
Stefan Schubert [Wed, 30 Jan 2008 16:08:27 +0000 (16:08 +0000)]
type

16 years ago- vendor handling by "group vendors"
Stefan Schubert [Wed, 30 Jan 2008 16:08:00 +0000 (16:08 +0000)]
- vendor handling by "group vendors"
- removed trusted vendor stuff
- configuration of equivalent vendors in /etc/zypp/vendors.d

16 years agoremoved setdirty
Stefan Schubert [Wed, 30 Jan 2008 13:36:20 +0000 (13:36 +0000)]
removed setdirty

16 years ago- more progress trying to adapt to the solvstore semantics
Duncan Mac-Vicar P [Wed, 30 Jan 2008 10:19:54 +0000 (10:19 +0000)]
- more progress trying to adapt to the solvstore semantics

16 years ago- change ResolvableConsumer to not take the repo on each consumption, because
Duncan Mac-Vicar P [Wed, 30 Jan 2008 10:19:45 +0000 (10:19 +0000)]
- change ResolvableConsumer to not take the repo on each consumption, because
this would be too slow for converting id -> Repo*

Instead we will change the semantics to pass the repo on construction and
allow to change it using some sort of setRepo( alias ) later.

Commit will iterate over all repos and dump.

16 years agomisc compiles
Duncan Mac-Vicar P [Tue, 29 Jan 2008 22:36:34 +0000 (22:36 +0000)]
misc compiles

16 years agoadapt to new libsatsolver api
Michael Andres [Tue, 29 Jan 2008 20:29:13 +0000 (20:29 +0000)]
adapt to new libsatsolver api

16 years ago- Prepare ResPool being a singleton ontop of sat::Pool.
Michael Andres [Tue, 29 Jan 2008 18:08:25 +0000 (18:08 +0000)]
- Prepare ResPool being a singleton ontop of sat::Pool.
  Remove obsolete ZYpp::{add,remove}Resolvables methods .

16 years agoremoved deprecated Resolvable methods
Michael Andres [Mon, 28 Jan 2008 18:56:41 +0000 (18:56 +0000)]
removed deprecated Resolvable methods

16 years agofix CapMatch
Michael Andres [Mon, 28 Jan 2008 16:41:42 +0000 (16:41 +0000)]
fix CapMatch

16 years agoactivate capability testcases
Michael Andres [Mon, 28 Jan 2008 16:40:35 +0000 (16:40 +0000)]
activate capability testcases

16 years agoFixed missing O_CREAT when opening an ofgzstream.
Michael Andres [Mon, 28 Jan 2008 14:58:49 +0000 (14:58 +0000)]
Fixed missing O_CREAT when opening an ofgzstream.

16 years agoadded CapDetail
Michael Andres [Fri, 25 Jan 2008 18:09:15 +0000 (18:09 +0000)]
added CapDetail

16 years agocommit again
Duncan Mac-Vicar P [Fri, 25 Jan 2008 15:32:56 +0000 (15:32 +0000)]
commit again

16 years agofixed error message
Stefan Schubert [Fri, 25 Jan 2008 09:11:42 +0000 (09:11 +0000)]
fixed error message

16 years agosetting SAT-solver flags for update and verify
Stefan Schubert [Thu, 24 Jan 2008 16:20:26 +0000 (16:20 +0000)]
setting SAT-solver flags for update and verify

16 years ago-cleanup
Stefan Schubert [Thu, 24 Jan 2008 15:28:16 +0000 (15:28 +0000)]
-cleanup
-added solver parameters

16 years agoRemoved dummy satSolvable id in PoolItem as ResObject is now Id based
Michael Andres [Thu, 24 Jan 2008 14:00:07 +0000 (14:00 +0000)]
Removed dummy satSolvable id in PoolItem as ResObject is now Id based

16 years agoadded correct postfix
Stefan Schubert [Thu, 24 Jan 2008 13:13:42 +0000 (13:13 +0000)]
added correct postfix

16 years agologging ResStatus into testcase
Stefan Schubert [Thu, 24 Jan 2008 12:35:47 +0000 (12:35 +0000)]
logging ResStatus into testcase

16 years agoAdd ResObject construction from Solvable
Michael Andres [Thu, 24 Jan 2008 12:15:50 +0000 (12:15 +0000)]
Add ResObject construction from Solvable
- ResObject::Ptr makeResObject( const sat::Solvable & solvable_r )
- template<class _Res>
  ResTraits<_Res>::PtrType make( const sat::Solvable & solvable_r )

16 years agogenerating a testcase BEFORE updating the system; compress testcase
Stefan Schubert [Thu, 24 Jan 2008 11:01:02 +0000 (11:01 +0000)]
generating a testcase BEFORE updating the system; compress testcase

16 years ago- improved error messages
Stefan Schubert [Thu, 24 Jan 2008 09:06:37 +0000 (09:06 +0000)]
- improved error messages
- activated lock/kepp requests

16 years agouhm, for some reason I only get one resolvable in the store, will
Duncan Mac-Vicar P [Wed, 23 Jan 2008 18:32:41 +0000 (18:32 +0000)]
uhm, for some reason I only get one resolvable in the store, will
fix tomorrow

16 years ago- create resolvables (basically bring back old api so we
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:05 +0000 (17:33 +0000)]
- create resolvables (basically bring back old api so we
can make old things work and then start fixing it)
- fix testcases
- disable some code related to sqlite so tests dont fail because
  sqlite tables missing

16 years agoby now the repomanager returns an invalid repo
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:03 +0000 (17:33 +0000)]
by now the repomanager returns an invalid repo
but loads the solv file in the global pool
(should this be automatic?)

16 years ago- update test
Duncan Mac-Vicar P [Wed, 23 Jan 2008 17:33:02 +0000 (17:33 +0000)]
- update test

16 years agocreate testcase without solving
Stefan Schubert [Wed, 23 Jan 2008 17:10:03 +0000 (17:10 +0000)]
create testcase without solving

16 years agoadded template for CapabilitySet
Stefan Schubert [Wed, 23 Jan 2008 16:38:48 +0000 (16:38 +0000)]
added template for CapabilitySet

16 years agoreadd lost data directory
Michael Andres [Wed, 23 Jan 2008 14:18:46 +0000 (14:18 +0000)]
readd lost data directory

16 years agoremoving old solver
Stefan Schubert [Wed, 23 Jan 2008 13:22:24 +0000 (13:22 +0000)]
removing old solver

16 years agomoving sourcefiles
Michael Andres [Wed, 23 Jan 2008 11:31:26 +0000 (11:31 +0000)]
moving sourcefiles

16 years agoremove old solver
Stefan Schubert [Wed, 23 Jan 2008 10:23:15 +0000 (10:23 +0000)]
remove old solver

16 years agonot needed anymore; Set in the SAT pool
Stefan Schubert [Wed, 23 Jan 2008 10:20:32 +0000 (10:20 +0000)]
not needed anymore; Set in the SAT pool

16 years agouse LC_MESSAGES instead of LC_CTYPE to determine defaultTextLocale
Michael Andres [Wed, 23 Jan 2008 10:18:19 +0000 (10:18 +0000)]
use LC_MESSAGES instead of LC_CTYPE to determine defaultTextLocale

16 years agoremove old solver
Stefan Schubert [Tue, 22 Jan 2008 16:45:09 +0000 (16:45 +0000)]
remove old solver

16 years agoremove old solver
Stefan Schubert [Tue, 22 Jan 2008 12:51:32 +0000 (12:51 +0000)]
remove old solver

16 years agoremove old solver
Stefan Schubert [Tue, 22 Jan 2008 12:50:06 +0000 (12:50 +0000)]
remove old solver

16 years agoRemoved obsolete files and classes.
Michael Andres [Mon, 21 Jan 2008 17:03:03 +0000 (17:03 +0000)]
Removed obsolete files and classes.

16 years ago- more progress creating caches
Duncan Mac-Vicar P [Wed, 16 Jan 2008 16:58:28 +0000 (16:58 +0000)]
- more progress creating caches

16 years agoindent
Michael Andres [Wed, 16 Jan 2008 12:58:17 +0000 (12:58 +0000)]
indent

16 years ago- disable the solvstore for now and use the sat parsers for now
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:53:08 +0000 (22:53 +0000)]
- disable the solvstore for now and use the sat parsers for now
  to get something working fast
- more work on the repo manager, implement most methods, especially
  the status one, using a cookie file (untested)
- tomorrow I will try to add the solv files to the pool

16 years agolets try to append a resolvable
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:53:02 +0000 (22:53 +0000)]
lets try to append a resolvable

16 years agodont compile
Duncan Mac-Vicar P [Tue, 15 Jan 2008 22:52:58 +0000 (22:52 +0000)]
dont compile

16 years agoindent
Michael Andres [Tue, 15 Jan 2008 18:16:23 +0000 (18:16 +0000)]
indent

16 years agomove IdString to namespace zypp
Michael Andres [Tue, 15 Jan 2008 17:58:26 +0000 (17:58 +0000)]
move IdString to namespace zypp

16 years agobackup
Michael Andres [Tue, 15 Jan 2008 14:34:30 +0000 (14:34 +0000)]
backup

16 years agobackup
Michael Andres [Tue, 15 Jan 2008 14:34:13 +0000 (14:34 +0000)]
backup

16 years agocompile
Duncan Mac-Vicar P [Tue, 15 Jan 2008 11:08:27 +0000 (11:08 +0000)]
compile

16 years ago- create solv store
Duncan Mac-Vicar P [Tue, 15 Jan 2008 11:08:05 +0000 (11:08 +0000)]
- create solv store
- start porting repo manager
- change data classes to use plain strings
- make everything compile again

16 years agobackup
Michael Andres [Tue, 15 Jan 2008 09:52:03 +0000 (09:52 +0000)]
backup

16 years agoid based Edition
Michael Andres [Mon, 14 Jan 2008 12:38:16 +0000 (12:38 +0000)]
id based Edition

16 years agobackup
Michael Andres [Thu, 10 Jan 2008 16:56:09 +0000 (16:56 +0000)]
backup

16 years agoextend testcase
Michael Andres [Thu, 10 Jan 2008 10:43:16 +0000 (10:43 +0000)]
extend testcase

16 years agoPatchFileReader_test
Michael Andres [Wed, 9 Jan 2008 10:38:46 +0000 (10:38 +0000)]
PatchFileReader_test

16 years ago- Changed ResKind implementation to use IdStr.
Michael Andres [Tue, 18 Dec 2007 20:49:35 +0000 (20:49 +0000)]
- Changed ResKind implementation to use IdStr.
- split Solvable ident into kind/name
- map src/nosrc Solvables to kind(SrcPackage) and arch(noarch)

16 years agoadded compareCI: case insensitive string compare
Michael Andres [Tue, 18 Dec 2007 20:39:50 +0000 (20:39 +0000)]
added compareCI: case insensitive string compare

16 years agounused code removed
Michael Andres [Tue, 18 Dec 2007 20:38:38 +0000 (20:38 +0000)]
unused code removed

16 years agosolver migration branch
Michael Andres [Tue, 18 Dec 2007 12:47:02 +0000 (12:47 +0000)]
solver migration branch

16 years ago- added revision number
Arvin Schnell [Tue, 18 Dec 2007 11:35:03 +0000 (11:35 +0000)]
- added revision number

16 years ago- fixed password handling in URLs (bug #347273)
Arvin Schnell [Tue, 18 Dec 2007 11:34:31 +0000 (11:34 +0000)]
- fixed password handling in URLs (bug #347273)

16 years agocanges
Michael Andres [Mon, 17 Dec 2007 13:08:25 +0000 (13:08 +0000)]
canges

16 years agoFixed default text locale detection not to use static variables.
Michael Andres [Mon, 17 Dec 2007 13:06:08 +0000 (13:06 +0000)]
Fixed default text locale detection not to use static variables.

16 years agobackup
Michael Andres [Thu, 13 Dec 2007 15:24:00 +0000 (15:24 +0000)]
backup

16 years ago- add sat::Capability
Michael Andres [Tue, 11 Dec 2007 20:56:36 +0000 (20:56 +0000)]
- add sat::Capability
- add sat::Capabilities (read only Capability container)
- add acessor to Capabilities in sat::Solvable
- add sat::IdStr vs. std::string / const char* comparison

16 years agoadapt to libsatsolver changes
Michael Andres [Mon, 10 Dec 2007 15:14:06 +0000 (15:14 +0000)]
adapt to libsatsolver changes

16 years agotypo
Michael Andres [Mon, 10 Dec 2007 15:11:10 +0000 (15:11 +0000)]
typo

16 years agobackup
Michael Andres [Mon, 10 Dec 2007 15:09:44 +0000 (15:09 +0000)]
backup

16 years agoLog more details about zypp lock owner.
Michael Andres [Mon, 10 Dec 2007 11:49:03 +0000 (11:49 +0000)]
Log more details about zypp lock owner.

16 years agobackup
Michael Andres [Fri, 7 Dec 2007 16:59:30 +0000 (16:59 +0000)]
backup