summaryrefslogtreecommitdiff
path: root/src/apk_applet.h
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09apk: usage: cleanup help text when no applet is selectedWilliam Pitcock1-1/+6
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.
2014-10-08rework option parsing to have a group structureTimo Teräs1-4/+13
Add also a new 'commit' group that is the common options for all applets that can commit package changes.
2014-05-12finally fix building PIE binariesTimo Teräs1-3/+6
the dynamic applet registration never worked with PIE, and as a temporary hack -nopie was added to default link flags in 2008. this commit reworks the applet registration mechanism to something that is compatible with PIE, and removes the hack. finally!
2013-06-18apk: use string array in applet mains, separate apk_name_foreach_matchingTimo Teräs1-1/+1
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2009-08-06all: implement database open optionsTimo Teras1-11/+5
so user can override trusted keys directory and repositories file.
2009-06-25help: auto construct helpTimo Teras1-3/+12
And add some more verbosity to the help message.
2009-02-17db: allow more than one --repository argNatanael Copa1-1/+8
2009-01-13apk: per applet optionsTimo Teras1-2/+10
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-0/+3
2008-04-21Fixes for hardened environment (and old gcc)Timo Teras1-1/+1
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+27
breakage and major changes.