Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Use it to avoid self-upgrade loops in case something fails during
the initial upgrade attempt.
|
|
|
|
|
|
* fixup the help messages to align up properly
* refresh screen width on SIGWINCH
|
|
|
|
|
|
|
|
This is so we can do x86 --root installs on x86_64 hosts.
Using --arch without --root can make great damage so we only enable it
if --root is used.
|
|
* make it as wide as the screen
* make sure it's drawn after package change
* and draw it using ansi escapes in line buffered stderr
|
|
and make the progress bar disappear on regular runs too.
|
|
Also re-exec's apk-tools to perform rest of the upgrade using
the new apk-tools. This allows handling of new apk-tools features
properly. Fixes #140.
|
|
- implement a hash table for commonly shared fields such as
license, version and architecture
- use macroes to print blobs or pkgname-pkgver strings
- fix some old cruft
|
|
Otherwise we end up using wrong uid/gid mappings when doing install
to alternate system root. Fixes #434.
|
|
We want minimal static build. And this now also breaks with our openssl
since it tries to automatically dlopen some of the engine modules.
|
|
Take the uid/gid from passwd and group.
|
|
|
|
|
|
|
|
turns out the logic does not work with overlays as expected due
to busybox symlinks being unmanaged. remove the useless option.
|
|
get list of overlay files from stdin, so those do not get overwritten.
|
|
to never ever overwrite a while in the filesystem the user knows
about. it gives the impression of extraction succeeding even though
nothing was done. this is inteded to be used only for bootstrapping
with overlay.
|
|
this helps boots sequence when network is not available.
|
|
|
|
so user can override trusted keys directory and repositories file.
|
|
this way we never change cwd, and relative filenames are always
parsed consistently. this also helps filename construction in many
places. this patch also changes '--root' to override location of
all configuration to be in the new root. previously it depended
on the file which one was used.
|
|
and use that to figure if questions are allowed or not instead
of the verbosity level.
|
|
when failed to load an existing index.
|
|
and do not remove modified configuration files unless --purge is
specified.
|
|
to not make hard error of untrusted or missing signatures
|
|
|
|
- error codes for verification failure types
- fix some fdb corruption on file migration
- combine some dependency parsing code
- fix versioned dependencies
|
|
this also convers scripts file to a tar archive.
|
|
to actually get hardware acceleration if available.
|
|
This will update the repository cache upon db_open.
|
|
add all ciphers and built-in engines so we get e.g. hw acceleration
of sha1 when available.
|
|
instead of having static md5 implemenation, use the openssl
library for digest functions.
|
|
|
|
Administrative tool to download or delete files to/from the cache.
|
|
And add some more verbosity to the help message.
|
|
apk --help will list the generic options only and give a list of commands
To get the details for a spefic command, 'apk command --help' should be used.
|
|
This reverts commit 0906a1c7de37ba54f29e9dbabbbd5ea069258cef.
Conflicts:
src/add.c
|
|
Refuse to delete explicitly specified top-level packages unless
--force is specified.
|
|
Calculate changesets directly by stabilizating the package graph instead of
recalculating the whole graph and then diffing (similar approach as seen
in 'smart' package manager). The algorithm is not complete: defferred
search space forking is missing. So you don't always get a solution on
complex graphs.
Benefits:
- usually the search state tree is smaller (less memory used)
- speed relational to changeset size, not database size (usually faster)
- touch only packages related to users request (can work on partitially
broken state; upgrades only necessary packages, fixes #7)
Also implemented:
- command prompt to confirm operation if packages are deleted or downgraded
- requesting deletion of package suggests removal of all packages depending
on the package being removed (you'll get list of packages that also get
removed if you want package X removed)
- option --simulate to see what would have been done (mainly for testing)
- an untested implementation of versioned dependencies and conflicts
A lot has changed, so expect new bugs too.
|
|
|
|
So you will not get .apk-new files of the new configuration files.
|
|
|
|
Both variants should work:
apk --version
apk <applet> --version
|
|
|
|
|