platform/upstream/libsolv.git
12 years ago- add M&M synthesis file parser, add mkd2solv tool
Michael Schroeder [Thu, 22 Mar 2012 17:17:35 +0000 (18:17 +0100)]
- add M&M synthesis file parser, add mkd2solv tool

12 years ago- support distepoch handling in release, used by the M&M distros
Michael Schroeder [Thu, 22 Mar 2012 17:04:36 +0000 (18:04 +0100)]
- support distepoch handling in release, used by the M&M distros

12 years ago- bring solvable_trivial_installable functions back in sync with pool_trivial_installable
Michael Schroeder [Wed, 21 Mar 2012 15:18:54 +0000 (16:18 +0100)]
- bring solvable_trivial_installable functions back in sync with pool_trivial_installable

12 years ago- also show number of updaterules in stats for completeness
Michael Schroeder [Wed, 21 Mar 2012 13:53:01 +0000 (14:53 +0100)]
- also show number of updaterules in stats for completeness

12 years ago- more memory usage statistics
Michael Schroeder [Wed, 21 Mar 2012 13:34:54 +0000 (14:34 +0100)]
- more memory usage statistics

12 years ago- put file checksum and delta seq into vertical data to reduce the incore size
Michael Schroeder [Wed, 21 Mar 2012 10:46:59 +0000 (11:46 +0100)]
- put file checksum and delta seq into vertical data to reduce the incore size

12 years ago- don't free whatprovides in repo_solv, instead grow the array. Also get rid of the...
Michael Schroeder [Wed, 21 Mar 2012 10:35:08 +0000 (11:35 +0100)]
- don't free whatprovides in repo_solv, instead grow the array. Also get rid of the static mypool var.

12 years ago- get rid of another gcc warning
Michael Schroeder [Tue, 20 Mar 2012 17:47:06 +0000 (18:47 +0100)]
- get rid of another gcc warning

12 years ago- fix pointer aliasing problems in sha2 code
Michael Schroeder [Tue, 20 Mar 2012 17:33:25 +0000 (18:33 +0100)]
- fix pointer aliasing problems in sha2 code

12 years ago- reuse string/rel hashes in repo_add_solv where possible
Michael Schroeder [Tue, 20 Mar 2012 12:42:32 +0000 (13:42 +0100)]
- reuse string/rel hashes in repo_add_solv where possible

12 years ago- don't show vendor/arch changes for packages that were mapped to "erased"
Michael Schroeder [Tue, 20 Mar 2012 10:38:47 +0000 (11:38 +0100)]
- don't show vendor/arch changes for packages that were mapped to "erased"

12 years ago- only package helix2solv in libsolv-devel on suse systems
Michael Schroeder [Tue, 20 Mar 2012 10:02:33 +0000 (11:02 +0100)]
- only package helix2solv in libsolv-devel on suse systems

12 years ago- more cleanup and return type fixes
Michael Schroeder [Mon, 19 Mar 2012 16:29:28 +0000 (17:29 +0100)]
- more cleanup and return type fixes

12 years ago- fix return type of repo_deltainfoxml, remove obsolete debug code
Michael Schroeder [Mon, 19 Mar 2012 16:12:35 +0000 (17:12 +0100)]
- fix return type of repo_deltainfoxml, remove obsolete debug code

12 years agocleanup rpmdb copy code now that we can do rels in incore idarrays
Michael Schroeder [Mon, 19 Mar 2012 13:36:47 +0000 (14:36 +0100)]
cleanup rpmdb copy code now that we can do rels in incore idarrays

12 years ago- cleanup array eof handling, improve data_readid/readnum
Michael Schroeder [Mon, 19 Mar 2012 11:53:00 +0000 (12:53 +0100)]
- cleanup array eof handling, improve data_readid/readnum

