]> git.ipfire.org Git - thirdparty/libsolv.git/log
thirdparty/libsolv.git
7 years agoUpdate .spec package descriptions and RPM groups 234/head
Jan Engelhardt [Tue, 24 Oct 2017 12:09:58 +0000 (14:09 +0200)] 
Update .spec package descriptions and RPM groups

7 years agoAdd bugzilla ref to changes
Michael Schroeder [Tue, 24 Oct 2017 11:08:47 +0000 (13:08 +0200)] 
Add bugzilla ref to changes

7 years agoAdd changes, bump version to 0.6.30 0.6.30
Michael Schroeder [Mon, 23 Oct 2017 09:41:45 +0000 (11:41 +0200)] 
Add changes, bump version to 0.6.30

7 years agoAdd more checks to repo_add_deb
Michael Schroeder [Mon, 23 Oct 2017 09:33:16 +0000 (11:33 +0200)] 
Add more checks to repo_add_deb

7 years agorepo_deb: fix bugs in gzip header skipping
Michael Schroeder [Fri, 20 Oct 2017 13:28:40 +0000 (15:28 +0200)] 
repo_deb: fix bugs in gzip header skipping

7 years agoSupport deb packages with xz compressed control.tar
Michael Schroeder [Fri, 20 Oct 2017 11:56:57 +0000 (13:56 +0200)] 
Support deb packages with xz compressed control.tar

7 years agoFix forcebest when there is no installed repo
Michael Schroeder [Thu, 19 Oct 2017 12:18:42 +0000 (14:18 +0200)] 
Fix forcebest when there is no installed repo

7 years agoFix distupgrade all packages when there is no installed repo
Michael Schroeder [Thu, 19 Oct 2017 12:06:47 +0000 (14:06 +0200)] 
Fix distupgrade all packages when there is no installed repo

7 years agoFix distupgrade all packages with cleandeps
Michael Schroeder [Thu, 19 Oct 2017 11:28:33 +0000 (13:28 +0200)] 
Fix distupgrade all packages with cleandeps

Also add a test for this.

7 years agoGet rid of dupmap_all
Michael Schroeder [Thu, 19 Oct 2017 07:49:28 +0000 (09:49 +0200)] 
Get rid of dupmap_all

7 years agoSimplify a bit more
Michael Schroeder [Wed, 18 Oct 2017 12:49:02 +0000 (14:49 +0200)] 
Simplify a bit more

7 years agoAdapt test cases to dup rule changes
Michael Schroeder [Wed, 18 Oct 2017 11:50:54 +0000 (13:50 +0200)] 
Adapt test cases to dup rule changes

We now have two solutions: keep the old package or deinstall it.
(I.e. we can either disable the dup rule or the update rule.)

7 years agoSimplify things a bit now that we always use dup rules
Michael Schroeder [Wed, 18 Oct 2017 11:50:35 +0000 (13:50 +0200)] 
Simplify things a bit now that we always use dup rules

7 years agoAlways create dup rules for distupgrade jobs
Michael Schroeder [Wed, 18 Oct 2017 10:52:41 +0000 (12:52 +0200)] 
Always create dup rules for distupgrade jobs

We used to use update rules for "distupgrade all packages".
This is a tiny bit faster and needs less memory, but the downside
is that for problems there only is the "get rid of the update rule"
solution, but not the "disable dup mode for this package" solution.

So simplify things by always creating dup rules for dup mode.

7 years agoFix typo in testcase
Michael Schroeder [Wed, 18 Oct 2017 10:51:55 +0000 (12:51 +0200)] 
Fix typo in testcase

7 years agoAlso use recommends when ordering package installs
Michael Schroeder [Mon, 16 Oct 2017 11:58:16 +0000 (13:58 +0200)] 
Also use recommends when ordering package installs

7 years agoSimplify check_xsupp code a bit
Michael Schroeder [Thu, 12 Oct 2017 09:53:13 +0000 (11:53 +0200)] 
Simplify check_xsupp code a bit

7 years agoSync rpm header limits with values from upstream rpm
Michael Schroeder [Thu, 12 Oct 2017 09:45:45 +0000 (11:45 +0200)] 
Sync rpm header limits with values from upstream rpm

7 years agoMerge pull request #230 from liuming50/master
Michael Schroeder [Thu, 12 Oct 2017 09:29:15 +0000 (11:29 +0200)] 
Merge pull request #230 from liuming50/master

