Stefan Schubert [Thu, 10 Apr 2008 10:01:13 +0000 (10:01 +0000)]
added validate
Stefan Schubert [Thu, 10 Apr 2008 08:20:17 +0000 (08:20 +0000)]
added isRelevant
Jan Kupec [Thu, 10 Apr 2008 00:36:45 +0000 (00:36 +0000)]
- derive from SolvIterMixin
- some cleanup
Jan Kupec [Wed, 9 Apr 2008 23:52:53 +0000 (23:52 +0000)]
- begin(), end() made const
Michael Andres [Wed, 9 Apr 2008 19:42:48 +0000 (19:42 +0000)]
typo
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.
Klaus Kaempf [Wed, 9 Apr 2008 15:57:46 +0000 (15:57 +0000)]
use proper attributes for the update references
Duncan Mac-Vicar P [Wed, 9 Apr 2008 15:52:46 +0000 (15:52 +0000)]
Dont confuse out stupid friend swig
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
Stefan Schubert [Wed, 9 Apr 2008 14:26:23 +0000 (14:26 +0000)]
removed translation flag for none user errormessages
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
Stefan Schubert [Wed, 9 Apr 2008 10:19:12 +0000 (10:19 +0000)]
added new translations
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).
Jan Kupec [Wed, 9 Apr 2008 09:49:19 +0000 (09:49 +0000)]
- fix multi-attribute search using dataiterator_match
Michael Andres [Tue, 8 Apr 2008 23:21:59 +0000 (23:21 +0000)]
add pattern contents
Jan Kupec [Tue, 8 Apr 2008 18:23:42 +0000 (18:23 +0000)]
- multiple repositories filter reenabled
- some cleanup
Duncan Mac-Vicar P [Tue, 8 Apr 2008 15:40:19 +0000 (15:40 +0000)]
bump
Duncan Mac-Vicar P [Tue, 8 Apr 2008 15:40:18 +0000 (15:40 +0000)]
bump
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
Michael Andres [Tue, 8 Apr 2008 15:12:11 +0000 (15:12 +0000)]
- Fix some Patch and Pattern attributes.
- Prepare Patch and Pattern contents.
Jan Kupec [Tue, 8 Apr 2008 14:01:30 +0000 (14:01 +0000)]
- by kind filter reenabled
- disable test until fixed
Josef Reidinger [Tue, 8 Apr 2008 13:48:18 +0000 (13:48 +0000)]
changes
Josef Reidinger [Tue, 8 Apr 2008 13:47:27 +0000 (13:47 +0000)]
add comparing to PoolQuery
Josef Reidinger [Tue, 8 Apr 2008 11:51:28 +0000 (11:51 +0000)]
use forward declaration instead of include
Josef Reidinger [Tue, 8 Apr 2008 11:16:04 +0000 (11:16 +0000)]
changes
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)
Jan Kupec [Tue, 8 Apr 2008 11:00:20 +0000 (11:00 +0000)]
- move ResultIterator out and down
Jan Kupec [Tue, 8 Apr 2008 10:53:09 +0000 (10:53 +0000)]
- oops
Jan Kupec [Tue, 8 Apr 2008 10:36:41 +0000 (10:36 +0000)]
- getters added
Stefan Schubert [Tue, 8 Apr 2008 09:52:46 +0000 (09:52 +0000)]
cleanup while state changes; added update for special items
Josef Reidinger [Tue, 8 Apr 2008 08:50:54 +0000 (08:50 +0000)]
changes
Josef Reidinger [Tue, 8 Apr 2008 08:48:59 +0000 (08:48 +0000)]
initial implementation of new locks (FATE #120118 and #120352)
Jan Kupec [Mon, 7 Apr 2008 22:57:12 +0000 (22:57 +0000)]
- exact/glob and case-insensitive matching for multi-attribute condition
Jan Kupec [Mon, 7 Apr 2008 19:22:53 +0000 (19:22 +0000)]
- enable glob matching + test case
Michael Andres [Mon, 7 Apr 2008 17:37:16 +0000 (17:37 +0000)]
done LookupAttr, added ArrayAttr container to retrieve list attributes.
Jan Kupec [Mon, 7 Apr 2008 14:21:22 +0000 (14:21 +0000)]
- by-status filter re-enabled
- test case added
Jan Kupec [Mon, 7 Apr 2008 12:35:42 +0000 (12:35 +0000)]
- hide sat/repo.h
- some cleanup
Jan Kupec [Mon, 7 Apr 2008 11:30:06 +0000 (11:30 +0000)]
- fix the ResultIterator stop rule
- +1 test
Stefan Schubert [Mon, 7 Apr 2008 11:10:47 +0000 (11:10 +0000)]
added isSatisfied to solvables
Jan Kupec [Mon, 7 Apr 2008 10:46:44 +0000 (10:46 +0000)]
- compat version increased (changes in PoolQuery)
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.
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.
Stephan Kulow [Mon, 7 Apr 2008 08:23:48 +0000 (08:23 +0000)]
no longer needed - standard material
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?
Jan Kupec [Sat, 5 Apr 2008 09:11:18 +0000 (09:11 +0000)]
- solvable name added
Michael Andres [Fri, 4 Apr 2008 22:01:32 +0000 (22:01 +0000)]
- LookupAttr added fast forward moving, position info and pool search.
- Add Repository::nextInPool() retiurning the next repo in pool.
- fixed Pool::reposEmpty and Repository::solvablesEmpty
Michael Andres [Fri, 4 Apr 2008 20:13:11 +0000 (20:13 +0000)]
fixed include guards and reamed internal includes
Michael Andres [Fri, 4 Apr 2008 20:12:44 +0000 (20:12 +0000)]
fixed include guards and reamed internal includes
Michael Andres [Fri, 4 Apr 2008 20:11:12 +0000 (20:11 +0000)]
Fixed IdStringType ctor calls
Duncan Mac-Vicar P [Fri, 4 Apr 2008 16:50:42 +0000 (16:50 +0000)]
reload target, backup
Michael Andres [Fri, 4 Apr 2008 15:33:23 +0000 (15:33 +0000)]
backup
Stefan Schubert [Fri, 4 Apr 2008 15:05:04 +0000 (15:05 +0000)]
distinguish between keep and lock in the solver request
Stefan Schubert [Fri, 4 Apr 2008 14:30:27 +0000 (14:30 +0000)]
fixed wrong return value while language check
Stefan Schubert [Fri, 4 Apr 2008 12:48:10 +0000 (12:48 +0000)]
fixed setting recommend/suggested flag
Josef Reidinger [Fri, 4 Apr 2008 11:59:44 +0000 (11:59 +0000)]
changes
Josef Reidinger [Fri, 4 Apr 2008 11:57:54 +0000 (11:57 +0000)]
add split with respect to escaped delimeters and also for quotes
Michael Matz [Thu, 3 Apr 2008 22:46:36 +0000 (22:46 +0000)]
Generate cache path, for deptestomatic it's not the parent dir of raw
cache path.
Stephan Kulow [Thu, 3 Apr 2008 19:08:45 +0000 (19:08 +0000)]
fix compiler warning
Michael Andres [Thu, 3 Apr 2008 16:24:46 +0000 (16:24 +0000)]
backup sat::LookupAttr draft
Josef Reidinger [Thu, 3 Apr 2008 15:07:01 +0000 (15:07 +0000)]
fix broken cruisecontrol build. gcc4.2 doesn't shout about it, only 4.3.
Josef Reidinger [Thu, 3 Apr 2008 14:23:59 +0000 (14:23 +0000)]
remove iostream include from headers and add to sources where is needed. Only exception is MediaProducts which is used only in its source code.
Stefan Schubert [Thu, 3 Apr 2008 12:26:52 +0000 (12:26 +0000)]
- allow downgrade if buildtime is the same esp. if both are 0
- create buildtime in the testcases
Michael Andres [Thu, 3 Apr 2008 10:56:33 +0000 (10:56 +0000)]
Fixed some missing package and source package attributes.
Michael Andres [Thu, 3 Apr 2008 10:10:48 +0000 (10:10 +0000)]
- Allow to store a media label in MediaSetAccess. This label is
passed to a media change requests to describe which CD is
requested.
Stefan Schubert [Thu, 3 Apr 2008 09:29:58 +0000 (09:29 +0000)]
logging solver settings before solving
Stefan Schubert [Wed, 2 Apr 2008 11:50:10 +0000 (11:50 +0000)]
- Moved poolItem.status().isSatisfied(),.... to poolItem.isSatisfied()
- Removed establish state in ResStatus
Stefan Schubert [Wed, 2 Apr 2008 11:48:14 +0000 (11:48 +0000)]
- Moved poolItem.status().isSatisfied(),.... to poolItem.isSatisfied()
- Removed establish state in ResStatus
Stefan Schubert [Wed, 2 Apr 2008 10:54:17 +0000 (10:54 +0000)]
using TriBool instead of TriState
Michael Andres [Wed, 2 Apr 2008 08:25:59 +0000 (08:25 +0000)]
changes
Michael Andres [Wed, 2 Apr 2008 08:23:56 +0000 (08:23 +0000)]
add PoolItem::isSatisfied/isBroken
Michael Matz [Tue, 1 Apr 2008 23:11:10 +0000 (23:11 +0000)]
Silence some warnings: a false positive about no-value return, and
using the deprecated Dependencies class in the dump function for it
(which itself also is deprecated and then doesn't warn anymore).
The helixXML() function was completely unused, so removing that too.
And NVRAD inherits from Dependencies, hence also is deprecated
(unfortunately that doesn't silence the warning for its uses of
Dependencies).
Michael Matz [Tue, 1 Apr 2008 21:01:28 +0000 (21:01 +0000)]
Fix compile.
Michael Andres [Tue, 1 Apr 2008 20:03:24 +0000 (20:03 +0000)]
- Extend sat::WhatProvides to allow to query for possible providers
of a collection of capabilies. E.g. all providers of a packages
requirements.
- Fixed retrieval of translated texts from .solv files, provided the
solv file contains them.
Josef Reidinger [Tue, 1 Apr 2008 14:17:15 +0000 (14:17 +0000)]
changes
Josef Reidinger [Tue, 1 Apr 2008 14:14:13 +0000 (14:14 +0000)]
initial implementation of serialize/recovery PoolQuery (needed by FATE #120118)
Stefan Schubert [Tue, 1 Apr 2008 13:31:29 +0000 (13:31 +0000)]
take care about the forceResolve in the testcases
Stefan Schubert [Mon, 31 Mar 2008 13:39:26 +0000 (13:39 +0000)]
added doUpdate( ) which Update to newest packages
Jan Kupec [Mon, 31 Mar 2008 13:30:15 +0000 (13:30 +0000)]
- some more logging
Stefan Schubert [Mon, 31 Mar 2008 08:36:18 +0000 (08:36 +0000)]
new translations added
Stefan Schubert [Fri, 28 Mar 2008 14:56:27 +0000 (14:56 +0000)]
flag if the solver regards required packages only
- defined in zypp.conf
- can be overwritten in the API
Stefan Schubert [Fri, 28 Mar 2008 09:32:35 +0000 (09:32 +0000)]
fixed description
Stefan Schubert [Fri, 28 Mar 2008 09:29:38 +0000 (09:29 +0000)]
Added new resFilter ByRecommended/BySuggested
Stefan Schubert [Thu, 27 Mar 2008 17:25:25 +0000 (17:25 +0000)]
regarding recommend/suggest settings from the SAT-solver
Stefan Schubert [Thu, 27 Mar 2008 16:52:14 +0000 (16:52 +0000)]
- Added new state: WeakField The solvable will be recommended/suggested by
a to be installed/deleted solvable.
- Removed not needed state.
Duncan Mac-Vicar P [Thu, 27 Mar 2008 16:18:56 +0000 (16:18 +0000)]
- the lock passes the two testcases now
Duncan Mac-Vicar P [Thu, 27 Mar 2008 16:18:54 +0000 (16:18 +0000)]
remove warning
Michael Andres [Wed, 26 Mar 2008 15:31:36 +0000 (15:31 +0000)]
- Allow prioritizing repos by adding a line 'priority=N' to the
.repo file. Where N is an integer number from 1 (highest prio)
to 99 (least and default). (bnc #369827, fate #302872)
Duncan Mac-Vicar P [Tue, 25 Mar 2008 08:21:00 +0000 (08:21 +0000)]
- backup
- replace the old .pid based implementation with a simpler one
just following the semantics of fnctl locking.
testscase stil fails on some cases, so disabling it.
Stephan Kulow [Mon, 24 Mar 2008 20:18:17 +0000 (20:18 +0000)]
changes
Stephan Kulow [Mon, 24 Mar 2008 20:16:53 +0000 (20:16 +0000)]
link
Stephan Kulow [Mon, 24 Mar 2008 14:30:37 +0000 (14:30 +0000)]
getting plaindir repos back in action: most of the files
understood by the libzypp parser are not working, but
zypper in <path.rpm> works again
Josef Reidinger [Fri, 21 Mar 2008 12:20:56 +0000 (12:20 +0000)]
changes
Josef Reidinger [Fri, 21 Mar 2008 12:20:16 +0000 (12:20 +0000)]
Throwing special exception MediaBadCAException in case of SSL certificate validation failure.(bnc #223512)
Josef Reidinger [Fri, 21 Mar 2008 11:37:13 +0000 (11:37 +0000)]
changes
Josef Reidinger [Fri, 21 Mar 2008 11:35:31 +0000 (11:35 +0000)]
add new error IO_SOFT to media request callback for temporary connection problem.
add new media exception timeout when somethink fail due to exceed timeout
mediacurl throw timeout exception when timeouted
(bnc #328822)
Michael Andres [Thu, 20 Mar 2008 17:58:21 +0000 (17:58 +0000)]
backup while cleaning up
Duncan Mac-Vicar P [Thu, 20 Mar 2008 17:49:50 +0000 (17:49 +0000)]
backup prototype of granular locking. Dont look at it yet
Josef Reidinger [Thu, 20 Mar 2008 15:31:52 +0000 (15:31 +0000)]
change testsuite to expect enum from checkIfToRefresh and correct test it
Josef Reidinger [Thu, 20 Mar 2008 14:23:19 +0000 (14:23 +0000)]
forget change typo also in source file
Josef Reidinger [Thu, 20 Mar 2008 14:09:25 +0000 (14:09 +0000)]
typo fix