summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-04-12apk-tools-2.14.0_rc1v2.14.0_rc1Timo Teräs1-1/+1
2023-04-12db, index: clean up index writing error handlingTimo Teräs2-21/+17
2023-04-12use fstatat, not fstatat64Ariadne Conill2-5/+5
the stat64 family of functions were provided as transitional functions, but when building on glibc with _GNU_SOURCE, or any other supported system, the stat functions are equivalent to their stat64 counterparts
2023-04-12index: simplify pruning by originTimo Teräs1-11/+5
2023-04-12index: implement --merge and --prune-originTimo Teräs1-9/+45
fixes #10886
2023-04-12db, index: refactor index writingTimo Teräs5-51/+42
2023-04-12pkg: fix filename memory leakTimo Teräs1-8/+5
2023-04-11apk: add --force-missing-repositoriestt-stable-wipTimo Teräs6-10/+17
2023-04-11audit: implement detail recordsTimo Teräs1-21/+53
2023-04-11audit: report errors as 'e'Timo Teräs1-8/+10
2023-04-11audit: add --ignore-busybox-linksTimo Teräs1-1/+15
Ignore any link that has the busybox binary as target. These links are created by a trigger script and not managed by apk.
2023-04-11audit: add a new --full modeTimo Teräs3-46/+96
2023-04-11audit: add --protected-paths to override the audit exceptionsTimo Teräs3-4/+18
2023-04-11io: make apk_blob_from_* return errorTimo Teräs4-49/+49
2023-04-11io: harden apk_fileinfo_getTimo Teräs1-5/+3
Do not attempt to get xattrs from symlinks. Their extraction is not supported either. Do not use alloca.
2023-04-11db, dot, fetch, info, list, search: support --from=FROMSPECTimo Teräs9-7/+47
Allow omitting loading of system installed database and system repositories for the commands that operate on package indexes only.
2023-04-11fetch: improve --link handlingTimo Teräs1-7/+7
Handle file: URLs correctly, and don't do linkat() syscall if it is a remote repository. Also account the file size to progress always.
2023-04-11fetch: implement --built-afterTimo Teräs1-0/+23
ref #10873
2023-04-11db, info: sort installed package based data by package nameTimo Teräs4-9/+39
2023-04-11db: case insensitive searchesTimo Teräs3-4/+4
fixes #10871
2023-04-11db, apps: sort packages by pkgname and pkgverTimo Teräs11-63/+191
This will also fix "search" to display one match from each principal pkgname group. "search -e vim" will now show both vim and gvim. fixes #10864 fixes #10777
2023-04-11search: always use apk_db_foreach_sorted_name and fnmatchTimo Teräs1-12/+9
To make the search output and experience more consistent.
2023-04-11dot: use apk_db_foreach_matching_nameTimo Teräs1-15/+9
2023-04-11index: report unsatisfied dependency warnings in sorted indented listTimo Teräs1-14/+13
2023-04-11db, apps: sort display results based on package namesTimo Teräs14-102/+191
2023-04-10cache: fix handling of explict cache at static cache locationTimo Teräs1-3/+11
Omit separate static cache handling step if the explicit cache is configured to the static cache directory. fixes 609fd218 "cache: fix 'clean' to prune static cache always"
2023-04-10cache: improve and document purgingTimo Teräs1-5/+10
Document cache clean --purge better. Add a cache purge alias for it. And also purge installed package copies on disk installs. fixes #10857
2023-04-10cache: fix 'clean' to prune static cache alwaysTimo Teräs3-21/+30
Fix cache applet to prune the static cache which is used for index files if explicit caching is not enabled. fixes #10754
2023-03-03print: improve indented printing api2.12-stableTimo Teräs4-104/+137
- make sure all commit errors go to stderr - make it a bit more api like (cherry picked and rebased from commit a662047e2c43604bc087ec4dda9a7358368d850b) fixes #10879
2023-02-28version: fix leading zero strippingTimo Teräs1-3/+3
Only the leading zeroes should be ignored. Handle properly if the version component is actually zero. fixes #10880
2023-02-14commit: sort package lists displayed before commitTimo Teräs1-13/+27
Sort the changes by package name before displaying each package listing for easier reading by user. fixes #10866
2023-01-17apk_defines: use unsigned operand in BITDaniel Kolesa1-1/+1
This fixes undefined behavior at least in database, where BIT is used with 31 (as APK_MAX_REPOS is 32) which is not representable with a signed integer.
2022-12-28cache, upgrade: do not continue if repositories have issuesTimo Teräs2-1/+13
There are subtle issues where solving fails with --available, and install_if rules if the repository indexes are not available. Also it can be considered upgrade failure if index update failed. Abort cache download, cache sync and upgrade operations early in the above mentioned cases. Also document side effects of --simulate that might affect upgrade. fixes #10726, #10764
2022-12-28db: handle repository index update/opening errors more consistentlyTimo Teräs3-31/+45
Track separately autoupdate failure, and opening errors. And print only one error per index at maximum. This makes update with or without --no-cache consistent. Ignore errors from local paths as builders often refer to a local path that is being built, but might be non-existent when building the first package. ref #10726
2022-12-25solver: prioritize user specified action on mentioned packagesTimo Teräs2-0/+5
Force preference on the user specified action on commandline. This allows upgrading packages which would otherwise be kept back due to partial update preferring to keep top level dependency on the installed version. fixes #7531
2022-12-23defines: fix UB in get_unaligned32Daniel Kolesa1-1/+1
2022-12-22apk: ignore SIGINT after applet is executedTimo Teräs1-0/+1
apk_db_close is not re-entrant, and would be executed by the signal handler. It makes sense to just ignore the signal after applet is complete as the clean up work has been started already. fixes #10840
2022-12-22apk: remove empty argumentsTimo Teräs1-0/+11
fixes #10848
2022-12-22solver: move install if discovery after all dependencies are doneTimo Teräs1-7/+10
2022-12-22commit: consider also provides_priority for error analysisTimo Teräs1-1/+2
2022-12-21solver: fix install_if via provides onlyTimo Teräs1-2/+7
fixes #10721
2022-12-21apk, fetch: implement --no-check-certificateTimo Teräs1-0/+4
fixes #10650
2022-12-21pkg: increase index entry buffer sizeTimo Teräs1-1/+1
2022-12-20solver: fix queue resolving orderTimo Teräs1-3/+3
It makes sense to not prioritize requirers anymore. It was originally intended to select early packages with multiple constraints seen. However, more important are the constraints that actually limit the choise. fixes #10843
2022-12-20solver, commit: handle install_if via provided names correctlyTimo Teräs2-43/+95
Correctly trigger install_ifs for provided names also. And fix the construction of error messages concerning such install_if packages. ref #10843
2022-12-20db: simplify reverse name list creationTimo Teräs1-12/+12
2022-12-20apk: improve interactive mode handlingTimo Teräs2-1/+5
- implement and document --no-interactive - improve --interactive documentation - treat EOF as Y fixes #10860
2022-12-20commit: correctly analyze virtual provides induced errorsTimo Teräs1-15/+51
The package list cannot be used to determine name state, as packages are not selected through all of their names, and that effects the status of unversioned provides. Thus the name state must be calculated in separate step via the dependency graphs. ref #10847
2022-06-03fetch: implement --worldTimo Teräs1-5/+20
fixes #10838
2022-06-03add: allow specifying a version for --virtual packageTimo Teräs1-17/+32
fixes #10835