repo_rpmdb.c: increase MAX_HDR_CNT and MAX_HDR_DSIZE

7 years agoTest cleandeps update of all packages
Michael Schroeder [Thu, 5 Oct 2017 14:53:40 +0000 (16:53 +0200)] 
Test cleandeps update of all packages

7 years agoAllow solver_intersect_obsoleted to be called with no map
Michael Schroeder [Thu, 5 Oct 2017 14:53:26 +0000 (16:53 +0200)] 
Allow solver_intersect_obsoleted to be called with no map

7 years agoRefactor find_update_seeds
Michael Schroeder [Thu, 5 Oct 2017 10:54:26 +0000 (12:54 +0200)] 
Refactor find_update_seeds

7 years agoRefactor cleandeps code into cleandeps.c
Michael Schroeder [Wed, 4 Oct 2017 15:28:28 +0000 (17:28 +0200)] 
Refactor cleandeps code into cleandeps.c

Also support cleandeps for "update all packages".

7 years agoFix solver_describe_weakdep_decision reporting recommends of not installed packages
Michael Schroeder [Wed, 4 Oct 2017 15:27:38 +0000 (17:27 +0200)] 
Fix solver_describe_weakdep_decision reporting recommends of not installed packages

7 years agoAdd new solver_util.c file for helper functions
Michael Schroeder [Wed, 4 Oct 2017 11:48:27 +0000 (13:48 +0200)] 
Add new solver_util.c file for helper functions

No need to clutter up the solver.c and rules.c with those
functions.

7 years agoAdd --testcase option to example solver
Michael Schroeder [Wed, 4 Oct 2017 08:58:16 +0000 (10:58 +0200)] 
Add --testcase option to example solver

7 years agotestcase.c: turn pool_debug calls into pool_error
Michael Schroeder [Wed, 4 Oct 2017 08:56:35 +0000 (10:56 +0200)] 
testcase.c: turn pool_debug calls into pool_error

So that api users can work with the error message.
Also report vendor/ignoreinst in list-deps mode.

7 years agorepo_rpmdb.c: increase MAX_HDR_CNT and MAX_HDR_DSIZE 230/head
Ming Liu [Sat, 30 Sep 2017 03:15:16 +0000 (11:15 +0800)] 
repo_rpmdb.c: increase MAX_HDR_CNT and MAX_HDR_DSIZE

We encountered 'corrupt rpm' issues when installing extreme big RPM
packages like the kernel-devsrc package of Yocto project.

It can be fixed by increasing MAX_HDR_CNT and MAX_HDR_DSIZE per test.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
7 years agoremove bogus code
Michael Schroeder [Fri, 22 Sep 2017 15:35:10 +0000 (17:35 +0200)] 
remove bogus code

7 years agoTest last fix
Michael Schroeder [Fri, 22 Sep 2017 12:58:43 +0000 (14:58 +0200)] 
Test last fix

7 years agoFix cleandeps erasing recommended packages if an update was not done
Michael Schroeder [Fri, 22 Sep 2017 12:54:58 +0000 (14:54 +0200)] 
Fix cleandeps erasing recommended packages if an update was not done

7 years agoAdd list-with-deps option
Michael Schroeder [Thu, 21 Sep 2017 12:10:43 +0000 (14:10 +0200)] 
Add list-with-deps option

7 years agoTest cleandeps reporting
Michael Schroeder [Thu, 21 Sep 2017 12:05:22 +0000 (14:05 +0200)] 
Test cleandeps reporting

7 years agoSupport cleandeps reporting in testcases
Michael Schroeder [Wed, 20 Sep 2017 14:31:44 +0000 (16:31 +0200)] 
Support cleandeps reporting in testcases

7 years agoFix splitprovides handling with addalreadyrecommended turned off
Michael Schroeder [Wed, 20 Sep 2017 14:18:03 +0000 (16:18 +0200)] 
Fix splitprovides handling with addalreadyrecommended turned off

A matching splitprovides counts as package update.

7 years agosolver_get_cleandeps: filter packages that just got updated
Michael Schroeder [Wed, 20 Sep 2017 14:16:04 +0000 (16:16 +0200)] 
solver_get_cleandeps: filter packages that just got updated

Those don't count as erase.

7 years agoGet rid of PATH_MAX
Michael Schroeder [Mon, 11 Sep 2017 15:30:08 +0000 (17:30 +0200)] 
Get rid of PATH_MAX

