Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-19 | print: percent arg for process_fd is integer | Natanael Copa | 1 | -1/+1 | |
With commit 0a131418899436b58a163978176d99c08cbddb0c the percent variable became an integer instead of size_t. We fix the format modifier accordingly. | |||||
2013-06-19 | dot: new option: --installed | Timo Teräs | 1 | -2/+13 | |
to consider only installed packages | |||||
2013-06-19 | upgrade: new option: --latest (-l) | Timo Teräs | 5 | -62/+106 | |
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. | |||||
2013-06-18 | errors: fix a test case, and misanalysis of certain names | Timo Teräs | 1 | -0/+2 | |
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. | |||||
2013-06-18 | policy: new applet | Timo Teräs | 4 | -6/+83 | |
to show different versions of package and the repositories from which it is available from. | |||||
2013-06-18 | db: store repository tag names including leading @ | Timo Teräs | 5 | -57/+67 | |
2013-06-18 | fix, info, ver: perform wildcard matching | Timo Teräs | 4 | -120/+62 | |
ref #511 | |||||
2013-06-18 | apk: use string array in applet mains, separate apk_name_foreach_matching | Timo Teräs | 19 | -214/+284 | |
2013-06-18 | url: fix fetching from local repositories | Natanael Copa | 2 | -5/+6 | |
2013-06-18 | errors: improve analysis for virtual packages | Timo Teräs | 2 | -17/+28 | |
if all packages named N provide the virtual package, list only the name N instead of all packages providing it. | |||||
2013-06-18 | all: various conversions to foreach_array_item, and simplifications of code | Timo Teräs | 7 | -189/+109 | |
2013-06-17 | fetch: implement progress (fixes #1170) | Timo Teräs | 2 | -45/+65 | |
2013-06-17 | io: get rid of APK_PROGRESS_SCALE | Timo Teräs | 5 | -30/+11 | |
no need to muldiv all the time, just pass the current amount of bytes done, and let callbacks use that directly. | |||||
2013-06-17 | cache: implement progress bar (ref #1170) | Timo Teräs | 6 | -16/+51 | |
2013-06-17 | print: move progress printing to common functions | Timo Teräs | 6 | -39/+46 | |
2013-06-17 | db, cache: do not use cache/tmp for downloads | Timo Teräs | 3 | -25/+28 | |
instead use prefix for temporary files. | |||||
2013-06-17 | url: remove unused apk_url_download | Timo Teräs | 2 | -34/+0 | |
2013-06-17 | db: refactor repository file construction | Timo Teräs | 9 | -180/+181 | |
Fixes also 'fetch' applet to prefer copying/linking to files from cache if possible. | |||||
2013-06-17 | io: fix splice for copying unknown lengths | Timo Teräs | 3 | -9/+22 | |
2013-06-15 | pkg: apk_pkg_foreach_* add matching generation | Timo Teräs | 4 | -71/+64 | |
So same package it is possible to not match same package multiple times. Use generation count, so this is handled cleanly during recursion, like in the use case of search applet. | |||||
2013-06-15 | lua: use apk_dep_analyze | Timo Teräs | 3 | -26/+2 | |
and remove the now unused apk_dep_is_materialized_or_provided which was superceded by apk_dep_analyze. | |||||
2013-06-14 | errors: detect self-conflicts properly | Timo Teräs | 1 | -4/+6 | |
and add the provided version information to the conflicts. fixes the final test case that was broken. hooray. | |||||
2013-06-14 | solver: use array_foreach_item and clean ups | Timo Teräs | 1 | -156/+130 | |
2013-06-14 | audit, index, search, upgrade: use foreach_array_item | Timo Teräs | 4 | -17/+15 | |
2013-06-13 | solver, errors: fix few additional test cases and clean ups | Timo Teräs | 3 | -22/+20 | |
2013-06-13 | search: speed up searching exact package names | Timo Teräs | 1 | -16/+26 | |
2013-06-13 | search: fix reverse dependency searching (fixes #2084) | Timo Teräs | 1 | -52/+47 | |
use the new apk_pkg_foreach_reverse_dependency helper to find the reverse dependencies properly. | |||||
2013-06-13 | pkg: add global reverse dependency iterator helpers and use them | Timo Teräs | 4 | -137/+124 | |
... in the error printing and the package deletion. | |||||
2013-06-13 | errors: rewrite the logic how errors are reported | Timo Teräs | 7 | -102/+314 | |
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. | |||||
2013-06-13 | solver: prune broken world dependencies with --force | Timo Teräs | 6 | -36/+61 | |
mostly useful for reboot, when all packages are not available. | |||||
2013-06-13 | solver: corner case fixes | Timo Teräs | 3 | -8/+27 | |
- try harder to not change anything during self-upgrade - also honor locking to packages that where earlier used in merging common dependencies - clarify upgrade applet help messages | |||||
2013-06-13 | solver: rewrite as deductive solver -- pinning support | Timo Teräs | 3 | -29/+140 | |
Fix also pinning test cases to be more sane. | |||||
2013-06-13 | solver: rewrite as deductive solver -- per name flags | Timo Teräs | 3 | -17/+40 | |
Handle properly per-name preference flags, and add test cases for testing those via fix applet. | |||||
2013-06-13 | solver: rewrite as deductive solver -- core features | Timo Teräs | 14 | -1913/+1057 | |
Implementing basic dependency handling, install_if and awareness of pinning. | |||||
2013-06-13 | lua: support for lua 5.2 | Natanael Copa | 1 | -15/+32 | |
2013-06-12 | Revert "Revert "solver: increase score fields to 32-bits (from 16-bits)"" | William Pitcock | 2 | -39/+31 | |
This reverts commit a2d873a77c6dd2e7f6219e6941af796e1f904e69. | |||||
2013-06-12 | libapk, apk(8): fix header inclusion issues with musl's headers | William Pitcock | 6 | -1/+6 | |
2013-06-11 | Revert "solver: increase score fields to 32-bits (from 16-bits)" | root | 2 | -31/+39 | |
This reverts commit 84bfef1a6b587a7da7d12fb701ab0d1d5d6ce2a9. | |||||
2013-05-30 | index: add sensible error message if metadata is too long | Timo Teräs | 3 | -26/+34 | |
fixes #1476 Instead of: ERROR: Index generation failed: Success The following is now printed: ERROR: Metadata for package timo-1.0-r0 is too long. ERROR: Index generation failed: No buffer space available | |||||
2013-05-30 | db: unify handling of special packages | Timo Teräs | 8 | -76/+69 | |
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. | |||||
2013-05-29 | db, info: allow packages to install files/symlinks to root | Timo Teräs | 3 | -21/+44 | |
fixes #1578 | |||||
2013-05-29 | db: make dev/null a character device with --initdb | Timo Teräs | 1 | -1/+1 | |
fixes #1714 | |||||
2013-04-29 | solver: increase score fields to 32-bits (from 16-bits) | Timo Teräs | 2 | -39/+31 | |
We are having so many packages that they might overflow otherwise. "ERROR: Preference overflow" was already reported. | |||||
2013-04-29 | upgrade: handle solver failure gracefully | Timo Teräs | 1 | -1/+1 | |
It is internal bug, but don't segfault on it. Fixes #1576. | |||||
2013-04-18 | apk_hash.h: include stddef.h | Pierre Carrier | 1 | -0/+1 | |
Needed for ptrdiff_t in some libcs. | |||||
2013-04-18 | *.c: malloc.h->stdlib.h | Pierre Carrier | 2 | -2/+2 | |
2013-01-28 | solver: remove backjumping by name | Timo Teräs | 2 | -29/+3 | |
It is incorrect optimization causing valid solutions to be skipped. Any performance it might've gained, should be fixed by reintroduction of the minimum penalty logic added in previous commit. | |||||
2013-01-28 | solver: reintroduce minimum penalty logic | Timo Teräs | 2 | -49/+78 | |
Basic per-name per-package specific scoring added. | |||||
2013-01-22 | solver: do not backtrack over "exclude none" | Timo Teräs | 1 | -1/+8 | |
Otherwise we can return no solution at all instead of partially satisfied solution (and give proper error message). | |||||
2013-01-21 | solver: simplify strength evaluation in constraint handling | Timo Teräs | 1 | -20/+8 | |