12 years ago- store rpmdbid as TYPE_NUM. This means that TYPE_U32 is actually no longer used...
Michael Schroeder [Mon, 19 Mar 2012 10:35:28 +0000 (11:35 +0100)]
- store rpmdbid as TYPE_NUM. This means that TYPE_U32 is actually no longer used and can be deleted in the future

12 years ago- do not include repopage.h unless LIBSOLV_INTERNAL is defined. (Daniel Pfeifer)
Michael Schroeder [Mon, 19 Mar 2012 09:47:50 +0000 (10:47 +0100)]
- do not include repopage.h unless LIBSOLV_INTERNAL is defined. (Daniel Pfeifer)

12 years ago- advance num64 support. For now, we store the high 32 bits in kv->num2 to stay somew...
Michael Schroeder [Fri, 16 Mar 2012 13:36:04 +0000 (14:36 +0100)]
- advance num64 support. For now, we store the high 32 bits in kv->num2 to stay somewhat compatible

12 years ago- do not duplicate solvablekeys[] array
Michael Schroeder [Thu, 15 Mar 2012 13:43:00 +0000 (14:43 +0100)]
- do not duplicate solvablekeys[] array

12 years ago- dumpsolv: num is unsigned, also support reldeps as ids
Michael Schroeder [Thu, 15 Mar 2012 13:07:54 +0000 (14:07 +0100)]
- dumpsolv: num is unsigned, also support reldeps as ids