It's not portable to GNU/Hurd.
See https://github.com/openSUSE/libsolv/issues/222

7 years agoDo not even try to remove not-considered packages in cleandeps
Michael Schroeder [Mon, 11 Sep 2017 14:51:49 +0000 (16:51 +0200)] 
Do not even try to remove not-considered packages in cleandeps

Should make things a bit faster.

7 years agoMerge pull request #225 from j-mracek/remove
Michael Schroeder [Mon, 11 Sep 2017 14:46:27 +0000 (16:46 +0200)] 
Merge pull request #225 from j-mracek/remove

Not remove excluded unused dependencies (RhBug:1260242)

7 years agoAdd solver_get_cleandeps() method
Michael Schroeder [Mon, 11 Sep 2017 14:39:23 +0000 (16:39 +0200)] 
Add solver_get_cleandeps() method

See https://github.com/openSUSE/libsolv/pull/226

7 years agoNot remove excluded unused dependencies (RhBug:1260242) 225/head
Jaroslav Mracek [Thu, 7 Sep 2017 14:22:25 +0000 (16:22 +0200)] 
Not remove excluded unused dependencies (RhBug:1260242)

https://bugzilla.redhat.com/show_bug.cgi?id=1260242

7 years agoAdd changes, bump version to 0.6.29 0.6.29
Michael Schroeder [Thu, 7 Sep 2017 14:22:11 +0000 (16:22 +0200)] 
Add changes, bump version to 0.6.29

7 years agoupdate TODO
Michael Schroeder [Thu, 7 Sep 2017 14:14:27 +0000 (16:14 +0200)] 
update TODO

7 years agoExpose solver_get_recommendations in bindings
Michael Schroeder [Thu, 7 Sep 2017 14:12:34 +0000 (16:12 +0200)] 
Expose solver_get_recommendations in bindings

7 years agoCleanup last commit a bit
Michael Schroeder [Thu, 7 Sep 2017 12:40:46 +0000 (14:40 +0200)] 
Cleanup last commit a bit

7 years agoMerge pull request #221 from EricAustinYu/master
Michael Schroeder [Thu, 7 Sep 2017 12:30:13 +0000 (14:30 +0200)] 
Merge pull request #221 from EricAustinYu/master

policy.c: Fix solver_prune_to_highest_prio_per_name

7 years agoMerge pull request #219 from Conan-Kudo/mgadefs
Michael Schroeder [Wed, 6 Sep 2017 12:30:29 +0000 (14:30 +0200)] 
Merge pull request #219 from Conan-Kudo/mgadefs

Add missing definitions to libsolv for Mageia

7 years agorpm upstream accepted the 'unless' pull request
Michael Schroeder [Wed, 6 Sep 2017 12:21:45 +0000 (14:21 +0200)] 
rpm upstream accepted the 'unless' pull request

7 years agoSplit solver_dep_fulfilled_cplx from inline function solver_dep_fulfilled
Michael Schroeder [Mon, 4 Sep 2017 11:46:16 +0000 (13:46 +0200)] 
Split solver_dep_fulfilled_cplx from inline function solver_dep_fulfilled

7 years agoMerge pull request #223 from ignatenkobrain/typos
Michael Schroeder [Mon, 4 Sep 2017 09:58:30 +0000 (11:58 +0200)] 
Merge pull request #223 from ignatenkobrain/typos

doc: findallproblemrule -> findallproblemrules

7 years agodoc: findallproblemrule -> findallproblemrules 223/head
Igor Gnatenko [Sun, 27 Aug 2017 08:47:45 +0000 (10:47 +0200)] 
doc: findallproblemrule -> findallproblemrules

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
7 years agoAdd REL_UNLESS to bindings and doc
Michael Schroeder [Mon, 4 Sep 2017 09:48:47 +0000 (11:48 +0200)] 
Add REL_UNLESS to bindings and doc

7 years agoAdd support for REL_UNLESS
Michael Schroeder [Mon, 4 Sep 2017 09:36:22 +0000 (11:36 +0200)] 
Add support for REL_UNLESS

This is similar to REL_COND, except that it uses AND, not OR. Thus:
(A REL_UNLESS B) is equivalent to (A AND NOT(B))
(A REL_UNLESS (B REL_ELSE C)) is equivalent to ((A AND NOT(B)) OR (C AND B))

7 years agopolicy.c: Fix solver_prune_to_highest_prio_per_name 221/head
Eric Yu [Tue, 22 Aug 2017 17:18:38 +0000 (12:18 -0500)] 
policy.c: Fix solver_prune_to_highest_prio_per_name

