platform/upstream/libzypp.git
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

16 years ago- LookupAttr added fast forward moving, position info and pool search.
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

16 years agofixed include guards and reamed internal includes
Michael Andres [Fri, 4 Apr 2008 20:13:11 +0000 (20:13 +0000)]
fixed include guards and reamed internal includes

16 years agofixed 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

16 years agoFixed IdStringType ctor calls
Michael Andres [Fri, 4 Apr 2008 20:11:12 +0000 (20:11 +0000)]
Fixed IdStringType ctor calls

16 years agoreload target, backup
Duncan Mac-Vicar P [Fri, 4 Apr 2008 16:50:42 +0000 (16:50 +0000)]
reload target, backup

16 years agobackup
Michael Andres [Fri, 4 Apr 2008 15:33:23 +0000 (15:33 +0000)]
backup

16 years agodistinguish between keep and lock in the solver request
Stefan Schubert [Fri, 4 Apr 2008 15:05:04 +0000 (15:05 +0000)]
distinguish between keep and lock in the solver request

16 years agofixed wrong return value while language check
Stefan Schubert [Fri, 4 Apr 2008 14:30:27 +0000 (14:30 +0000)]
fixed wrong return value while language check

16 years agofixed setting recommend/suggested flag
Stefan Schubert [Fri, 4 Apr 2008 12:48:10 +0000 (12:48 +0000)]
fixed setting recommend/suggested flag

16 years agochanges
Josef Reidinger [Fri, 4 Apr 2008 11:59:44 +0000 (11:59 +0000)]
changes

16 years agoadd split with respect to escaped delimeters and also for quotes
Josef Reidinger [Fri, 4 Apr 2008 11:57:54 +0000 (11:57 +0000)]
add split with respect to escaped delimeters and also for quotes

16 years agoGenerate cache path, for deptestomatic it's not the parent dir of raw
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.

16 years agofix compiler warning
Stephan Kulow [Thu, 3 Apr 2008 19:08:45 +0000 (19:08 +0000)]
fix compiler warning

16 years agobackup sat::LookupAttr draft
Michael Andres [Thu, 3 Apr 2008 16:24:46 +0000 (16:24 +0000)]
backup sat::LookupAttr draft

16 years agofix broken cruisecontrol build. gcc4.2 doesn't shout about it, only 4.3.
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.

16 years agoremove iostream include from headers and add to sources where is needed. Only excepti...
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.

16 years ago- allow downgrade if buildtime is the same esp. if both are 0
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

16 years agoFixed some missing package and source package attributes.
Michael Andres [Thu, 3 Apr 2008 10:56:33 +0000 (10:56 +0000)]
Fixed some missing package and source package attributes.

16 years ago- Allow to store a media label in MediaSetAccess. This label is
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.

16 years agologging solver settings before solving
Stefan Schubert [Thu, 3 Apr 2008 09:29:58 +0000 (09:29 +0000)]
logging solver settings before solving

16 years ago- Moved poolItem.status().isSatisfied(),.... to poolItem.isSatisfied()
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

16 years ago- Moved poolItem.status().isSatisfied(),.... to poolItem.isSatisfied()
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

16 years agousing TriBool instead of TriState
Stefan Schubert [Wed, 2 Apr 2008 10:54:17 +0000 (10:54 +0000)]
using TriBool instead of TriState

16 years agochanges
Michael Andres [Wed, 2 Apr 2008 08:25:59 +0000 (08:25 +0000)]
changes

16 years agoadd PoolItem::isSatisfied/isBroken
Michael Andres [Wed, 2 Apr 2008 08:23:56 +0000 (08:23 +0000)]
add PoolItem::isSatisfied/isBroken

16 years agoSilence some warnings: a false positive about no-value return, and
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).

16 years agoFix compile.
Michael Matz [Tue, 1 Apr 2008 21:01:28 +0000 (21:01 +0000)]
Fix compile.

16 years ago- Extend sat::WhatProvides to allow to query for possible providers
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.

16 years agochanges
Josef Reidinger [Tue, 1 Apr 2008 14:17:15 +0000 (14:17 +0000)]
changes