12 years ago- simplify code a bit, also allow to store RPM_RPMDBID as num (formerly only u32...
Michael Schroeder [Thu, 15 Mar 2012 13:04:18 +0000 (14:04 +0100)]
- simplify code a bit, also allow to store RPM_RPMDBID as num (formerly only u32 worked)

12 years ago- start support for 64bit nums
Michael Schroeder [Thu, 15 Mar 2012 11:49:48 +0000 (12:49 +0100)]
- start support for 64bit nums

12 years ago- be a bit more careful with signed ids, check that everything in a vertical does...
Michael Schroeder [Wed, 14 Mar 2012 16:46:23 +0000 (17:46 +0100)]
- be a bit more careful with signed ids, check that everything in a vertical does not need mapping

12 years ago- SOLVABLE_DISTRIBUTION is a poolstr everywhere else, make consistent
Michael Schroeder [Wed, 14 Mar 2012 16:18:42 +0000 (17:18 +0100)]
- SOLVABLE_DISTRIBUTION is a poolstr everywhere else, make consistent

12 years ago- speed up pool_shrink_whatprovides
Michael Schroeder [Wed, 14 Mar 2012 11:51:08 +0000 (12:51 +0100)]
- speed up pool_shrink_whatprovides

12 years agoMerge pull request #10 from akozumpl/upstream
Michael Schroeder [Wed, 14 Mar 2012 10:50:20 +0000 (03:50 -0700)]
Merge pull request #10 from akozumpl/upstream

testcase.h uses the Solver data type, include it.

12 years agotestcase.h uses the Solver data type, include it.
Ales Kozumplik [Wed, 14 Mar 2012 07:54:01 +0000 (08:54 +0100)]
testcase.h uses the Solver data type, include it.

prevents compilation if the client doens't #inlcude solver otherwise.

12 years ago- silence gcc -Wformat
Michael Schroeder [Tue, 13 Mar 2012 18:12:48 +0000 (19:12 +0100)]
- silence gcc -Wformat

12 years ago- speed up pool_addrelproviders a bit
Michael Schroeder [Tue, 13 Mar 2012 18:02:03 +0000 (19:02 +0100)]
- speed up pool_addrelproviders a bit

12 years agoSafer appdata
Zdeněk Pavlas [Fri, 2 Mar 2012 13:54:45 +0000 (14:54 +0100)]
Safer appdata

12 years ago- oops map_setall should be void
Michael Schroeder [Fri, 9 Mar 2012 12:55:18 +0000 (13:55 +0100)]
- oops map_setall should be void

12 years ago- fix a case of solutionelement duplication
Michael Schroeder [Fri, 9 Mar 2012 12:53:42 +0000 (13:53 +0100)]
- fix a case of solutionelement duplication

12 years ago- add map_setall() function (the macros are actually kinda deprecated)
Michael Schroeder [Fri, 9 Mar 2012 12:52:32 +0000 (13:52 +0100)]
- add map_setall() function (the macros are actually kinda deprecated)

12 years ago- check makeruledecisions corner case
Michael Schroeder [Fri, 9 Mar 2012 12:41:49 +0000 (13:41 +0100)]
- check makeruledecisions corner case

12 years ago- be more correct in makeruledecisions()
Michael Schroeder [Fri, 9 Mar 2012 12:40:48 +0000 (13:40 +0100)]
- be more correct in makeruledecisions()

12 years ago- use our own susetags parser, even if ENABLE_SUSEREPO is set.
Michael Schroeder [Tue, 6 Mar 2012 15:52:07 +0000 (16:52 +0100)]
- use our own susetags parser, even if ENABLE_SUSEREPO is set.

It's not much code and using a different parser depending on the
config may lead to nasty bugs.

12 years ago- repo_helix: also parse srcpackage elements
Michael Schroeder [Tue, 6 Mar 2012 15:48:30 +0000 (16:48 +0100)]
- repo_helix: also parse srcpackage elements

12 years agoMerge pull request #9 from akozumpl/upstream
Michael Schroeder [Fri, 9 Mar 2012 10:35:55 +0000 (02:35 -0800)]
Merge pull request #9 from akozumpl/upstream

bitmap: implement map_and and MAPSETALL

12 years agobitmap: implement map_and and MAPSETALL
Ales Kozumplik [Fri, 20 Jan 2012 09:51:05 +0000 (10:51 +0100)]
bitmap: implement map_and and MAPSETALL

12 years agoMerge pull request #8 from akozumpl/upstream
Michael Schroeder [Wed, 7 Mar 2012 14:04:53 +0000 (06:04 -0800)]
Merge pull request #8 from akozumpl/upstream

some memory leaks

12 years agosolv.c: fixes leaked transaction structure
Ales Kozumplik [Wed, 7 Mar 2012 13:14:14 +0000 (14:14 +0100)]
solv.c: fixes leaked transaction structure

12 years agofix a small memory leak in transaction_order()
Ales Kozumplik [Wed, 7 Mar 2012 12:56:38 +0000 (13:56 +0100)]
fix a small memory leak in transaction_order()

od.cycles and od.cyclesdata left to rot.

12 years ago- change duprule generation to ignore uninstallable packages
Michael Schroeder [Tue, 6 Mar 2012 14:09:09 +0000 (15:09 +0100)]
- change duprule generation to ignore uninstallable packages

12 years ago- also use extrajobflags in bindings
Michael Schroeder [Mon, 5 Mar 2012 16:22:35 +0000 (17:22 +0100)]
- also use extrajobflags in bindings

12 years ago- clean up update/feature rule handling in allowuninstall case. Automatically add...
Michael Schroeder [Mon, 5 Mar 2012 13:01:21 +0000 (14:01 +0100)]
- clean up update/feature rule handling in allowuninstall case. Automatically add the CLEANDEPS flags in solutions.

We no longer make the update/featurerule weak, but use a "autouninstall" function
instead that checks if we can solve the problem by removing a package. We also
automatically add CLEANDEPS in that case if all job rules in the problem have
CLEANDEPS set.

12 years ago- add idqinst parameter to pool_addfileprovides_queue so that it can also return...
Michael Schroeder [Fri, 2 Mar 2012 14:00:47 +0000 (15:00 +0100)]
- add idqinst parameter to pool_addfileprovides_queue so that it can also return the added id list for the installed repo

12 years ago- yet another incompatible change: as everybody seems to use repo_write_stdkeyfilter...
Michael Schroeder [Fri, 2 Mar 2012 13:17:34 +0000 (14:17 +0100)]
- yet another incompatible change: as everybody seems to use repo_write_stdkeyfilter, make repo_write use it automatically and add repo_write_filtered

12 years ago- change last argument in repo_write from Id ** to Queue *. Hopefully nobody uses...
Michael Schroeder [Thu, 1 Mar 2012 17:16:06 +0000 (18:16 +0100)]
- change last argument in repo_write from Id ** to Queue *. Hopefully nobody uses that arg...

12 years ago- rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of...
Michael Schroeder [Thu, 1 Mar 2012 16:42:21 +0000 (17:42 +0100)]
- rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of months earlier, sorry.

12 years ago- fix cleandeps bug with supplemented userinstalled packages
Michael Schroeder [Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)]
- fix cleandeps bug with supplemented userinstalled packages

