Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This modifies apk cache for indexes to be automatically refreshed
periodically without explicit 'update' or '--update-cache' usage.
The default is to do if-modified-since request if the local copy
is older than 4 hours. This age can be changed with --cache-max-age.
Using --update-cache will change this age to 60 seconds to make
sure the cached copy is relatively new. The small age is in order
to try to avoid downloading indexes second time when apk-tools is
upgraded and apk re-execs after self-upgrade.
Accordingly using explicitly 'apk update' will now enforce
--force-refresh and request the very latest index by requesting
any potential http proxy to do refresh too.
|
|
fixes #4040
|
|
fixes #4040
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
ability embed description information to repository indexes
(e.g. repository name and version) and show it via "apk version -I".
|
|
|
|
so user can override trusted keys directory and repositories file.
|
|
We use APK_UPDATE_CACHE apk_flag instead.
|
|
And add some more verbosity to the help message.
|
|
We might want to add an --update-index option to misc applets. For
example:
apk add --update-index -u package
apk version --update-index
|
|
Cache non-local index files always locally.
Introduce 'update' applet to force refresh of cached index files.
Fixes #19.
|