aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_applet.h
Commit message (Collapse)AuthorAgeFilesLines
* apk: usage: cleanup help text when no applet is selectedWilliam Pitcock2018-01-091-1/+6
|
* enable automatic update of indexes controlled by --cache-max-ageTimo Teräs2018-01-041-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.
* rework option parsing to have a group structureTimo Teräs2014-10-081-4/+13
| | | | | Add also a new 'commit' group that is the common options for all applets that can commit package changes.
* finally fix building PIE binariesTimo Teräs2014-05-121-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!
* apk: use string array in applet mains, separate apk_name_foreach_matchingTimo Teräs2013-06-181-1/+1
|
* all: update copyright year statementTimo Teräs2011-09-131-1/+1
|
* all: implement database open optionsTimo Teras2009-08-061-11/+5
| | | | so user can override trusted keys directory and repositories file.
* help: auto construct helpTimo Teras2009-06-251-3/+12
| | | | And add some more verbosity to the help message.
* db: allow more than one --repository argNatanael Copa2009-02-171-1/+8
|
* apk: per applet optionsTimo Teras2009-01-131-2/+10
|
* Argument parsing. Some other stuff too.Timo Teras2008-04-211-0/+3
|
* Fixes for hardened environment (and old gcc)Timo Teras2008-04-211-1/+1
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+27
breakage and major changes.