Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Do not attempt to get xattrs from symlinks. Their extraction is not
supported either.
Do not use alloca.
|
|
|
|
Allow omitting loading of system installed database and system
repositories for the commands that operate on package indexes
only.
|
|
Handle file: URLs correctly, and don't do linkat() syscall if
it is a remote repository.
Also account the file size to progress always.
|
|
ref #10873
|
|
|
|
fixes #10871
|
|
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
|
|
To make the search output and experience more consistent.
|
|
|
|
|
|
|
|
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"
|
|
Document cache clean --purge better. Add a cache purge alias for
it. And also purge installed package copies on disk installs.
fixes #10857
|
|
Fix cache applet to prune the static cache which is used for index
files if explicit caching is not enabled.
fixes #10754
|
|
- make sure all commit errors go to stderr
- make it a bit more api like
(cherry picked and rebased from commit a662047e2c43604bc087ec4dda9a7358368d850b)
fixes #10879
|
|
Only the leading zeroes should be ignored. Handle properly if the
version component is actually zero.
fixes #10880
|
|
Sort the changes by package name before displaying each
package listing for easier reading by user.
fixes #10866
|
|
|
|
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.
|
|
|
|
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
|
|
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
|
|
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
|
|
|
|
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
|
|
fixes #10848
|
|
|
|
|
|
fixes #10721
|
|
fixes #10650
|
|
|
|
|
|
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
|
|
Correctly trigger install_ifs for provided names also. And fix the
construction of error messages concerning such install_if packages.
ref #10843
|
|
|
|
- implement and document --no-interactive
- improve --interactive documentation
- treat EOF as Y
fixes #10860
|
|
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
|
|
|
|
fixes #10838
|
|
fixes #10835
|
|
fixes #10834
|
|
fixes #10825
|
|
The gzip library can drain all of the input to internal buffers
and still keep providing data even if avail_in is zero. Previously
it was assumed that avail_in != 0 if there is still data expected out,
but this logic breaks near end-of-file for multiple short reads.
Adjust logic to not process end-of-file event too early.
fixes #10809
|
|
var/cache is also reported to be mounted noexec on hardened
systems. Document some of the issues, and use lib/apk/exec
for the time being. Keep the scripts still in separate directory
from lib/apk so we can just delete directory if needed.
fixes #6591
|
|
This reverts most of 0dcbd933 which allowed automatic selection
of package with a "virtual provides" having only one provider.
While convenient, it creates problems if multiple versions of the
same package exist, or if in future other providers would be added
to one of the repositories. This restore the original behaviour,
and improve the error message to tell the user to mention one of
the providers explicitly.
fixes #10810
|
|
|