16 years agoinitial implementation of serialize/recovery PoolQuery (needed by FATE #120118)
Josef Reidinger [Tue, 1 Apr 2008 14:14:13 +0000 (14:14 +0000)]
initial implementation of serialize/recovery PoolQuery (needed by FATE #120118)

16 years agotake care about the forceResolve in the testcases
Stefan Schubert [Tue, 1 Apr 2008 13:31:29 +0000 (13:31 +0000)]
take care about the forceResolve in the testcases

16 years agoadded doUpdate( ) which Update to newest packages
Stefan Schubert [Mon, 31 Mar 2008 13:39:26 +0000 (13:39 +0000)]
added doUpdate( ) which Update to newest packages

16 years ago- some more logging
Jan Kupec [Mon, 31 Mar 2008 13:30:15 +0000 (13:30 +0000)]
- some more logging

16 years agonew translations added
Stefan Schubert [Mon, 31 Mar 2008 08:36:18 +0000 (08:36 +0000)]
new translations added

16 years agoflag if the solver regards required packages only
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

16 years agofixed description
Stefan Schubert [Fri, 28 Mar 2008 09:32:35 +0000 (09:32 +0000)]
fixed description

16 years agoAdded new resFilter ByRecommended/BySuggested
Stefan Schubert [Fri, 28 Mar 2008 09:29:38 +0000 (09:29 +0000)]
Added new resFilter ByRecommended/BySuggested

16 years agoregarding recommend/suggest settings from the SAT-solver
Stefan Schubert [Thu, 27 Mar 2008 17:25:25 +0000 (17:25 +0000)]
regarding recommend/suggest settings from the SAT-solver

16 years ago- Added new state: WeakField The solvable will be recommended/suggested by
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.

16 years ago- the lock passes the two testcases now
Duncan Mac-Vicar P [Thu, 27 Mar 2008 16:18:56 +0000 (16:18 +0000)]
- the lock passes the two testcases now

16 years agoremove warning
Duncan Mac-Vicar P [Thu, 27 Mar 2008 16:18:54 +0000 (16:18 +0000)]
remove warning

16 years ago- Allow prioritizing repos by adding a line 'priority=N' to the
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)

16 years ago- backup
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.

16 years agochanges
Stephan Kulow [Mon, 24 Mar 2008 20:18:17 +0000 (20:18 +0000)]
changes

16 years agolink
Stephan Kulow [Mon, 24 Mar 2008 20:16:53 +0000 (20:16 +0000)]
link

16 years agogetting plaindir repos back in action: most of the files
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

16 years agochanges
Josef Reidinger [Fri, 21 Mar 2008 12:20:56 +0000 (12:20 +0000)]
changes

16 years agoThrowing special exception MediaBadCAException in case of SSL certificate validation...
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)

16 years agochanges
Josef Reidinger [Fri, 21 Mar 2008 11:37:13 +0000 (11:37 +0000)]
changes

16 years agoadd new error IO_SOFT to media request callback for temporary connection problem.
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)

16 years agobackup while cleaning up
Michael Andres [Thu, 20 Mar 2008 17:58:21 +0000 (17:58 +0000)]
backup while cleaning up

16 years agobackup prototype of granular locking. Dont look at it yet
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

16 years agochange testsuite to expect enum from checkIfToRefresh and correct test it
Josef Reidinger [Thu, 20 Mar 2008 15:31:52 +0000 (15:31 +0000)]
change testsuite to expect enum from checkIfToRefresh and correct test it

16 years agoforget change typo also in source file
Josef Reidinger [Thu, 20 Mar 2008 14:23:19 +0000 (14:23 +0000)]
forget change typo also in source file

16 years agotypo fix
Josef Reidinger [Thu, 20 Mar 2008 14:09:25 +0000 (14:09 +0000)]
typo fix

16 years agochanges
Josef Reidinger [Thu, 20 Mar 2008 13:59:06 +0000 (13:59 +0000)]
changes