- Fixed logic so that all packages with the same name are pushed to the queue
  of packages to be pruned instead of just the first package with that name.
- This fixes a bug where the best version of recommended and suggested packages
  were not being returned.
- Added tests to check that this does fix the problem with recommended and
  suggested packages mentioned above.

8 years agoSwitch solv to read rpm-md repos on Mageia 219/head
Neal Gompa [Sun, 6 Aug 2017 04:17:15 +0000 (00:17 -0400)] 
Switch solv to read rpm-md repos on Mageia

Mageia is using libsolv with DNF and RPM-MD repositories, thus
the solv tool should be using our RPM-MD repository configuration.

8 years agoReplace 'redhat-release' with generic 'system-release'
Neal Gompa [Sun, 6 Aug 2017 04:06:56 +0000 (00:06 -0400)] 
Replace 'redhat-release' with generic 'system-release'

fedora-release and mageia-release offer generic 'system-release'
Provides that can be used to determine the release version of the
distribution. Derivatives of Fedora (including RHEL) also offer this
generic capability in their distribution release packages.

8 years agoAdd missing Mageia definitions
Neal Gompa [Sun, 6 Aug 2017 04:05:13 +0000 (00:05 -0400)] 
Add missing Mageia definitions

Mageia's RPM stack mirrors Fedora's, so libsolv's definitions need
to reflect this.

8 years agoMerge pull request #218 from ignatenkobrain/typos
Michael Schroeder [Fri, 4 Aug 2017 09:34:09 +0000 (11:34 +0200)] 
Merge pull request #218 from ignatenkobrain/typos

--Typos

8 years ago--Typos 218/head
Igor Gnatenko [Thu, 3 Aug 2017 23:23:36 +0000 (01:23 +0200)] 
--Typos

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years agoSupport REL_WITHOUT
Michael Schroeder [Thu, 3 Aug 2017 12:54:26 +0000 (14:54 +0200)] 
Support REL_WITHOUT

Because we can.

8 years agoClean up handling of packages we want to extend but could not find
Michael Schroeder [Wed, 26 Jul 2017 10:44:45 +0000 (12:44 +0200)] 
Clean up handling of packages we want to extend but could not find

8 years agorework section handling
Michael Schroeder [Wed, 26 Jul 2017 10:17:52 +0000 (12:17 +0200)] 
rework section handling

Now no longer coredumps when package tags are encountered outside of a
package section.

8 years agoTypos--
Michael Schroeder [Wed, 26 Jul 2017 08:26:49 +0000 (10:26 +0200)] 
Typos--

8 years agoFix typos
Michael Schroeder [Wed, 26 Jul 2017 08:19:18 +0000 (10:19 +0200)] 
Fix typos

8 years agoMove generated man pages into a "gen" directory
Michael Schroeder [Tue, 25 Jul 2017 11:36:48 +0000 (13:36 +0200)] 
Move generated man pages into a "gen" directory

8 years agoUpdate boolean dependencies
Michael Schroeder [Tue, 25 Jul 2017 09:48:12 +0000 (11:48 +0200)] 
Update boolean dependencies

8 years agoAdd another use for extend_to_repo()
Michael Schroeder [Tue, 25 Jul 2017 09:26:32 +0000 (11:26 +0200)] 
Add another use for extend_to_repo()

8 years agoAdd vim modelines to asciidoc files
Michael Schroeder [Tue, 25 Jul 2017 09:12:58 +0000 (11:12 +0200)] 
Add vim modelines to asciidoc files

Both to make syntax highlighting in vim work and to make github
recognize the files as asciidoc

8 years agoAdd parens in testcase
Michael Schroeder [Tue, 25 Jul 2017 08:33:02 +0000 (10:33 +0200)] 
Add parens in testcase

8 years agomix_depblocks -> distribute_depblocks
Michael Schroeder [Tue, 25 Jul 2017 08:32:03 +0000 (10:32 +0200)] 
mix_depblocks -> distribute_depblocks

And add a comment what it does.

8 years agoSimplify complex dep normailzation code
Michael Schroeder [Mon, 24 Jul 2017 20:05:35 +0000 (22:05 +0200)] 
Simplify complex dep normailzation code

Now much easier to understand. At least IMHO...