12 years ago- improve unneeded algorithm a bit more
Michael Schroeder [Thu, 1 Mar 2012 13:57:01 +0000 (14:57 +0100)]
- improve unneeded algorithm a bit more

12 years ago- force update of A in cleandeps testcase
Michael Schroeder [Wed, 29 Feb 2012 15:23:29 +0000 (16:23 +0100)]
- force update of A in cleandeps testcase

12 years ago- fix cleandeps mistake bug triggered by corner cases
Michael Schroeder [Wed, 29 Feb 2012 15:22:34 +0000 (16:22 +0100)]
- fix cleandeps mistake bug triggered by corner cases

12 years ago- add testcase for cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 15:03:15 +0000 (16:03 +0100)]
- add testcase for cleandeps mistake handling

12 years ago- fix argc comparison
Michael Schroeder [Wed, 29 Feb 2012 15:02:59 +0000 (16:02 +0100)]
- fix argc comparison

12 years ago- fix cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 15:02:40 +0000 (16:02 +0100)]
- fix cleandeps mistake handling

12 years agosupport RESULT_UNNEEDED in testcases
Michael Schroeder [Wed, 29 Feb 2012 14:24:00 +0000 (15:24 +0100)]
support RESULT_UNNEEDED in testcases

12 years ago- improve unneeded algorithms
Michael Schroeder [Wed, 29 Feb 2012 13:06:10 +0000 (14:06 +0100)]
- improve unneeded algorithms

12 years ago- add solver_get_unneeded() to get a list of no longer needed installed packages
Michael Schroeder [Tue, 28 Feb 2012 18:00:33 +0000 (19:00 +0100)]
- add solver_get_unneeded() to get a list of no longer needed installed packages

12 years ago- use -D<sym> for swig (-D<sym>=1 works for me as well, but it isn't documented)
Michael Schroeder [Tue, 28 Feb 2012 15:11:29 +0000 (16:11 +0100)]
- use -D<sym> for swig (-D<sym>=1 works for me as well, but it isn't documented)

12 years ago- also export solv config to swig, thanks Zdenek Pavlas
Michael Schroeder [Tue, 28 Feb 2012 14:46:43 +0000 (15:46 +0100)]
- also export solv config to swig, thanks Zdenek Pavlas

12 years ago- obsoleteusescolor is 1) no longer exported, and 2) default if FEDORA is defined
Michael Schroeder [Tue, 28 Feb 2012 14:45:52 +0000 (15:45 +0100)]
- obsoleteusescolor is 1) no longer exported, and 2) default if FEDORA is defined

12 years ago- rename SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED to SOLVER_FLAG_ADD_ALREADY_RECOMMENDE...
Michael Schroeder [Fri, 24 Feb 2012 10:50:05 +0000 (11:50 +0100)]
- rename SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED to SOLVER_FLAG_ADD_ALREADY_RECOMMENDED and invert.

Our policy is that the default should be zero and cover the most uses. Last chance
to do the change. (sorry libzypp and hawkeye folks.)

12 years ago- version -> Version
Michael Schroeder [Thu, 23 Feb 2012 14:50:02 +0000 (15:50 +0100)]
- version -> Version

