platform/upstream/libzypp.git
16 years agohack that product are satisfied; used only for beta1
Stefan Schubert [Mon, 14 Apr 2008 14:57:43 +0000 (14:57 +0000)]
hack that product are satisfied; used only for beta1

16 years ago- attribute(SolvAttr) getter added
Jan Kupec [Mon, 14 Apr 2008 12:40:33 +0000 (12:40 +0000)]
- attribute(SolvAttr) getter added

16 years ago- read() -> readAndApply()
Jan Kupec [Mon, 14 Apr 2008 12:07:29 +0000 (12:07 +0000)]
- read() -> readAndApply()
- read() added
- apply() added

16 years ago- make the interface consistent
Jan Kupec [Mon, 14 Apr 2008 11:37:26 +0000 (11:37 +0000)]
- make the interface consistent
- iterator addedd

16 years ago- remove the overkill zypp::locks namespace
Jan Kupec [Mon, 14 Apr 2008 11:11:58 +0000 (11:11 +0000)]
- remove the overkill zypp::locks namespace

16 years agoEnable evaluation of filesystem dependencies
Michael Andres [Mon, 14 Apr 2008 10:54:05 +0000 (10:54 +0000)]
Enable evaluation of filesystem dependencies

16 years agoremove emty dir from svn
Michael Andres [Mon, 14 Apr 2008 10:04:45 +0000 (10:04 +0000)]
remove emty dir from svn

16 years agoEnable evaluation of hardware dependencies.
Michael Andres [Mon, 14 Apr 2008 10:02:20 +0000 (10:02 +0000)]
Enable evaluation of hardware dependencies.

16 years agoAdd new base class for solver queue
Stefan Schubert [Mon, 14 Apr 2008 09:57:01 +0000 (09:57 +0000)]
Add new base class for solver queue

16 years agomake zypp-query-pool compile, but dont install yet
Duncan Mac-Vicar P [Sun, 13 Apr 2008 01:10:05 +0000 (01:10 +0000)]
make zypp-query-pool compile, but dont install yet

16 years agochanges
Jan Kupec [Sun, 13 Apr 2008 00:18:52 +0000 (00:18 +0000)]
changes

16 years ago- RawMetadataRefreshPolicy: CheckIfNeededIgnoreDelay added
Jan Kupec [Sun, 13 Apr 2008 00:17:21 +0000 (00:17 +0000)]
- RawMetadataRefreshPolicy: CheckIfNeededIgnoreDelay added
  needed for explicit refresh request

16 years ago- Resolvable::Kind -> ResKind
Jan Kupec [Sat, 12 Apr 2008 20:38:23 +0000 (20:38 +0000)]
- Resolvable::Kind -> ResKind

16 years ago- get rid of Impl * in the PoolQueryIterator, copy the necessary data
Jan Kupec [Sat, 12 Apr 2008 11:07:34 +0000 (11:07 +0000)]
- get rid of Impl * in the PoolQueryIterator, copy the necessary data

16 years agofix the content loop: lookup attribute sets just once
Klaus Kaempf [Sat, 12 Apr 2008 06:14:31 +0000 (06:14 +0000)]
fix the content loop: lookup attribute sets just once

16 years ago- use str::regex wrapper instead of ::regex_t
Jan Kupec [Fri, 11 Apr 2008 22:02:48 +0000 (22:02 +0000)]
- use str::regex wrapper instead of ::regex_t

16 years ago- operator= and copy c-tor added
Jan Kupec [Fri, 11 Apr 2008 22:00:55 +0000 (22:00 +0000)]
- operator= and copy c-tor added
- regex_t * get() added for direct use in regexec()

16 years agoorder
Stephan Kulow [Fri, 11 Apr 2008 20:40:10 +0000 (20:40 +0000)]
order

16 years ago- Install ResPoolProxy index to speedup Solvable to Selectable
Michael Andres [Fri, 11 Apr 2008 20:01:46 +0000 (20:01 +0000)]
- Install ResPoolProxy index to speedup Solvable to Selectable
  conversion.

16 years ago- not needed anymore, seems like the bug was here, but switching to
Jan Kupec [Fri, 11 Apr 2008 17:13:05 +0000 (17:13 +0000)]
- not needed anymore, seems like the bug was here, but switching to
  LookupAttr::iterator made it go away

16 years ago- make use of LookupAttr::iterator for the common stuff
Jan Kupec [Fri, 11 Apr 2008 17:11:03 +0000 (17:11 +0000)]
- make use of LookupAttr::iterator for the common stuff