8 years agoAdd complex deps rule generation tests
Michael Schroeder [Mon, 24 Jul 2017 15:10:28 +0000 (17:10 +0200)] 
Add complex deps rule generation tests

8 years agoAdd TODO_1.0
Michael Schroeder [Mon, 24 Jul 2017 13:04:31 +0000 (15:04 +0200)] 
Add TODO_1.0

8 years agorepoinfo_download.c: Add FEDORA ifdef
Michael Schroeder [Fri, 21 Jul 2017 13:41:42 +0000 (15:41 +0200)] 
repoinfo_download.c: Add FEDORA ifdef

8 years agoMerge pull request #216 from sunweaver/pr/sanitize-python-version
Michael Schroeder [Mon, 24 Jul 2017 10:08:15 +0000 (12:08 +0200)] 
Merge pull request #216 from sunweaver/pr/sanitize-python-version

Sanitize PYTHONLIBS_VERSION_STRING before passing it to 'FIND_PACKAGE…

8 years agoSanitize PYTHONLIBS_VERSION_STRING before passing it to 'FIND_PACKAGE (PythonInterp). 216/head
Brad King [Mon, 24 Jul 2017 09:14:48 +0000 (11:14 +0200)] 
Sanitize PYTHONLIBS_VERSION_STRING before passing it to 'FIND_PACKAGE (PythonInterp).

 Obtained from libsolv_0.6.28-2 in Debian.

 Origin: https://gitlab.kitware.com/cmake/cmake/merge_requests/1047#note_288680
 Bug-Debian: https://bugs.debian.org/867514
 Author: Brad King
Reviewed-by: gregor herrmann <gregoa@debian.org>
 Last-Update: 2017-07-22

8 years agoMerge pull request #214 from larchunix/fix-compilation-warnings
Michael Schroeder [Fri, 21 Jul 2017 13:38:39 +0000 (15:38 +0200)] 
Merge pull request #214 from larchunix/fix-compilation-warnings

Fix compilation warnings

8 years agoyumobs: remove bogus queue_empty() call
Michael Schroeder [Fri, 21 Jul 2017 11:38:15 +0000 (13:38 +0200)] 
yumobs: remove bogus queue_empty() call

The queue_empty made the code only create yumobs rules for one
dependency. It's surprising that nobody ran into this bug until now.

8 years agoUse same heuristic as upstream rpm to determine if the header belongs to a source rpm
Michael Schroeder [Mon, 10 Jul 2017 12:37:01 +0000 (14:37 +0200)] 
Use same heuristic as upstream rpm to determine if the header belongs to a source rpm

We used to rely on the lead data, which is unreliable. Follow
upstream rpm by using a heuristic if both TAG_SOURCERPM and
TAG_SOURCEPACKAGE are not set.

8 years agoFix compilation warnings 214/head
Denis Ollier [Sat, 1 Jul 2017 06:39:15 +0000 (08:39 +0200)] 
Fix compilation warnings

examples/solv/repoinfo_download.c:95:18: warning: implicit declaration of function 'yum_substitute' [-Wimplicit-function-declaration]
        char *b = yum_substitute(cinfo->repo->pool, cinfo->baseurl);
                  ^~~~~~~~~~~~~~
examples/solv/repoinfo_download.c:95:18: warning: initialization makes pointer from integer without a cast [-Wint-conversion]

8 years agoAdd changes, bump version to 0.6.28 0.6.28
Michael Schroeder [Fri, 30 Jun 2017 14:46:27 +0000 (16:46 +0200)] 
Add changes, bump version to 0.6.28

8 years agoMerge pull request #211 from jon-turney/master
Michael Schroeder [Fri, 30 Jun 2017 14:23:55 +0000 (16:23 +0200)] 
Merge pull request #211 from jon-turney/master

Fixes for building with newlib/cygwin

8 years agoAdd RUNTIME DESTINATION to INSTALL TARGETS 211/head
Jon Turney [Thu, 19 Jan 2017 15:21:34 +0000 (15:21 +0000)] 
Add RUNTIME DESTINATION to INSTALL TARGETS

This is needed for shared library runtimes to be installed correctly on DLL
platforms.  It has no effect on other platforms.

v2:
No need to include prefix, since DESTINATION is relative to it

8 years agoAdd conditionals for swig perl bug workaround
Michael Schroeder [Mon, 19 Jun 2017 09:09:43 +0000 (11:09 +0200)] 
Add conditionals for swig perl bug workaround

It was fixed in swig-2.0.5 and gets in the way with newer perl
versions.