16 years agoreturn more information from checking if metadata need refresh, so user can get bette...
Josef Reidinger [Thu, 20 Mar 2008 13:57:20 +0000 (13:57 +0000)]
return more information from checking if metadata need refresh, so user can get better info. (bnc #307249)

16 years agoLet's not waste code-size for called-once functions, these are
Michael Matz [Thu, 20 Mar 2008 01:52:35 +0000 (01:52 +0000)]
Let's not waste code-size for called-once functions, these are
nontrivial accessors.

16 years agoRemove most traces of glib.
Michael Matz [Thu, 20 Mar 2008 00:56:25 +0000 (00:56 +0000)]
Remove most traces of glib.

16 years agoSo, remove the linking of libglib.
Michael Matz [Thu, 20 Mar 2008 00:50:27 +0000 (00:50 +0000)]
So, remove the linking of libglib.
Also don't link in some dead code (most of the susetags and yum parser).
I'm leaving in the sources files for now, it helps to look at them
sometimes while developing the sat-solver parsers.

16 years agoFunny, an unused function was the only one who possibly could lead to a
Michael Matz [Thu, 20 Mar 2008 00:47:42 +0000 (00:47 +0000)]
Funny, an unused function was the only one who possibly could lead to a
call to that glib function, which in turn is the only call that requires
linking in libglib.

16 years agonew translations
Stephan Kulow [Wed, 19 Mar 2008 16:15:07 +0000 (16:15 +0000)]
new translations

16 years agoall these are not necessary - createPot will do just fine
Stephan Kulow [Wed, 19 Mar 2008 16:08:52 +0000 (16:08 +0000)]
all these are not necessary - createPot will do just fine

16 years agosvn:ignore
Jan Kupec [Wed, 19 Mar 2008 14:57:42 +0000 (14:57 +0000)]
svn:ignore

16 years ago- eject the right device on forceEject
Jan Kupec [Wed, 19 Mar 2008 14:53:43 +0000 (14:53 +0000)]
- eject the right device on forceEject

16 years ago- don't detect devices multiple times after ejecting
Jan Kupec [Wed, 19 Mar 2008 12:42:40 +0000 (12:42 +0000)]
- don't detect devices multiple times after ejecting

16 years agoclass sat::LocaleSupport: Convenience methods to manage support
Michael Andres [Tue, 18 Mar 2008 21:03:35 +0000 (21:03 +0000)]
class sat::LocaleSupport: Convenience methods to manage support
  for language specific packages.

16 years ago- don't overwrite versioned tests/zypp/data/Vendor/zypp2.conf when configuring
Jan Kupec [Tue, 18 Mar 2008 13:06:47 +0000 (13:06 +0000)]
- don't overwrite versioned tests/zypp/data/Vendor/zypp2.conf when configuring

16 years agoversion&changes
Jan Kupec [Tue, 18 Mar 2008 12:56:21 +0000 (12:56 +0000)]
version&changes

16 years agochanges
Josef Reidinger [Tue, 18 Mar 2008 10:41:37 +0000 (10:41 +0000)]
changes

16 years agofix masking skip and abort exception
Josef Reidinger [Tue, 18 Mar 2008 10:39:49 +0000 (10:39 +0000)]
fix masking skip and abort exception

16 years agochanges
Josef Reidinger [Tue, 18 Mar 2008 10:06:34 +0000 (10:06 +0000)]
changes

16 years agofix setting callback action
Josef Reidinger [Tue, 18 Mar 2008 09:57:21 +0000 (09:57 +0000)]
fix setting callback action

16 years agoremove obsolete capability handling stuff
Michael Andres [Mon, 17 Mar 2008 17:16:23 +0000 (17:16 +0000)]
remove obsolete capability handling stuff

16 years agomv DBG MIL
Michael Andres [Mon, 17 Mar 2008 14:59:16 +0000 (14:59 +0000)]
mv DBG MIL

16 years agoinitialize all members
Stephan Kulow [Mon, 17 Mar 2008 13:17:15 +0000 (13:17 +0000)]
initialize all members

16 years agoFix SEGV in commit (bnc# 371137)
Michael Andres [Mon, 17 Mar 2008 11:34:55 +0000 (11:34 +0000)]
Fix SEGV in commit (bnc# 371137)

16 years agoadd test for what provides, still disabled
Duncan Mac-Vicar P [Fri, 14 Mar 2008 17:25:25 +0000 (17:25 +0000)]
add test for what provides, still disabled

16 years agofix
Michael Andres [Fri, 14 Mar 2008 16:35:21 +0000 (16:35 +0000)]
fix

16 years agochanges
Michael Andres [Fri, 14 Mar 2008 16:29:22 +0000 (16:29 +0000)]
changes

16 years agoWhatprovides debug output looking for illegal ids
Michael Andres [Fri, 14 Mar 2008 16:27:36 +0000 (16:27 +0000)]
Whatprovides debug output looking for illegal ids

16 years agoConvenience constructor for PoolItem from Solvable and ResObject
Michael Andres [Fri, 14 Mar 2008 16:26:25 +0000 (16:26 +0000)]
Convenience constructor for PoolItem from Solvable and ResObject

16 years ago- look for openssl in cmake, actually we build require it
Duncan Mac-Vicar P [Fri, 14 Mar 2008 13:32:23 +0000 (13:32 +0000)]
- look for openssl in cmake, actually we build require it
- explicitely link against openssl and crypto, required to
  compile in all platforms/distros.

16 years agoinclude also the subdirectory, because rpm headers include others
Duncan Mac-Vicar P [Fri, 14 Mar 2008 13:32:22 +0000 (13:32 +0000)]
include also the subdirectory, because rpm headers include others
relatively too

16 years agofix test fail for temporary repo
Josef Reidinger [Fri, 14 Mar 2008 13:28:33 +0000 (13:28 +0000)]
fix test fail for temporary repo

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

16 years agoSave repo type during refresh if type is NONE (f.e. lazy probing).
Josef Reidinger [Fri, 14 Mar 2008 11:04:50 +0000 (11:04 +0000)]
Save repo type during refresh if type is NONE (f.e. lazy probing).

16 years agochanges
Josef Reidinger [Fri, 14 Mar 2008 10:33:15 +0000 (10:33 +0000)]
changes

16 years agoreplace gpg escaped semicolon with real semicolon (bnc #355434)
Josef Reidinger [Fri, 14 Mar 2008 10:31:30 +0000 (10:31 +0000)]
replace gpg escaped semicolon with real semicolon (bnc #355434)

16 years agochanges
Josef Reidinger [Fri, 14 Mar 2008 09:16:09 +0000 (09:16 +0000)]
changes

16 years agomake strings from RpmDb and Keyring exceptions translatable
Josef Reidinger [Fri, 14 Mar 2008 09:14:56 +0000 (09:14 +0000)]
make strings from RpmDb and Keyring exceptions translatable

16 years agostupid vim
Duncan Mac-Vicar P [Thu, 13 Mar 2008 17:48:37 +0000 (17:48 +0000)]
stupid vim