16 years ago- iterator( scoped_ptr< ::_Dataiterator> & dip_r, bool chain_r ) goes
Jan Kupec [Fri, 11 Apr 2008 17:02:38 +0000 (17:02 +0000)]
- iterator( scoped_ptr< ::_Dataiterator> & dip_r, bool chain_r ) goes
  public
- add missing _chainRepos to CopyCtor and operator=

16 years agojust adding the right directory - and it works !
Klaus Kaempf [Fri, 11 Apr 2008 16:17:24 +0000 (16:17 +0000)]
just adding the right directory - and it works !

16 years ago- Implement update scripts installed by packages. After every
Klaus Kaempf [Fri, 11 Apr 2008 16:04:15 +0000 (16:04 +0000)]
- Implement update scripts installed by packages. After every
  package install /var/adm/update-scripts is scanned for the first
  file starting with "<name>-<version>.<release>-", which is then
  executed.

16 years agodeprecate obsolete content helper classes
Michael Andres [Fri, 11 Apr 2008 15:17:33 +0000 (15:17 +0000)]
deprecate obsolete content helper classes

16 years agotest for save/restoring locks and also unlocking
Josef Reidinger [Fri, 11 Apr 2008 15:16:01 +0000 (15:16 +0000)]
test for save/restoring locks and also unlocking

16 years agotaking satisfied/broken state from ResStatus
Stefan Schubert [Fri, 11 Apr 2008 14:56:58 +0000 (14:56 +0000)]
taking satisfied/broken state from ResStatus

16 years agoimplement unlock
Josef Reidinger [Fri, 11 Apr 2008 14:35:37 +0000 (14:35 +0000)]
implement unlock

16 years agomake the update_scripts_path configurable via update.scriptsdir
Klaus Kaempf [Fri, 11 Apr 2008 14:29:46 +0000 (14:29 +0000)]
make the update_scripts_path configurable via update.scriptsdir

16 years agodoc
Michael Andres [Fri, 11 Apr 2008 12:52:04 +0000 (12:52 +0000)]
doc

16 years agochanges
Michael Andres [Fri, 11 Apr 2008 12:43:53 +0000 (12:43 +0000)]
changes

