]>
git.ipfire.org Git - thirdparty/libsolv.git/log
Roman Neuhauser [Mon, 28 Nov 2016 09:01:22 +0000 (10:01 +0100)]
let users define PKGCONFIG_INSTALL_DIR
FreeBSD wants *.pc files in ${PREFIX}/libdata/pkgconfig,
${PREFIX}/lib/pkgconfig is not good eanough a configuration point.
Roman Neuhauser [Mon, 28 Nov 2016 09:00:50 +0000 (10:00 +0100)]
let users override MAN_INSTALL_DIR
this makes the build more cooperative with FreeBSD ports:
FreeBSD wants man pages in ${PREFIX}/man, yet ${PREFIX}/share/man
exists in the staging area as well for some reason. i'm too lazy
to chase the cause, esp. as the copout means more freedom to users.
Michael Schroeder [Wed, 23 Nov 2016 13:27:11 +0000 (14:27 +0100)]
Add SOLVER_FLAG_INSTALL_ALSO_UPDATES solver flag
Michael Schroeder [Wed, 23 Nov 2016 10:45:45 +0000 (11:45 +0100)]
Support a DB_INCLUDE_DIR variable
Michael Schroeder [Wed, 23 Nov 2016 10:00:22 +0000 (11:00 +0100)]
Make build work if expat is coming from /usr/local
Michael Schroeder [Fri, 18 Nov 2016 12:54:00 +0000 (13:54 +0100)]
Add SOLVER_FLAG_STRONG_RECOMMENDS option
Create weak rules for recommends. This makes the solver
backtrack to fulfill recommends dependecies (i.e. update
packages, choose different alternatives...).
Needs testcases.
Michael Schroeder [Fri, 18 Nov 2016 12:52:12 +0000 (13:52 +0100)]
solv: add autopattern right after the repo has been read
Otherwise we get holes and other nasty things.
Michael Schroeder [Thu, 17 Nov 2016 13:54:40 +0000 (14:54 +0100)]
Add matchesdep() method to bindings
Michael Schroeder [Thu, 17 Nov 2016 13:45:43 +0000 (14:45 +0100)]
Add SOLVABLE_NAME hack for pool_whatmatchesdep and solvable_matchesdep
Michael Schroeder [Thu, 17 Nov 2016 13:27:29 +0000 (14:27 +0100)]
pool_intersect_evrs: the evr should be an Id, not an int
Michael Schroeder [Thu, 10 Nov 2016 14:17:10 +0000 (15:17 +0100)]
Add changes, bump version to 0.6.24
Michael Schroeder [Thu, 10 Nov 2016 11:58:55 +0000 (12:58 +0100)]
Oops, fix typo in last commit
Michael Schroeder [Thu, 10 Nov 2016 10:15:20 +0000 (11:15 +0100)]
Further simplify python3 build
Michael Schroeder [Wed, 9 Nov 2016 13:56:08 +0000 (14:56 +0100)]
Merge pull request #140 from nolta/export-testcase_str2solvid
make the testcase_str2solvid function public
Michael Schroeder [Wed, 9 Nov 2016 13:35:33 +0000 (14:35 +0100)]
Remove too much trickery
Michael Schroeder [Tue, 8 Nov 2016 13:58:06 +0000 (14:58 +0100)]
Build both python2 and python3 bindings
Michael Schroeder [Tue, 8 Nov 2016 12:38:14 +0000 (13:38 +0100)]
Support building for python2 and python3 in parallel
Needs some hacking in the recipe file
Michael Schroeder [Fri, 4 Nov 2016 13:17:27 +0000 (14:17 +0100)]
Rework susetags multi-line handling
Michael Schroeder [Tue, 11 Oct 2016 12:52:31 +0000 (14:52 +0200)]
Add "autoinst" functionality
Needed when we can't invert the list in advance, e.g. when converting
libzypp testcases.
Michael Schroeder [Mon, 10 Oct 2016 12:02:43 +0000 (14:02 +0200)]
Refactor resolve_weak and resolve_orphaned
Michael Schroeder [Mon, 10 Oct 2016 10:16:23 +0000 (12:16 +0200)]
Test focus support
Michael Schroeder [Mon, 10 Oct 2016 09:49:55 +0000 (11:49 +0200)]
Add experimental SOLVER_FOCUS_BEST solver flag
Makes the solver resolve dependencies right after the job rules,
thus pulling in the newest packages for dependencies as well.
Michael Schroeder [Mon, 10 Oct 2016 09:15:10 +0000 (11:15 +0200)]
Refactor resolve_installed and resolve_dependencies
Michael Schroeder [Fri, 7 Oct 2016 13:01:16 +0000 (15:01 +0200)]
Strore decision reason in decisionq_reason
This makes the code simpler and more flexible. Do away with
the old way of deducting the reason from the decision index,
instead store the reason in the decision process.
Note that the decisionq_reason is indexed by level, as all
the other decisions for a level are because of unit rules.
Thus the reason queue is much smaller than the decision queue.
Michael Schroeder [Tue, 13 Sep 2016 11:14:26 +0000 (13:14 +0200)]
Allow noarch when comparing architectures in problem rule finding
Michael Schroeder [Thu, 8 Sep 2016 09:11:50 +0000 (11:11 +0200)]
Allow building without rpm database support
Useful for things like OBS that only need to parse packages.
Michael Schroeder [Thu, 8 Sep 2016 08:46:16 +0000 (10:46 +0200)]
Get rid of warning if no repo types are enabled
Michael Schroeder [Wed, 7 Sep 2016 15:16:06 +0000 (17:16 +0200)]
Get rid of another gcc-6 warning
Michael Schroeder [Wed, 7 Sep 2016 15:14:51 +0000 (17:14 +0200)]
Guard against a dirindex of -1
Michael Schroeder [Tue, 6 Sep 2016 12:03:35 +0000 (14:03 +0200)]
More refactoring and hardening
Michael Schroeder [Fri, 2 Sep 2016 14:47:58 +0000 (16:47 +0200)]
Guard better against corrupt rpms
Michael Schroeder [Fri, 2 Sep 2016 14:26:10 +0000 (16:26 +0200)]
Get rid of gcc-6 warnings
Michael Schroeder [Wed, 31 Aug 2016 09:37:54 +0000 (11:37 +0200)]
Do not rely on whatprovides when searching for a specific package
See rhbz#
1263888
Mike Nolta [Sat, 18 Jun 2016 16:44:16 +0000 (12:44 -0400)]
make the testcase_strsolvid function public
Michael Schroeder [Wed, 3 Aug 2016 09:40:43 +0000 (11:40 +0200)]
Merge pull request #151 from ignatenkobrain/gh150
testcase: replace i with repoid
Igor Gnatenko [Sun, 31 Jul 2016 16:54:33 +0000 (18:54 +0200)]
testcase: replace i with repoid
looks like it was typo.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1361831
Closes: https://github.com/openSUSE/libsolv/issues/150
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Michael Schroeder [Fri, 22 Jul 2016 11:03:39 +0000 (13:03 +0200)]
Add changes, bump version to 0.6.23
Michael Schroeder [Thu, 21 Jul 2016 09:52:37 +0000 (11:52 +0200)]
Move LIBSOLV_TOOLVERSION to solvversion.h
Users like libzypp want to check if a solv file was written with
the current tool version.
Michael Schroeder [Thu, 21 Jul 2016 09:43:41 +0000 (11:43 +0200)]
Fix appdata if logic
Michael Schroeder [Thu, 21 Jul 2016 09:42:27 +0000 (11:42 +0200)]
Merge pull request #148 from badshah400/master
Also scan /usr/share/metainfo for appdata files
Atri Bhattacharya [Wed, 20 Jul 2016 18:25:37 +0000 (20:25 +0200)]
Rearrange scan order: main dir first, legacy dir next.
Atri Bhattacharya [Wed, 20 Jul 2016 18:17:01 +0000 (20:17 +0200)]
Fix example to work with new and legacy appdata dirs.
Atri Bhattacharya [Wed, 20 Jul 2016 18:02:35 +0000 (20:02 +0200)]
Also scan "/usr/share/metainfo" for appdata.
Recent iterations of the appstream specification recommend
installing the appstream files in /usr/share/metainfo rather
than /usr/share/appdata. For apps which may continue
to install their appstream files according to the legacy
standards, also keep /usr/share/appdata in the list of dirs
to scan.
Michael Schroeder [Wed, 20 Jul 2016 11:46:59 +0000 (13:46 +0200)]
Merge pull request #147 from openSUSE/FATE#320699
Support tri-state product-endoflife (tag absent, present but nodate(0…
Michael Andres [Wed, 20 Jul 2016 11:43:56 +0000 (13:43 +0200)]
Support tri-state product-endoflife (tag absent, present but nodate(0), present + date)
Michael Schroeder [Wed, 20 Jul 2016 11:37:39 +0000 (13:37 +0200)]
Take lockstep into account when calculating unneeded packages
Michael Schroeder [Tue, 12 Jul 2016 12:14:20 +0000 (14:14 +0200)]
Also look at the arch when sorting obsoleters
Michael Schroeder [Fri, 17 Jun 2016 11:32:45 +0000 (13:32 +0200)]
Ignore appplication extensions for now
Michael Schroeder [Wed, 15 Jun 2016 15:22:27 +0000 (17:22 +0200)]
do not auto-minimize for recommended packages if the current selection is favored
Michael Schroeder [Wed, 15 Jun 2016 11:39:27 +0000 (13:39 +0200)]
Update copyright
Michael Schroeder [Wed, 15 Jun 2016 11:36:10 +0000 (13:36 +0200)]
Refactor +testcase_rclass2str
Michael Schroeder [Wed, 15 Jun 2016 11:35:26 +0000 (13:35 +0200)]
Add enabled features to solvversion.h
Michael Schroeder [Wed, 15 Jun 2016 10:08:35 +0000 (12:08 +0200)]
Take disfavors into account when auto-minimizing for recommended packages
Michael Schroeder [Tue, 14 Jun 2016 14:52:30 +0000 (16:52 +0200)]
Add new file suse.c
Michael Schroeder [Tue, 14 Jun 2016 14:51:33 +0000 (16:51 +0200)]
Use repo_rewrite_suse_deps instead of the repo_fix functions
Do not use the repo_fix functions in new code!
Michael Schroeder [Tue, 14 Jun 2016 14:48:58 +0000 (16:48 +0200)]
Move weird suse functions into a suse.c file
Please do not use em ;)
Michael Schroeder [Tue, 14 Jun 2016 12:51:22 +0000 (14:51 +0200)]
Improve last commit so that self-providing requires don't pull in other providers
Michael Schroeder [Tue, 14 Jun 2016 11:15:40 +0000 (13:15 +0200)]
Change cleandeps code so that it keeps all providers
It will report less unneeded packages, but it will also not
erase the wrong providers.
Michael Schroeder [Mon, 13 Jun 2016 13:14:38 +0000 (15:14 +0200)]
Make sure that all repos have different names in a testcase
Michael Schroeder [Wed, 8 Jun 2016 11:26:41 +0000 (13:26 +0200)]
fix bug in changes ;)
Michael Schroeder [Wed, 8 Jun 2016 11:25:34 +0000 (13:25 +0200)]
Add changes, bump version to 0.6.22
Michael Schroeder [Wed, 8 Jun 2016 11:15:07 +0000 (13:15 +0200)]
Add some news
Michael Schroeder [Tue, 7 Jun 2016 09:01:16 +0000 (11:01 +0200)]
Tweak urpm_reorder so that selected packages get score 4
Michael Schroeder [Tue, 7 Jun 2016 08:55:50 +0000 (10:55 +0200)]
Fix bug in ignoreinst logic
The old code did not work if there was exactly one ignoreinst
candidate.
Michael Schroeder [Fri, 20 May 2016 13:00:19 +0000 (15:00 +0200)]
Improve alternatives listing in example solver
Michael Schroeder [Fri, 20 May 2016 12:59:45 +0000 (14:59 +0200)]
add bnc to changes entry
Michael Schroeder [Wed, 18 May 2016 13:14:38 +0000 (15:14 +0200)]
Add changes, bump version to 0.6.21
Michael Schroeder [Wed, 18 May 2016 12:57:44 +0000 (14:57 +0200)]
Merge pull request #134 from maxinbjohn/master
CMakeLists.txt: fix MAN_INSTALL_DIR
Michael Schroeder [Wed, 18 May 2016 12:49:30 +0000 (14:49 +0200)]
Implement urpmi kernel reordering
Maxin B. John [Tue, 17 May 2016 15:13:19 +0000 (18:13 +0300)]
CMakeLists.txt: fix MAN_INSTALL_DIR
It checks ${CMAKE_INSTALL_PREFIX}/share/man when configure, but it may
not exist when crosscompile, for example, when CMAKE_INSTALL_PREFIX="/",
it is OK, but when CMAKE_INSTALL_PREFIX="/some/path/else", then it
doesn't exist, and the man dir would be set to "/usr/man" which is
incorrect.
Signed-off-by: Robert Yang liezhi.yang@windriver.com
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Michael Schroeder [Tue, 17 May 2016 11:42:19 +0000 (13:42 +0200)]
We always need the rerunsolver label in the example solver
Michael Schroeder [Tue, 17 May 2016 11:31:58 +0000 (13:31 +0200)]
Fix supplements handling when implicitobsoleteusescolors is set
This currently relys on the infarch lockstep handling a bit. Let's
see if this is enough or we need some better filtering code.
Michael Schroeder [Tue, 17 May 2016 09:29:50 +0000 (11:29 +0200)]
Fix off by one in cshash dedup code
Actually no harm done without the commit, the duplicates are
simply ignored.
Michael Schroeder [Tue, 17 May 2016 09:22:56 +0000 (11:22 +0200)]
Fix order of solv_extend arguments in repo_add_rpmmd
Fixes libsolv sometimes segfaulting since commit
d06562f7b70f6ceb7d52e717efd1963ce6e8ecf0
Michael Schroeder [Fri, 13 May 2016 13:03:39 +0000 (15:03 +0200)]
Add the SOLVER_FLAG_URPM_REORDER solver flag
It makes the solver reorder alternatives more
closely to what urpm does.
Michael Schroeder [Fri, 6 May 2016 12:13:44 +0000 (14:13 +0200)]
Check POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS instead of POOL_FLAG_OBSOLETEUSESCOLORS
This was forgotten when we changed the default for fedora.
Fixes issue #94
Michael Schroeder [Fri, 6 May 2016 12:12:21 +0000 (14:12 +0200)]
Treat TAG_FILECOLORS as optional header element
SUSE has a patch that makes rpmbuild not add the FILECOLORS tag.
So insisting on its presence when RPM_ITERATE_FILELIST_WITHCOL
is used is wrong.
Michael Schroeder [Fri, 6 May 2016 10:10:17 +0000 (12:10 +0200)]
Note that pool_setarch must not come before pool_setdisttype.
Michael Schroeder [Fri, 6 May 2016 10:01:42 +0000 (12:01 +0200)]
Work around gcc warning
Michael Schroeder [Fri, 6 May 2016 09:50:46 +0000 (11:50 +0200)]
Change how pool_setarch deals with unknown architectures
Before this commit, pool_setarch switched to a "" policy for
unknown architectures, i.e. no non-noarch package could be
installed. After this change, we allow packages of the provided
arch string.
Because of this, we also can delete all dummy policies from
the archpolicies array.
Michael Schroeder [Wed, 4 May 2016 09:11:23 +0000 (11:11 +0200)]
Support alternative disfavor in example solver
Just for testing purposes...
Michael Schroeder [Tue, 3 May 2016 15:41:09 +0000 (17:41 +0200)]
Show alternatives in example solver
Michael Schroeder [Tue, 3 May 2016 15:39:05 +0000 (17:39 +0200)]
Also call prefer_favored at the end of reorder_dq_for_jobrules
Otherwise we may select the wrong package.
Michael Schroeder [Tue, 3 May 2016 14:22:06 +0000 (16:22 +0200)]
Implement SOLVER_FAVOR and SOLVER_DISFAVOR
Michael Schroeder [Fri, 22 Apr 2016 13:52:02 +0000 (15:52 +0200)]
Rename selection_make_containsdep to selection_make_matchdepid
And support SELECTION_MATCH_DEPSTR for exact id match
Michael Schroeder [Fri, 22 Apr 2016 13:39:54 +0000 (15:39 +0200)]
Add pool_whatcontainsdep, selection_make_containsdep, and SELECTION_MATCH_DEPSTR
Michael Schroeder [Thu, 21 Apr 2016 10:11:04 +0000 (12:11 +0200)]
Merge pull request #131 from dburm/bindings/setdisttype
bindings: implement pool_setdisttype
Michael Schroeder [Wed, 20 Apr 2016 11:15:50 +0000 (13:15 +0200)]
Add -r option to deb2solv to make it read repo metadata instead of deb packages
Michael Schroeder [Wed, 20 Apr 2016 11:10:41 +0000 (13:10 +0200)]
Add code for reason testing
Michael Schroeder [Mon, 18 Apr 2016 15:40:26 +0000 (17:40 +0200)]
Fix of by one error in repo_deb that could lead to missing packages
Dmitry Burmistrov [Sat, 16 Apr 2016 19:07:53 +0000 (22:07 +0300)]
bindings: implement pool_setdisttype
Michael Schroeder [Mon, 11 Apr 2016 14:01:33 +0000 (16:01 +0200)]
Make the pool_parserpmrichdep function public
Michael Schroeder [Sat, 9 Apr 2016 11:21:53 +0000 (13:21 +0200)]
Bump RPMDB_COOKIE_VERSION as we added SOLVABLE_PREREQ_IGNOREINST
Michael Schroeder [Fri, 8 Apr 2016 13:38:56 +0000 (15:38 +0200)]
Add changes, bump version to 0.6.20
Michael Schroeder [Fri, 8 Apr 2016 13:33:57 +0000 (15:33 +0200)]
Better support of complex deps in pool_match_dep and selection_make_matchdeps
Michael Schroeder [Fri, 8 Apr 2016 12:46:44 +0000 (14:46 +0200)]
Make SOLVER_REASON_CLEANDEPS_ERASE introspection reason work again
Fixes issue#127
Michael Schroeder [Fri, 8 Apr 2016 12:18:26 +0000 (14:18 +0200)]
Make dep2str use rpm-like output for complex deps if disttype is rpm
Michael Schroeder [Fri, 8 Apr 2016 09:31:50 +0000 (11:31 +0200)]
Support SOLVABLE_PREREQ_IGNOREINST in testcases
Because it influences dependency solving...
Michael Schroeder [Fri, 8 Apr 2016 09:07:33 +0000 (11:07 +0200)]
Simplify ignorepre queue creation
Michael Schroeder [Thu, 7 Apr 2016 15:09:14 +0000 (17:09 +0200)]
Implement filtering of Requires(pre,post) for installed packages
Should fix issue#126. Except that we need to support it in
the testcases as well.