12 years ago- improve cleandeps for opensuse a bit by marking installed visible patterns as useri...
Michael Schroeder [Thu, 23 Feb 2012 14:49:19 +0000 (15:49 +0100)]
- improve cleandeps for opensuse a bit by marking installed visible patterns as userinstalled

12 years agofix spelling of ENABLE_RPMDB_PUBKEY, read susetags pattern files
Michael Schroeder [Thu, 23 Feb 2012 14:48:40 +0000 (15:48 +0100)]
fix spelling of ENABLE_RPMDB_PUBKEY, read susetags pattern files

12 years ago- fix "autoextend" susetags mode not to add to old solvables
Michael Schroeder [Thu, 23 Feb 2012 14:45:24 +0000 (15:45 +0100)]
- fix "autoextend" susetags mode not to add to old solvables

(Maybe should get rid of autoextend mode instead)

12 years ago- fix spelling of ENABLE_RPMDB_PUBKEY
Michael Schroeder [Thu, 23 Feb 2012 14:45:03 +0000 (15:45 +0100)]
- fix spelling of ENABLE_RPMDB_PUBKEY

12 years ago- also put poolflags in testcases, support <inline> results
Michael Schroeder [Wed, 22 Feb 2012 14:43:51 +0000 (15:43 +0100)]
- also put poolflags in testcases, support <inline> results

12 years ago- add dependency check testcases
Michael Schroeder [Wed, 22 Feb 2012 12:27:11 +0000 (13:27 +0100)]
- add dependency check testcases

12 years ago- support testcases with multiple solver jobs
Michael Schroeder [Wed, 22 Feb 2012 12:26:30 +0000 (13:26 +0100)]
- support testcases with multiple solver jobs

12 years ago- adapt to rpm changes regarding cornercases where the release is missing
Michael Schroeder [Wed, 22 Feb 2012 12:24:36 +0000 (13:24 +0100)]
- adapt to rpm changes regarding cornercases where the release is missing

12 years ago- change allowselfconflicts to forbidselfconflicts now that rpm also allows them.
Michael Schroeder [Wed, 22 Feb 2012 09:01:26 +0000 (10:01 +0100)]
- change allowselfconflicts to forbidselfconflicts now that rpm also allows them.

12 years ago- ignore README and .git ;)
Michael Schroeder [Tue, 21 Feb 2012 17:27:07 +0000 (18:27 +0100)]
- ignore README and .git ;)

12 years agorename to libsolv-zypptestcases
Michael Schroeder [Tue, 21 Feb 2012 17:02:30 +0000 (18:02 +0100)]
rename to libsolv-zypptestcases

12 years ago- add a simple testcase
Michael Schroeder [Tue, 21 Feb 2012 16:57:54 +0000 (17:57 +0100)]
- add a simple testcase

12 years ago- add testsolv tool
Michael Schroeder [Tue, 21 Feb 2012 16:56:54 +0000 (17:56 +0100)]
- add testsolv tool

12 years ago- allow <> dep in susetags, special case pattern: in packageand(), add SOLVER_TRANSAC...
Michael Schroeder [Tue, 21 Feb 2012 12:46:19 +0000 (13:46 +0100)]
- allow <> dep in susetags, special case pattern: in packageand(), add SOLVER_TRANSACTION_KEEP_PSEUDO

12 years ago- fix testcasedir handling
Michael Schroeder [Mon, 20 Feb 2012 17:53:52 +0000 (18:53 +0100)]
- fix testcasedir handling

12 years ago- fix copy&paste error
Michael Schroeder [Mon, 20 Feb 2012 16:46:46 +0000 (17:46 +0100)]
- fix copy&paste error

12 years ago- make old rpmdb pubkey support optional
Michael Schroeder [Mon, 20 Feb 2012 15:47:36 +0000 (16:47 +0100)]
- make old rpmdb pubkey support optional