16 years ago- Add ResPool::satisfiedProductsBegin/End iterator over all products
Michael Andres [Fri, 11 Apr 2008 12:43:37 +0000 (12:43 +0000)]
- Add ResPool::satisfiedProductsBegin/End iterator over all products
  whose dependencies are satisfied. This reflects the status determined
  by the last solver run. (#368104)

16 years agoadd locking/unlocking selectables
Josef Reidinger [Fri, 11 Apr 2008 11:50:39 +0000 (11:50 +0000)]
add locking/unlocking selectables

16 years agoadd updateScriptsPath (non-configurable because it doesn't make sense)
Klaus Kaempf [Fri, 11 Apr 2008 11:34:38 +0000 (11:34 +0000)]
add updateScriptsPath (non-configurable because it doesn't make sense)

16 years ago- Fix SolvIterMixin to avioid multiple visits of the same Selectable.
Michael Andres [Fri, 11 Apr 2008 10:51:59 +0000 (10:51 +0000)]
- Fix SolvIterMixin to avioid multiple visits of the same Selectable.
- Add Resolvable::poolItem() providing access to the corresponding
  PoolItem. API to query isRelevant/isSatisfied/isBroken was moved
  to PoolItem.

16 years agoadded new state VALIDATE in ResStatus
Stefan Schubert [Fri, 11 Apr 2008 10:27:21 +0000 (10:27 +0000)]
added new state VALIDATE in ResStatus

16 years agochanges
Josef Reidinger [Fri, 11 Apr 2008 10:05:14 +0000 (10:05 +0000)]
changes

16 years agoswitch to new locks api
Josef Reidinger [Fri, 11 Apr 2008 10:04:23 +0000 (10:04 +0000)]
switch to new locks api

16 years agocomplete serialize/recovery PoolQuery
Josef Reidinger [Fri, 11 Apr 2008 08:57:21 +0000 (08:57 +0000)]
complete serialize/recovery PoolQuery

16 years agoRestore compilation. This should eventually use the _map variant, to be
Michael Matz [Thu, 10 Apr 2008 18:47:22 +0000 (18:47 +0000)]
Restore compilation.  This should eventually use the _map variant, to be
faster, but that requires caching the installedmap and conflictsmap
somewhere (the system repo I think).

16 years ago- don't hold const CompiledAttrMap & in PoolQueryIterator
Jan Kupec [Thu, 10 Apr 2008 17:11:38 +0000 (17:11 +0000)]
- don't hold const CompiledAttrMap & in PoolQueryIterator

16 years agocomments added
Michael Andres [Thu, 10 Apr 2008 16:04:34 +0000 (16:04 +0000)]
comments added

16 years agoPoolQuery: improve recovery from file. something not working in copy ctor.
Josef Reidinger [Thu, 10 Apr 2008 15:56:17 +0000 (15:56 +0000)]
PoolQuery: improve recovery from file. something not working in copy ctor.

16 years agoname attribute moved to solvAttr
Josef Reidinger [Thu, 10 Apr 2008 15:08:13 +0000 (15:08 +0000)]
name attribute moved to solvAttr

16 years agoooops I forget add data for tests :)
Josef Reidinger [Thu, 10 Apr 2008 15:05:44 +0000 (15:05 +0000)]
ooops I forget add data for tests :)

16 years agoLocks can lock queries. Unlock doesn't work.
Josef Reidinger [Thu, 10 Apr 2008 14:56:00 +0000 (14:56 +0000)]
Locks can lock queries. Unlock doesn't work.

16 years ago- enable regex matching for different per-attribute values
Jan Kupec [Thu, 10 Apr 2008 13:29:08 +0000 (13:29 +0000)]
- enable regex matching for different per-attribute values

16 years agofix operator== for PoolQuery. add !=
Josef Reidinger [Thu, 10 Apr 2008 13:26:04 +0000 (13:26 +0000)]
fix operator== for PoolQuery. add !=

16 years agotypo to compile
Michael Andres [Thu, 10 Apr 2008 12:51:11 +0000 (12:51 +0000)]
typo to compile

16 years agoProtect LookupAttr::iterator against post end access.
Michael Andres [Thu, 10 Apr 2008 12:28:39 +0000 (12:28 +0000)]
Protect LookupAttr::iterator against post end access.

16 years ago- add some debug, and sorry but my emacs ate the evil tabs, I can't split the commit
Duncan Mac-Vicar P [Thu, 10 Apr 2008 12:16:28 +0000 (12:16 +0000)]
- add some debug, and sorry but my emacs ate the evil tabs, I can't split the commit

16 years ago- enabled different per-attribute query srtrings (one value)
Jan Kupec [Thu, 10 Apr 2008 11:31:20 +0000 (11:31 +0000)]
- enabled different per-attribute query srtrings (one value)

16 years ago- enable per-attribute string setting (same value)
Jan Kupec [Thu, 10 Apr 2008 11:12:26 +0000 (11:12 +0000)]
- enable per-attribute string setting (same value)

16 years agono endless loop
Duncan Mac-Vicar P [Thu, 10 Apr 2008 10:55:59 +0000 (10:55 +0000)]
no endless loop

16 years agoinitial try on filling Patch::contents
Klaus Kaempf [Thu, 10 Apr 2008 10:22:44 +0000 (10:22 +0000)]
initial try on filling Patch::contents

16 years agoadded validate
Stefan Schubert [Thu, 10 Apr 2008 10:01:13 +0000 (10:01 +0000)]
added validate

16 years agoadded isRelevant
Stefan Schubert [Thu, 10 Apr 2008 08:20:17 +0000 (08:20 +0000)]
added isRelevant

16 years ago- derive from SolvIterMixin
Jan Kupec [Thu, 10 Apr 2008 00:36:45 +0000 (00:36 +0000)]
- derive from SolvIterMixin
- some cleanup

16 years ago- begin(), end() made const
Jan Kupec [Wed, 9 Apr 2008 23:52:53 +0000 (23:52 +0000)]
- begin(), end() made const

16 years agotypo
Michael Andres [Wed, 9 Apr 2008 19:42:48 +0000 (19:42 +0000)]
typo

16 years ago- Enable ui::Selectable lookup by Solvable/PoolItem in ResPoolProxy.
Michael Andres [Wed, 9 Apr 2008 19:37:13 +0000 (19:37 +0000)]
- Enable ui::Selectable lookup by Solvable/PoolItem in ResPoolProxy.
- Add SolvIterMixin: Base class providing PoolItem_iterator and
  Selectable_iterator iterator types based on a Solvable iterator.
- Enhanced WhatProvides and SolvableSet to PoolItem_iterator to offer
  PoolItem_iterator and Selectable_iterator.
- Add Solvable::SplitIdent: Helper class that splits an identifier
  into kind and name.
- Provide methods Pattern::contents returning a collection of packages
  associated with the pattern/patch.

16 years agouse proper attributes for the update references
Klaus Kaempf [Wed, 9 Apr 2008 15:57:46 +0000 (15:57 +0000)]
use proper attributes for the update references

16 years agoDont confuse out stupid friend swig
Duncan Mac-Vicar P [Wed, 9 Apr 2008 15:52:46 +0000 (15:52 +0000)]
Dont confuse out stupid friend swig

16 years agoAPI for retrieving bugzilla and security references using a nice iterator (thanks
Duncan Mac-Vicar P [Wed, 9 Apr 2008 14:41:27 +0000 (14:41 +0000)]
API for retrieving bugzilla and security references using a nice iterator (thanks
Michael for the tips)

The implementation needs to fix the attribute names

16 years agoremoved translation flag for none user errormessages
Stefan Schubert [Wed, 9 Apr 2008 14:26:23 +0000 (14:26 +0000)]
removed translation flag for none user errormessages

16 years ago- check whether regex compiled allright if matchRegex()
Jan Kupec [Wed, 9 Apr 2008 14:17:41 +0000 (14:17 +0000)]
- check whether regex compiled allright if matchRegex()
- fixed setMatch*() methods
- few tests for regexes added

16 years agoadded new translations
Stefan Schubert [Wed, 9 Apr 2008 10:19:12 +0000 (10:19 +0000)]
added new translations

16 years agoSome changes I had still in queue. Using a different test word, that
Michael Matz [Wed, 9 Apr 2008 10:14:19 +0000 (10:14 +0000)]
Some changes I had still in queue.  Using a different test word, that
happens to exist sometimes only in names, or summaries or descriptions.
And not accessing the kv.id member (only debug output, but hey).

16 years ago- fix multi-attribute search using dataiterator_match
Jan Kupec [Wed, 9 Apr 2008 09:49:19 +0000 (09:49 +0000)]
- fix multi-attribute search using dataiterator_match

16 years agoadd pattern contents
Michael Andres [Tue, 8 Apr 2008 23:21:59 +0000 (23:21 +0000)]
add pattern contents

16 years ago- multiple repositories filter reenabled
Jan Kupec [Tue, 8 Apr 2008 18:23:42 +0000 (18:23 +0000)]
- multiple repositories filter reenabled
- some cleanup

16 years agobump
Duncan Mac-Vicar P [Tue, 8 Apr 2008 15:40:19 +0000 (15:40 +0000)]
bump

16 years agobump
Duncan Mac-Vicar P [Tue, 8 Apr 2008 15:40:18 +0000 (15:40 +0000)]
bump

16 years ago- Selectable deserves a cleanup, some consistency.
Duncan Mac-Vicar P [Tue, 8 Apr 2008 15:40:16 +0000 (15:40 +0000)]
- Selectable deserves a cleanup, some consistency.
- Having setFoo and set_bar in the same API is worse than killing kittens
- Use PoolItems everywhere
- add multiple installed support
- more coming

16 years ago- Fix some Patch and Pattern attributes.
Michael Andres [Tue, 8 Apr 2008 15:12:11 +0000 (15:12 +0000)]
- Fix some Patch and Pattern attributes.
- Prepare Patch and Pattern contents.

16 years ago- by kind filter reenabled
Jan Kupec [Tue, 8 Apr 2008 14:01:30 +0000 (14:01 +0000)]
- by kind filter reenabled
- disable test until fixed

16 years agochanges
Josef Reidinger [Tue, 8 Apr 2008 13:48:18 +0000 (13:48 +0000)]
changes

16 years agoadd comparing to PoolQuery
Josef Reidinger [Tue, 8 Apr 2008 13:47:27 +0000 (13:47 +0000)]
add comparing to PoolQuery

16 years agouse forward declaration instead of include
Josef Reidinger [Tue, 8 Apr 2008 11:51:28 +0000 (11:51 +0000)]
use forward declaration instead of include

16 years agochanges
Josef Reidinger [Tue, 8 Apr 2008 11:16:04 +0000 (11:16 +0000)]
changes

16 years agomove RepoInfo to universal RepoException. This can enable more verbose output for...
Josef Reidinger [Tue, 8 Apr 2008 11:15:12 +0000 (11:15 +0000)]
move RepoInfo to universal RepoException. This can enable more verbose output for frontend. (helps with bnc #377137)

16 years ago- move ResultIterator out and down
Jan Kupec [Tue, 8 Apr 2008 11:00:20 +0000 (11:00 +0000)]
- move ResultIterator out and down

16 years ago- oops
Jan Kupec [Tue, 8 Apr 2008 10:53:09 +0000 (10:53 +0000)]
- oops

16 years ago- getters added
Jan Kupec [Tue, 8 Apr 2008 10:36:41 +0000 (10:36 +0000)]
- getters added

16 years agocleanup while state changes; added update for special items
Stefan Schubert [Tue, 8 Apr 2008 09:52:46 +0000 (09:52 +0000)]
cleanup while state changes; added update for special items

16 years agochanges
Josef Reidinger [Tue, 8 Apr 2008 08:50:54 +0000 (08:50 +0000)]
changes

16 years agoinitial implementation of new locks (FATE #120118 and #120352)
Josef Reidinger [Tue, 8 Apr 2008 08:48:59 +0000 (08:48 +0000)]
initial implementation of new locks (FATE #120118 and #120352)

16 years ago- exact/glob and case-insensitive matching for multi-attribute condition
Jan Kupec [Mon, 7 Apr 2008 22:57:12 +0000 (22:57 +0000)]
- exact/glob and case-insensitive matching for multi-attribute condition

16 years ago- enable glob matching + test case
Jan Kupec [Mon, 7 Apr 2008 19:22:53 +0000 (19:22 +0000)]
- enable glob matching + test case

16 years agodone LookupAttr, added ArrayAttr container to retrieve list attributes.
Michael Andres [Mon, 7 Apr 2008 17:37:16 +0000 (17:37 +0000)]
done LookupAttr, added ArrayAttr container to retrieve list attributes.

16 years ago- by-status filter re-enabled
Jan Kupec [Mon, 7 Apr 2008 14:21:22 +0000 (14:21 +0000)]
- by-status filter re-enabled
- test case added

16 years ago- hide sat/repo.h
Jan Kupec [Mon, 7 Apr 2008 12:35:42 +0000 (12:35 +0000)]
- hide sat/repo.h
- some cleanup

16 years ago- fix the ResultIterator stop rule
Jan Kupec [Mon, 7 Apr 2008 11:30:06 +0000 (11:30 +0000)]
- fix the ResultIterator stop rule
- +1 test

16 years agoadded isSatisfied to solvables
Stefan Schubert [Mon, 7 Apr 2008 11:10:47 +0000 (11:10 +0000)]
added isSatisfied to solvables

16 years ago- compat version increased (changes in PoolQuery)
Jan Kupec [Mon, 7 Apr 2008 10:46:44 +0000 (10:46 +0000)]
- compat version increased (changes in PoolQuery)

16 years ago- move the initialization to a option class.
Duncan Mac-Vicar P [Mon, 7 Apr 2008 10:18:01 +0000 (10:18 +0000)]
- move the initialization to a option class.
- allow the base path to be overriden.
  by default it uses the same /var/run/zypp-name.lock if root
  and /var/tmp/zypp-username/zypp-name.lock if user.

- now test pass as user too.

16 years ago- use Fd class instead of a plain integer so I can remove all duplicated
Duncan Mac-Vicar P [Mon, 7 Apr 2008 10:17:58 +0000 (10:17 +0000)]
- use Fd class instead of a plain integer so I can remove all duplicated
  code to close the file on exceptions, by getting automatic out of scoping.

16 years agono longer needed - standard material
Stephan Kulow [Mon, 7 Apr 2008 08:23:48 +0000 (08:23 +0000)]
no longer needed - standard material

16 years ago- PoolQuery backup
Jan Kupec [Sun, 6 Apr 2008 22:17:10 +0000 (22:17 +0000)]
- PoolQuery backup
- some basic queries work (see the PoolQuery_test suite)
- ugly code, will beautify/optimize/correct
- TODO: kind filter, multiple repos, regexes (incl. wildcards), multiple
  attribute values, <,>,== for different value types (locks need to
  searc for edition > x.y.z), enable search in dependencies (easy)
- do/move some functionality to sat-solver?

16 years ago- solvable name added
Jan Kupec [Sat, 5 Apr 2008 09:11:18 +0000 (09:11 +0000)]
- solvable name added