summaryrefslogtreecommitdiff
path: root/src/selection.c
AgeCommit message (Collapse)AuthorFilesLines
2014-02-13always keep job/jobflags in selection_filter()Michael Schroeder1-0/+3
2014-01-08three other changes to make cppcheck happierMichael Schroeder1-2/+1
2013-10-16remove trailing whitespaceMichael Schroeder1-22/+22
2013-10-04refactor selection code, add SELECTION_SKIP_KIND, add support for arch/kind ↵Michael Schroeder1-100/+166
filtering
2013-09-20plug mem leak in selection_make_matchdepsMichael Schroeder1-0/+1
2013-09-09rename selection_make_deps to selection_make_matchdeps, add marker supportMichael Schroeder1-2/+2
Also add pool_intersect_evrs.
2013-09-04add pool_whatmatchesdep and selection_make_deps to query for packages ↵Michael Schroeder1-25/+133
intersecting a dependency
2013-08-30make sure that the selection only contains installed packages if ↵Michael Schroeder1-1/+64
SELECTION_INSTALLED_ONLY is used
2013-06-03add POOL_FLAG_ADDFILEPROVIDESFILTERED option to make pool_addfileprovides ↵Michael Schroeder1-1/+1
only add files in the standard locations Non-standard files are searched lazyly on demand.
2013-04-24move stringification functions from solverdebug to more correct placesMichael Schroeder1-1/+42
2013-04-18selection_filter(): Don't leak Queue q1 and Map m2Ingo Weinhold1-1/+7
2013-04-18Haiku: The notation for the pre-release version part changedIngo Weinhold1-2/+0
Instead of using '-' as the separator for the pre-release '~' is used now. This allows to drop code in a few places where Haiku had to be special-cased before.
2013-04-17rules/selection: use strrchr in EVR checks as wellMichael Schroeder1-1/+1
2013-04-17split arch from the right for debian/haiku (thanks Ingo!)Michael Schroeder1-2/+2
2013-04-17adapt SET_EV/SET_EVR magic to haiku for completenessMichael Schroeder1-1/+6
2013-04-16support haiku package naming in selection_canonMichael Schroeder1-0/+29
2013-02-27fix test so that we no longer flatten when there's just one jobMichael Schroeder1-1/+1
2013-02-12cosmetics: always return 0 in selection_make if the selection is emptyMichael Schroeder1-1/+2
2013-02-12fix stupid typo introduced when refactoring selection_filter_rel. Argh!Michael Schroeder1-1/+2
2013-01-15do not ignore disabled/considered flags for src packagesMichael Schroeder1-5/+19
2012-12-17cosmetics: fix commentsMichael Schroeder1-1/+1
2012-12-05rename selection_limit to selection_filter, add flags to make selection_make ↵Michael Schroeder1-19/+23
more flexible
2012-12-03fix typos in comments, fix queue freeMichael Schroeder1-7/+4
2012-11-22small code cleanupsMichael Schroeder1-13/+16
2012-11-15improve magic epoch promotion code to work better when multiple epochs matchMichael Schroeder1-31/+47
2012-11-14implement magic epoch promotion for nevra selectionsMichael Schroeder1-1/+78
2012-11-02add SELECTION_WITH_SOURCE, rename SELECTION_SOURCE to SELECTION_SOURCE_ONLYMichael Schroeder1-14/+111
2012-10-31rename SELECTION_MAYBESRC to SELECTION_SOURCE, make it just select src/nosrc ↵Michael Schroeder1-6/+28
packages
2012-10-31make it possible to select src packages via .src or .nosrc suffixesMichael Schroeder1-12/+42
2012-10-29fix selection_limit_rel call for debian nevra matchMichael Schroeder1-6/+6
2012-10-26support SOLVER_SOLVABLE_REPO and SOLVER_SOLVABLE_ALL in more job types, even ↵Michael Schroeder1-8/+9
if many are not meaningful
2012-10-26add pool_job2solvables and selection_solvablesMichael Schroeder1-23/+37
2012-10-25generalize matching code from examples/solv.c to src/selection.cMichael Schroeder1-0/+581
Adapt the examples to use the new mechanism. This is probably not the final version of the interface, so handle with care.