8 years agonewlib has glibc-style qsort_r()
Jon Turney [Mon, 5 Jun 2017 13:50:44 +0000 (14:50 +0100)] 
newlib has glibc-style qsort_r()

8 years agoAdd extend_to_repo calls in examples
Michael Schroeder [Tue, 30 May 2017 12:45:17 +0000 (14:45 +0200)] 
Add extend_to_repo calls in examples

Those are needed if the repo is not written to disk. Otherwise,
the repodata does not contain any solvable and thus the configured
extensions do not work.

8 years agoAdapt to bool handling of newer swig versions
Michael Schroeder [Tue, 30 May 2017 12:37:47 +0000 (14:37 +0200)] 
Adapt to bool handling of newer swig versions

We currently simply define SWIG_PYTHON_LEGACY_BOOL. In the future
we might want to revisit this and mandate true bool values.

8 years agoFix suse version test
Michael Schroeder [Tue, 30 May 2017 09:03:56 +0000 (11:03 +0200)] 
Fix suse version test

8 years agoAdd solver reuse testcase
Michael Schroeder [Tue, 30 May 2017 08:31:46 +0000 (10:31 +0200)] 
Add solver reuse testcase

8 years agoMerge pull request #195 from Conan-Kudo/enablemorefeatures
Michael Schroeder [Tue, 30 May 2017 08:38:20 +0000 (10:38 +0200)] 
Merge pull request #195 from Conan-Kudo/enablemorefeatures

Enable more libsolv features and rework spec distro conditionals

8 years agoMerge pull request #209 from jon-turney/ftm-first
Michael Schroeder [Mon, 29 May 2017 10:54:05 +0000 (12:54 +0200)] 
Merge pull request #209 from jon-turney/ftm-first

_GNU_SOURCE should be defined before including any headers

8 years agoEnable complex/rich dependencies for CentOS/RHEL 7 195/head
Neal Gompa [Sun, 28 May 2017 13:35:44 +0000 (09:35 -0400)] 
Enable complex/rich dependencies for CentOS/RHEL 7

This matches how libsolv is configured there.

8 years ago_GNU_SOURCE should be defined before including any headers 209/head
Jon Turney [Thu, 19 Jan 2017 15:21:34 +0000 (15:21 +0000)] 
_GNU_SOURCE should be defined before including any headers

per https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
"These directives must come before any #include of a system header file."

This actually causes a problem when compiling with newlib headers.

8 years agoadd strong recommends testcase, fix break testcase
Michael Schroeder [Thu, 25 May 2017 12:47:42 +0000 (14:47 +0200)] 
add strong recommends testcase, fix break testcase

8 years agoDo not own the repo pointer in ruby's each method
Michael Schroeder [Wed, 24 May 2017 14:29:00 +0000 (16:29 +0200)] 
Do not own the repo pointer in ruby's each method

8 years agoMerge pull request #208 from ignatenkobrain/repo-leak
Michael Schroeder [Wed, 24 May 2017 14:20:33 +0000 (16:20 +0200)] 
Merge pull request #208 from ignatenkobrain/repo-leak

bindings: do not leak Repo in __next__()

8 years agoDisable all weak recommends rules of a job instead of just the last
Michael Schroeder [Wed, 24 May 2017 10:57:28 +0000 (12:57 +0200)] 
Disable all weak recommends rules of a job instead of just the last

See strongrecommends/break.t for a longer explanation.

8 years agoAdd ENABLE_TESTCASE_HELIXREPO as hidden compile option
Michael Schroeder [Wed, 24 May 2017 09:54:02 +0000 (11:54 +0200)] 
Add ENABLE_TESTCASE_HELIXREPO as hidden compile option

This is pretty much just for me using testsolv on testcases
generated by libzypp. There used to be a #if 0 in the code which
I manually toggled, but the option is much saner.

8 years agoAdd pool_best_solvables() function
Michael Schroeder [Tue, 23 May 2017 09:49:53 +0000 (11:49 +0200)] 
Add pool_best_solvables() function

This prunes a set of solvables to the best versions.

8 years agobindings: do not leak Repo in __next__() 208/head
Igor Gnatenko [Sun, 21 May 2017 17:05:34 +0000 (19:05 +0200)] 
bindings: do not leak Repo in __next__()

We don't create new object in __getitem__, why should we do it in __next__?

Closes: https://github.com/openSUSE/libsolv/issues/207
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>