Go to file
Timo Teräs 8a28c6d0d4 enable automatic update of indexes controlled by --cache-max-age
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.
2018-01-04 10:56:09 +02:00
libfetch libfetch: add option to set "Cache-Control: no-cache" 2018-01-03 14:25:07 +02:00
src enable automatic update of indexes controlled by --cache-max-age 2018-01-04 10:56:09 +02:00
test commit: properly analyze packages with provides="$pkgname" 2018-01-02 15:45:21 +02:00
.gitignore build and use bundled libfetch natively 2017-10-05 16:59:14 +03:00
.travis.yml travis: notify on IRC 2017-07-25 23:25:52 +02:00
AUTHORS Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00
Make.rules build and use bundled libfetch natively 2017-10-05 16:59:14 +03:00
Makefile apk-tools-2.9.0 2017-12-30 08:11:00 +02:00
NEWS Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00
README Initial commit of some stuff written so far. Still in state of flux. Expect 2008-04-17 14:09:13 +00:00

README