12 years ago- don't install repopage.h, it's internal
Michael Schroeder [Mon, 20 Feb 2012 15:05:49 +0000 (16:05 +0100)]
- don't install repopage.h, it's internal

12 years ago- add some bits of history
Michael Schroeder [Mon, 20 Feb 2012 14:49:59 +0000 (15:49 +0100)]
- add some bits of history

12 years ago- make pool flags private, allow self conflicts for rpm, add pool_set/get_flags
Michael Schroeder [Mon, 20 Feb 2012 14:25:18 +0000 (15:25 +0100)]
- make pool flags private, allow self conflicts for rpm, add pool_set/get_flags

12 years ago- fix comparisons in commit_diskusage()
Michael Schroeder [Mon, 20 Feb 2012 12:19:17 +0000 (13:19 +0100)]
- fix comparisons in commit_diskusage()

12 years ago- make file list conversion twice as fast by adding a 1k dir cache
Michael Schroeder [Mon, 20 Feb 2012 10:56:46 +0000 (11:56 +0100)]
- make file list conversion twice as fast by adding a 1k dir cache

12 years ago- made parts of Pool private, removed inline from solv_chksum_len so that we can...
Michael Schroeder [Fri, 17 Feb 2012 17:05:25 +0000 (18:05 +0100)]
- made parts of Pool private, removed inline from solv_chksum_len so that we can easily add new checksum types

12 years ago- make more of repodata struct private
Michael Schroeder [Fri, 17 Feb 2012 16:47:17 +0000 (17:47 +0100)]
- make more of repodata struct private

12 years ago- oops, fix typo
Michael Schroeder [Fri, 17 Feb 2012 14:51:39 +0000 (15:51 +0100)]
- oops, fix typo

12 years ago- hide repodata internals (needed to move repo_write from ext to src for this)
Michael Schroeder [Fri, 17 Feb 2012 14:47:47 +0000 (15:47 +0100)]
- hide repodata internals (needed to move repo_write from ext to src for this)

also deleted repodata_create, use repo_add_repodata instead

12 years ago- comps: use group: and category: instead of pattern:
Michael Schroeder [Thu, 16 Feb 2012 15:40:35 +0000 (16:40 +0100)]
- comps: use group: and category: instead of pattern:

12 years ago- fix filelist handling in repo_susetags and testcase
Michael Schroeder [Thu, 16 Feb 2012 15:08:56 +0000 (16:08 +0100)]
- fix filelist handling in repo_susetags and testcase

12 years ago- commit current state of testcase
Michael Schroeder [Wed, 15 Feb 2012 17:55:28 +0000 (18:55 +0100)]
- commit current state of testcase

12 years ago- make susetags format work with packages that have no release (e.g. in debian)
Michael Schroeder [Wed, 15 Feb 2012 17:54:36 +0000 (18:54 +0100)]
- make susetags format work with packages that have no release (e.g. in debian)

12 years agoMerge pull request #6 from akozumpl/upstream
Michael Schroeder [Wed, 15 Feb 2012 12:04:47 +0000 (04:04 -0800)]
Merge pull request #6 from akozumpl/upstream

Upstream

12 years agocosmetic: fix misleading comment in repodata.c
Ales Kozumplik [Wed, 15 Feb 2012 09:51:22 +0000 (10:51 +0100)]
cosmetic: fix misleading comment in repodata.c

12 years agofix a small memory leak: pool->id2color.
Ales Kozumplik [Wed, 15 Feb 2012 09:50:11 +0000 (10:50 +0100)]
fix a small memory leak: pool->id2color.

12 years agorepo_write: fix key packing
Zdeněk Pavlas [Fri, 27 Jan 2012 13:58:01 +0000 (14:58 +0100)]
repo_write: fix key packing

12 years ago- commit current state of testcase support
Michael Schroeder [Tue, 14 Feb 2012 17:19:35 +0000 (18:19 +0100)]
- commit current state of testcase support