Michael Schroeder [Mon, 16 Apr 2012 16:40:03 +0000 (18:40 +0200)]
- fix wrong logic
Michael Schroeder [Mon, 16 Apr 2012 15:57:18 +0000 (17:57 +0200)]
- get rid of plural forms of repo_add_pkg, use pool_error instead printing to stderr
Michael Schroeder [Mon, 16 Apr 2012 15:08:07 +0000 (17:08 +0200)]
- add map_or and queue_prealloc
Michael Schroeder [Mon, 16 Apr 2012 13:12:33 +0000 (15:12 +0200)]
- document supported package/repository formats
Michael Schroeder [Mon, 16 Apr 2012 10:07:39 +0000 (12:07 +0200)]
- get rid of exit(1) calls in repo_write, instead return error
Michael Schroeder [Mon, 16 Apr 2012 08:57:43 +0000 (01:57 -0700)]
Merge pull request #13 from akozumpl/upstream
build: export the new *_testtags methods
Ales Kozumplik [Mon, 16 Apr 2012 06:34:04 +0000 (08:34 +0200)]
build: export the new *_testtags methods
Michael Schroeder [Fri, 13 Apr 2012 17:23:33 +0000 (19:23 +0200)]
- add pool_error and pool_errstr. get rid of lots of exit() calls.
Michael Schroeder [Fri, 13 Apr 2012 14:00:12 +0000 (16:00 +0200)]
- rename "susetags" in testcases to "testtags", because we just support a subset of susetags
Michael Schroeder [Fri, 13 Apr 2012 13:28:23 +0000 (15:28 +0200)]
- support <inline> repositories (because we can), fix mem leak
Michael Schroeder [Fri, 13 Apr 2012 13:26:40 +0000 (15:26 +0200)]
- fix fd leak in testsolv
Michael Schroeder [Thu, 12 Apr 2012 13:10:35 +0000 (15:10 +0200)]
- use repo_free_solvable instead of repo_free_solvable_block when freeing a single solvable
Michael Schroeder [Thu, 12 Apr 2012 13:09:14 +0000 (15:09 +0200)]
- also free attrs array when freeing a solvable
Michael Schroeder [Thu, 12 Apr 2012 11:35:50 +0000 (13:35 +0200)]
- also obey keepexplicitobsoletes when disabling update rules (untested)
Michael Schroeder [Wed, 11 Apr 2012 13:48:06 +0000 (15:48 +0200)]
- clean up system type definition, use -DSUSE=1 when building for suse
Michael Schroeder [Wed, 11 Apr 2012 13:46:58 +0000 (15:46 +0200)]
- support SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES in testcases
Michael Schroeder [Wed, 11 Apr 2012 13:39:25 +0000 (06:39 -0700)]
Merge pull request #12 from zde/master
add SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES
Michael Schroeder [Wed, 11 Apr 2012 13:24:57 +0000 (15:24 +0200)]
- support REPO_EXTEND_SOLVABLES in repo_add_solv (thanks Ales Kozumplik)
Zdeněk Pavlas [Tue, 10 Apr 2012 13:21:40 +0000 (15:21 +0200)]
SOLVER_FLAG_KEEP_EXPLICIT_OBSOLETES
true: process explicit obsoletes in multiinstall.
Defaults to 0. Needed for compatibility with 'yum'.
Zdeněk Pavlas [Tue, 10 Apr 2012 13:50:23 +0000 (15:50 +0200)]
fix some typos
Michael Schroeder [Wed, 4 Apr 2012 12:25:16 +0000 (14:25 +0200)]
- make example solv program a tiny bit more secure (shouldn't use system() at all)
Michael Schroeder [Tue, 3 Apr 2012 10:07:10 +0000 (12:07 +0200)]
- repo_rpmdb: always check for distepoch, check for 64bit size
Michael Schroeder [Tue, 3 Apr 2012 09:44:44 +0000 (11:44 +0200)]
- support repo_add_arch_local to read the installed package database on arch
Michael Schroeder [Tue, 3 Apr 2012 08:53:26 +0000 (10:53 +0200)]
- get rid of DEBINA_SEMANTICS, add pool->noarchid, add DISTTYPE_ARCH
Michael Schroeder [Mon, 2 Apr 2012 11:41:10 +0000 (13:41 +0200)]
- make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set
Michael Schroeder [Mon, 2 Apr 2012 09:48:21 +0000 (11:48 +0200)]
- "noarch" is called "any" on archlinux, so now we have noarch/all/any ;(
Michael Schroeder [Fri, 30 Mar 2012 17:20:31 +0000 (19:20 +0200)]
- also implement files.xml parsing for m&m
Michael Schroeder [Fri, 30 Mar 2012 16:36:56 +0000 (18:36 +0200)]
- fix mem leak in arch code
Michael Schroeder [Fri, 30 Mar 2012 16:33:30 +0000 (18:33 +0200)]
- support files section, support repo extension for archlinux
Michael Schroeder [Fri, 30 Mar 2012 12:18:27 +0000 (14:18 +0200)]
- also support mm/arch in bindings
Michael Schroeder [Fri, 30 Mar 2012 12:12:54 +0000 (14:12 +0200)]
- add support for archlinux packages/repos
Michael Schroeder [Wed, 28 Mar 2012 14:16:11 +0000 (16:16 +0200)]
- incompatible ABI change: switch num over to unsigned long long and store sizes in bytes, not kbytes
Michael Schroeder [Wed, 28 Mar 2012 10:31:22 +0000 (12:31 +0200)]
- rename map_and_not to map_subtract
Michael Schroeder [Wed, 28 Mar 2012 10:27:21 +0000 (12:27 +0200)]
Merge branch 'master' of github.com:openSUSE/libsolv
Michael Schroeder [Wed, 28 Mar 2012 10:27:01 +0000 (03:27 -0700)]
Merge pull request #11 from akozumpl/upstream
bitmap: implement map_and_not.
Ales Kozumplik [Tue, 27 Mar 2012 12:06:42 +0000 (14:06 +0200)]
bitmap: implement map_and_not.
Michael Schroeder [Tue, 27 Mar 2012 09:54:21 +0000 (11:54 +0200)]
- clean up lzma code a bit
Michael Schroeder [Mon, 26 Mar 2012 13:46:29 +0000 (15:46 +0200)]
- adapt to liobsolv coding style
Michael Schroeder [Mon, 26 Mar 2012 13:02:49 +0000 (15:02 +0200)]
- rename to ENABLE_LZMA_COMPRESSION as the lib is called lzma
Michael Schroeder [Mon, 26 Mar 2012 12:25:59 +0000 (14:25 +0200)]
- implement support for xz/lzma compression
Michael Schroeder [Mon, 26 Mar 2012 11:38:08 +0000 (13:38 +0200)]
- add "allownamechange" flag for completeness
Michael Schroeder [Fri, 23 Mar 2012 14:03:50 +0000 (15:03 +0100)]
- strip distepoch in pool_solvable2str()
Michael Schroeder [Fri, 23 Mar 2012 14:02:44 +0000 (15:02 +0100)]
- it helps to implement to get/set_flag code for POOL_FLAG_HAVEDISTEPOCH...
Michael Schroeder [Fri, 23 Mar 2012 13:41:01 +0000 (14:41 +0100)]
- don't call pool_solvid2str in testcase_solvid2str
That way we can change the pool_solvid2str output without breaking testcases
Michael Schroeder [Fri, 23 Mar 2012 13:36:24 +0000 (14:36 +0100)]
- add repo_mdk_add_info() function to parse the M&M info.xml file
Michael Schroeder [Thu, 22 Mar 2012 17:35:51 +0000 (18:35 +0100)]
- turn on "havedistepoch" by default if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:34:45 +0000 (18:34 +0100)]
- check distepoch tag if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:17:35 +0000 (18:17 +0100)]
- add M&M synthesis file parser, add mkd2solv tool
Michael Schroeder [Thu, 22 Mar 2012 17:04:36 +0000 (18:04 +0100)]
- support distepoch handling in release, used by the M&M distros
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
Michael Schroeder [Wed, 21 Mar 2012 13:53:01 +0000 (14:53 +0100)]
- also show number of updaterules in stats for completeness
Michael Schroeder [Wed, 21 Mar 2012 13:34:54 +0000 (14:34 +0100)]
- more memory usage statistics
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
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.
Michael Schroeder [Tue, 20 Mar 2012 17:47:06 +0000 (18:47 +0100)]
- get rid of another gcc warning
Michael Schroeder [Tue, 20 Mar 2012 17:33:25 +0000 (18:33 +0100)]
- fix pointer aliasing problems in sha2 code
Michael Schroeder [Tue, 20 Mar 2012 12:42:32 +0000 (13:42 +0100)]
- reuse string/rel hashes in repo_add_solv where possible
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"
Michael Schroeder [Tue, 20 Mar 2012 10:02:33 +0000 (11:02 +0100)]
- only package helix2solv in libsolv-devel on suse systems
Michael Schroeder [Mon, 19 Mar 2012 16:29:28 +0000 (17:29 +0100)]
- more cleanup and return type fixes
Michael Schroeder [Mon, 19 Mar 2012 16:12:35 +0000 (17:12 +0100)]
- fix return type of repo_deltainfoxml, remove obsolete debug code
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
Michael Schroeder [Mon, 19 Mar 2012 11:53:00 +0000 (12:53 +0100)]
- cleanup array eof handling, improve data_readid/readnum
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
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)
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
Michael Schroeder [Thu, 15 Mar 2012 13:43:00 +0000 (14:43 +0100)]
- do not duplicate solvablekeys[] array
Michael Schroeder [Thu, 15 Mar 2012 13:07:54 +0000 (14:07 +0100)]
- dumpsolv: num is unsigned, also support reldeps as ids
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)
Michael Schroeder [Thu, 15 Mar 2012 11:49:48 +0000 (12:49 +0100)]
- start support for 64bit nums
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
Michael Schroeder [Wed, 14 Mar 2012 16:18:42 +0000 (17:18 +0100)]
- SOLVABLE_DISTRIBUTION is a poolstr everywhere else, make consistent
Michael Schroeder [Wed, 14 Mar 2012 11:51:08 +0000 (12:51 +0100)]
- speed up pool_shrink_whatprovides
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.
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.
Michael Schroeder [Tue, 13 Mar 2012 18:12:48 +0000 (19:12 +0100)]
- silence gcc -Wformat
Michael Schroeder [Tue, 13 Mar 2012 18:02:03 +0000 (19:02 +0100)]
- speed up pool_addrelproviders a bit
Zdeněk Pavlas [Fri, 2 Mar 2012 13:54:45 +0000 (14:54 +0100)]
Safer appdata
Michael Schroeder [Fri, 9 Mar 2012 12:55:18 +0000 (13:55 +0100)]
- oops map_setall should be void
Michael Schroeder [Fri, 9 Mar 2012 12:53:42 +0000 (13:53 +0100)]
- fix a case of solutionelement duplication
Michael Schroeder [Fri, 9 Mar 2012 12:52:32 +0000 (13:52 +0100)]
- add map_setall() function (the macros are actually kinda deprecated)
Michael Schroeder [Fri, 9 Mar 2012 12:41:49 +0000 (13:41 +0100)]
- check makeruledecisions corner case
Michael Schroeder [Fri, 9 Mar 2012 12:40:48 +0000 (13:40 +0100)]
- be more correct in makeruledecisions()
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.
Michael Schroeder [Tue, 6 Mar 2012 15:48:30 +0000 (16:48 +0100)]
- repo_helix: also parse srcpackage elements
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
Ales Kozumplik [Fri, 20 Jan 2012 09:51:05 +0000 (10:51 +0100)]
bitmap: implement map_and and MAPSETALL
Michael Schroeder [Wed, 7 Mar 2012 14:04:53 +0000 (06:04 -0800)]
Merge pull request #8 from akozumpl/upstream
some memory leaks
Ales Kozumplik [Wed, 7 Mar 2012 13:14:14 +0000 (14:14 +0100)]
solv.c: fixes leaked transaction structure
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.
Michael Schroeder [Tue, 6 Mar 2012 14:09:09 +0000 (15:09 +0100)]
- change duprule generation to ignore uninstallable packages
Michael Schroeder [Mon, 5 Mar 2012 16:22:35 +0000 (17:22 +0100)]
- also use extrajobflags in bindings
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.
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
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
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...
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.
Michael Schroeder [Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)]
- fix cleandeps bug with supplemented userinstalled packages
Michael Schroeder [Thu, 1 Mar 2012 13:57:01 +0000 (14:57 +0100)]
- improve unneeded algorithm a bit more
Michael Schroeder [Wed, 29 Feb 2012 15:23:29 +0000 (16:23 +0100)]
- force update of A in cleandeps testcase