1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

298 Commits

Author SHA1 Message Date
Michael Schroeder
260dc8281a fix build on debian 2012-10-23 13:42:35 +02:00
Michael Schroeder
765ead528d implement pool_set_rootdir/REPO_USE_ROOTDIR instead of passing a rootdir to various functions.
Breaks the interface a bit, sorry. The new way seems to be much cleaner, though.
Extra apologies to Nate Skulic for removing his add_rpmdb_root method one day
after adding it.
2012-10-23 12:37:25 +02:00
Michael Schroeder
a9bc7b08e9 only call add_products if the method exists 2012-10-08 16:35:13 +02:00
Michael Schroeder
6af0f8f8cc add repodata_set_sourcepkg and solvable_lookup_sourcepkg, fix solvable_get_location return type 2012-10-08 15:16:42 +02:00
Ales Kozumplik
ebb77d396a cosmetic: fix possibly uninitialized variable warning in solv.c. 2012-08-24 15:30:29 +02:00
Michael Schroeder
32ffaf616c - get rid of a couple of warnings when building for debian 2012-06-25 11:26:57 +02:00
Michael Schroeder
a4e2caaeae - add ENABLE_BZIP2_COMPRESSION and ENABLE_CUDFREPO to support some cudf tests 2012-06-22 11:53:38 +02:00
Michael Schroeder
5702cc433a - add pool_error and pool_errstr. get rid of lots of exit() calls. 2012-04-13 19:23:33 +02:00
Michael Schroeder
af1465a273 - clean up system type definition, use -DSUSE=1 when building for suse 2012-04-11 15:48:06 +02:00
Michael Schroeder
040f122b7f - make example solv program a tiny bit more secure (shouldn't use system() at all) 2012-04-04 14:25:16 +02:00
Michael Schroeder
d1275e7fcc - make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set 2012-04-02 13:41:10 +02:00
Michael Schroeder
c36ef29531 - incompatible ABI change: switch num over to unsigned long long and store sizes in bytes, not kbytes 2012-03-28 16:16:11 +02:00
Michael Schroeder
d4295440a1 - add "allownamechange" flag for completeness 2012-03-26 13:38:08 +02:00
Michael Schroeder
2ad7460342 - bring solvable_trivial_installable functions back in sync with pool_trivial_installable 2012-03-21 16:18:54 +01:00
Ales Kozumplik
f8d39899c9 solv.c: fixes leaked transaction structure 2012-03-07 14:37:18 +01:00
Michael Schroeder
9f63ef78d3 - add idqinst parameter to pool_addfileprovides_queue so that it can also return the added id list for the installed repo 2012-03-02 15:00:47 +01:00
Michael Schroeder
6bee613a27 - yet another incompatible change: as everybody seems to use repo_write_stdkeyfilter, make repo_write use it automatically and add repo_write_filtered 2012-03-02 14:17:34 +01:00
Michael Schroeder
03c154a682 - rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of months earlier, sorry. 2012-03-01 17:42:21 +01:00
Michael Schroeder
2471d02d54 - obsoleteusescolor is 1) no longer exported, and 2) default if FEDORA is defined 2012-02-28 15:45:52 +01:00
Michael Schroeder
296dde1ce1 - 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.)
2012-02-24 11:50:05 +01:00
Michael Schroeder
4fd9c06945 fix spelling of ENABLE_RPMDB_PUBKEY, read susetags pattern files 2012-02-23 15:48:40 +01:00
Michael Schroeder
3e36ee6efd - make old rpmdb pubkey support optional 2012-02-20 16:47:36 +01:00
Michael Schroeder
f024c95820 - oops, fix typo 2012-02-17 15:51:39 +01:00
Michael Schroeder
fb73073fad - hide repodata internals (needed to move repo_write from ext to src for this)
also deleted repodata_create, use repo_add_repodata instead
2012-02-17 15:47:47 +01:00
Michael Schroeder
1bb065df89 - rename pool_addfileprovides_ids to pool_addfileprovides_queue, make it fill a queue 2012-02-01 16:52:35 +01:00
Michael Schroeder
ed477952f4 - add cleandeps support for install/update 2012-02-01 14:08:47 +01:00
Michael Schroeder
53072a6ccb - fix load_ext definition 2012-01-30 15:54:42 +01:00
Ales Kozumplik
c291441580 Fix compilation on Fedora.
if ENABLED_SUSEREPO is disabled, repo_add_products() is not part of the
libsolv_ext. This fails linking for rpmdb2solv.c.

Also treat unused-variable warnings occurring with the conditional blocks.
2012-01-24 17:07:51 +01:00
Michael Schroeder
50618d2558 - add cmake options to only build for some repository types 2012-01-18 15:45:02 +01:00
Michael Schroeder
d528e9d1f4 - add Datapos lookup functions, add lookup_idarray/deparray for XSolvables 2012-01-18 14:08:19 +01:00
Michael Schroeder
6bdd2a7566 - add dup versions for the allow* flags, make dup automatically use them 2012-01-13 16:04:37 +01:00
Michael Schroeder
20217cb3de - fix types in p5solv and pysolv 2012-01-12 12:01:20 +01:00
Michael Schroeder
879073e280 - cleanup bindings example code a bit 2012-01-11 16:15:55 +01:00
Michael Schroeder
893369ba81 - change splitprovides so that they only work on packages that are to be updated.
Thus, the splitprovides flag can always be set and splitprovides also work
with 'zypper dup --from'.
2012-01-10 17:45:50 +01:00
Michael Schroeder
4c6908cd35 - hide solver internals 2012-01-09 14:35:26 +01:00
Michael Schroeder
e8dbbef9e1 - make repodata also start with id 1 2011-12-22 16:45:05 +01:00
Michael Schroeder
c4934b45d2 - swig bug: can't overload __str__ in perl, causes memory corruption as it tries to stringify freed objects 2011-07-14 11:37:01 +02:00
Michael Schroeder
96d3ffea9f - add support for bindings creation 2011-07-13 18:46:17 +02:00
Michael Schroeder
09f29f706d - rename all sat_ to solv_ 2011-07-12 14:08:07 +02:00
Michael Schroeder
e29f9ccb48 - change transaction_init to transaction_create, add solver flag setting/getting 2011-06-20 18:30:31 +02:00
Michael Schroeder
25877a480c - refactor select_patches 2011-06-03 18:06:50 +02:00
Michael Schroeder
1129ccb9a6 - allow to build a shared and a static version of the libraries 2011-05-26 14:53:12 +02:00
Michael Schroeder
66e7a25260 - add solver_private.h, make repo_ functions return an int, make solver_solv return the problem count 2011-05-25 15:28:34 +02:00
Michael Schroeder
5eb46cd84a - add ver files, fix build 2011-05-24 20:40:00 +02:00
Michael Schroeder
e5c46e2321 - move bindings into bindings directory 2011-05-24 17:01:20 +02:00
Michael Schroeder
e2a47f3849 - do not use obsolete interface in libsolv library itself 2011-05-24 16:39:51 +02:00
Michael Schroeder
4cd5d62a01 rename satsolver -> libsolv 2011-05-24 15:51:09 +02:00
Michael Schroeder
29b5924fea - fix gzdopen() call, it does not like mode "r+" 2011-05-23 13:05:28 +02:00
Michael Schroeder
54ece5ea6f - commit current state of binding and examples 2011-05-02 15:09:00 +02:00
Michael Schroeder
55c534f50a - fix pysolv typo 2011-03-17 13:18:44 +01:00