Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-04 | io: use fget{pw,gr}ent_r only on uclibc and glibc | Timo Teräs | 1 | -4/+23 | |
musl does not have those. | |||||
2013-07-04 | solver: use ffs (posix) instead of ffsl (gnu extension) | Timo Teräs | 1 | -1/+2 | |
for musl compatibility | |||||
2013-07-02 | upgrade: prefer not to upgrade dependencies during self-upgrade | Timo Teräs | 1 | -1/+1 | |
2013-07-02 | defines: detect endianess on arm, for armel | Timo Teräs | 1 | -0/+3 | |
2013-06-30 | Allow "apk search -x" for -e | Dubiousjim | 1 | -1/+3 | |
2013-06-30 | apk: infrastructure for short-option-only synonyms | Dubiousjim | 1 | -8/+9 | |
2013-06-28 | fix: improve usage | Dubiousjim | 1 | -2/+2 | |
Acked-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
2013-06-28 | version: clarify usage | Dubiousjim | 1 | -3/+4 | |
Acked-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
2013-06-28 | add, del: main dependencies -> 'world' | Dubiousjim | 2 | -2/+2 | |
Acked-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
2013-06-28 | various: applet help text and comment fixes | Dubiousjim | 12 | -22/+21 | |
Acked-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
2013-06-26 | build: lua module build fixes | Natanael Copa | 1 | -2/+5 | |
- do not link with -llua. We should not link apk or lua module with it. - default to lua 5.2 - allow override the lua version with LUA_VERSION - allow override the lua pkg-config package with LUA_PC - only add the pkg-config lua --cflags to the lua module | |||||
2013-06-21 | db: write ipkg flags in proper place | Timo Teräs | 1 | -7/+8 | |
2013-06-21 | db: reset broken pkg state on reinstall | Timo Teräs | 1 | -0/+2 | |
2013-06-21 | commit: fix another re-installing misspelling to reinstalling | Timo Teräs | 1 | -1/+1 | |
2013-06-20 | commit: fix ssize_t printing | Timo Teräs | 1 | -4/+5 | |
2013-06-20 | solver: fix pinning+cache to work | Timo Teräs | 5 | -24/+32 | |
Mistakenly allowed masked out package to be installed if it was in cache. | |||||
2013-06-20 | commit, db: make file conflicts and script errors non-fatal | Timo Teräs | 5 | -134/+140 | |
fixes #1482 | |||||
2013-06-19 | solver: fix package deletion to consier provides properly | Timo Teräs | 3 | -28/+48 | |
2013-06-19 | all: few behavioural regression fixes | Timo Teräs | 6 | -5/+13 | |
Wildcard matching with no names should match all packages only for info and search applet. "apk del" would otherwise try to delete everything, etc. Fix also interactive mode to ask questions only if we are actually changing something. | |||||
2013-06-19 | solver: properly order deletion of unneeded packages | Timo Teräs | 2 | -73/+130 | |
2013-06-19 | applets: unify help message by removing final dots | Timo Teräs | 13 | -24/+16 | |
2013-06-19 | fetch, del: perform wildcard matching | Timo Teräs | 2 | -88/+92 | |
ref #511 | |||||
2013-06-19 | solver: add logic: transitive provides exclusion | Timo Teräs | 2 | -25/+67 | |
If name N is required, and all providers of A also provide B, it means that only instances of B can be selected that provide N. This is strong help with cases when so:libfoo.so.1 is updated to so:libfoo.so.2 and not everything is recompiled. | |||||
2013-06-19 | apk: set automatic flags before parsing the opts | Natanael Copa | 1 | -1/+1 | |
Otherwise we cannot override with --no-progress | |||||
2013-06-19 | print: move progress bar update logic to apk_print_progress | Natanael Copa | 5 | -49/+48 | |
- let the apk_print functions deal with the forced print itself. We avoid that the callbacks need to deal with the force flag. We can also get rid of the APK_PRINT_PROGRESS_* defines. - let the reader of --progress-fd decide how often things are updated rather than having a fixed granularity off 1/100 (percent) - avoid detect screen size and percent/bar calculations in case the --no-progress was given - track satistics for both the ascii bar and percent info and update bar only if either percent or bar changes. This makes the bar go smoother when width is wider than 100 chars and it makes the percent counter go smooth when screen width is less thann 100 chars. It also simplifies the callbacks as they no longer need to deal with update granularity. | |||||
2013-06-19 | del: fix a segfault when trying to delete uninstalled packages | Timo Teräs | 1 | -1/+4 | |
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 | |