summaryrefslogtreecommitdiff
path: root/src/update.c
AgeCommit message (Collapse)AuthorFilesLines
2020-02-14rename all applets sources to app_*.cTimo Teräs1-57/+0
2020-01-26Update apk to make man pages sole source of truthDrew DeVault1-1/+0
Detailed docs have been removed from the apk binaries, in favor of git-style short summaries of each command.
2018-01-09apk: usage: cleanup help text when no applet is selectedWilliam Pitcock1-0/+1
2018-01-04enable automatic update of indexes controlled by --cache-max-ageTimo Teräs1-1/+1
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.
2015-04-10update: return errors also with --quietNatanael Copa1-1/+1
fixes #4040
2015-04-07update: return failure if any mirror update failedNatanael Copa1-2/+6
fixes #4040
2013-06-19applets: unify help message by removing final dotsTimo Teräs1-1/+1
2013-06-18apk: use string array in applet mains, separate apk_name_foreach_matchingTimo Teräs1-1/+1
2011-12-27update: report number of distinct packages availableTimo Teräs1-0/+3
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-3/+2
- 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
2010-06-11First steps for libapkNatanael Copa1-0/+1
2009-09-03index, version: support for repository descriptions (fixes #141)Timo Teras1-0/+18
ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I".
2009-08-06state, update: fixesTimo Teras1-1/+1
2009-08-06all: implement database open optionsTimo Teras1-8/+3
so user can override trusted keys directory and repositories file.
2009-07-09db: removed apk_repository_update_all() as its no longer neededNatanael Copa1-2/+1
We use APK_UPDATE_CACHE apk_flag instead.
2009-06-25help: auto construct helpTimo Teras1-2/+2
And add some more verbosity to the help message.
2009-06-19db: add function apk_repository_update_allNatanael Copa1-4/+1
We might want to add an --update-index option to misc applets. For example: apk add --update-index -u package apk version --update-index
2009-04-16db: cache index files, 'update' appletTimo Teras1-0/+41
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.