- Oct 06, 2014
-
-
Timo Teräs authored
This makes sure any conflicted packages will be removed first. Useful if we know there are conflicting files, and want to avoid adding potentially harmful replaces line. Add a test case for this too.
-
- May 19, 2014
-
-
Timo Teräs authored
allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue.
-
Timo Teräs authored
-
Timo Teräs authored
this happens e.g. after tmpfs boot when not all packages where available: the dependency is in world, but not installed.
-
- Sep 06, 2013
-
-
Timo Teräs authored
add also a test case for this
-
- Jun 20, 2013
-
-
Timo Teräs authored
fixes #1482
-
- Jun 19, 2013
-
-
Timo Teräs authored
-
Timo Teräs authored
Select latest version of package (if it is not pinned), and print error if it cannot be installed due to other dependencies. Together with --available, it selects the latest package which is present at least in some repository. This also fixes few solver issues with ordering of package selection that got quite apparent with this flag. Namely, we cannot "lock" a package until it's reverse dependencies are locked or not all of the solver flags are propagated properly.
-
- Jun 18, 2013
-
-
Timo Teräs authored
the pinning11 changed when @repo got the leading @ on error messages. analyze_dep() now properly ignores conflict dependencies, as those names are usually intentionally left unassigned.
-
Timo Teräs authored
if all packages named N provide the virtual package, list only the name N instead of all packages providing it.
-
- Jun 14, 2013
-
-
Timo Teräs authored
and add the provided version information to the conflicts. fixes the final test case that was broken. hooray.
-
- Jun 13, 2013
-
-
Timo Teräs authored
-
Timo Teräs authored
Instead of the dependency oriented logic, switch to print them for each package or name needed. Might give a bit more readable errors now. There's still few corner cases that proper error is not output, which are cought by the test cases.
-
Timo Teräs authored
mostly useful for reboot, when all packages are not available.
-
Timo Teräs authored
Fix also pinning test cases to be more sane.
-
Timo Teräs authored
Handle properly per-name preference flags, and add test cases for testing those via fix applet.
-
Timo Teräs authored
Implementing basic dependency handling, install_if and awareness of pinning.
-
- May 30, 2013
-
-
Timo Teräs authored
make cache a special kind of repository, and automatically cache special packages (virtual packages, or ones installed from command line). add test cases for handling virtual packages. fixes #1617.
-
- Oct 09, 2012
-
-
Timo Teräs authored
The 'a' package is now more preferred which actually makes more sense.
-
- Feb 29, 2012
-
-
Timo Teräs authored
Solver will now never report partial solution where a conflict constraint is not satisfied. The is because with --force we might install the partial solution; and if conflicted packages were to be installed we might have extra trouble.
-
- Feb 28, 2012
-
-
Timo Teräs authored
ref #574
-
Timo Teräs authored
ref #574
-
- Feb 27, 2012
-
-
Timo Teräs authored
ref #574
-
- Feb 24, 2012
-
-
Timo Teräs authored
-
Timo Teräs authored
* take list of tests to run (and default to all) * merge the awk invocation to a function
-
Timo Teräs authored
Otherwise we might start to change packages unexpectedly when not upgrading. This also fixes some other things the solver might've decided to do. Add also few test cases to detect bad behaviour.
-
Timo Teräs authored
Will use 'p' for provides.
-
Timo Teräs authored
-
- Feb 23, 2012
-
-
Timo Teräs authored
also merge the expected output to the *.test files.
-
- Jan 20, 2012
-
-
Timo Teräs authored
Forgot to reset per-name penalty when it got locked by apply_decision. This also fine tunes compare_package_preference() to always prefer packages specified on command line speeding up calculation certain complicated solutions.
-
- Jan 17, 2012
-
-
Timo Teräs authored
Previously we would cache the penalty when evaluating the final solution, and adding that until we backtrack to first topology position changing that penalty. However, we can just keep track of minimum penalty based on name state, and add it. This allows us to bail out early on bad branches because we know in advance how things will turn out.
-
- Oct 29, 2011
-
-
Timo Teräs authored
Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575
-
- Oct 24, 2011
-
-
Timo Teräs authored
One can now say in dependency "!foo<2" which means, that if foo is installed, it needs to be >=2, but it's not a required dependency.
-
- Oct 14, 2011
-
-
Timo Teräs authored
Should now choose packages better if the best available version is uninstallable for some reason.
-
- Sep 05, 2011
-
-
Timo Teräs authored
Allow to select packages that conflict in case we are looking for errors. This allows 'add --force' to install (on boot) the set of packages with minimum conflicts.
-
- Aug 18, 2011
-
-
Timo Teräs authored
* each package name has two sorting positions, one which causes install_if triggers to be run, and other for bulk dependencies * fix also inverted ordering of package installations
-
- Aug 01, 2011
-
-
Timo Teräs authored
* the solver no longer does look-ahead locking of names (could be possibly optimized later); instead names are now always ordered strictly to properly detect the package names which are unsolveable * basic error tests added, so we can see the most likely problem in dependencies easily
-
- Jul 27, 2011
-
-
Timo Teräs authored
Packages that need (re-)installation but which are not available, are excluded now properly.
-
Timo Teräs authored
The first found solution is the most preferred one then.
-
- Jul 26, 2011
-
-
Timo Teräs authored
* basic code for a backtracking, forward checking dependency satisfier * works better when there are tricky dependencies to solve (when can't just upgrade everything to most preferred versions) * the new code always evaluates all of 'world' constraints (old code just does incremental updates based on heuristics) * is probably somewhat slower than old code (probably unnoticeable difference in most cases) * makes easier to write support for provides and repository pinning * test applet and a bunch of test cases added which uses the new code * from the old feature set install_if is not yet implemented
-