aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c
Commit message (Collapse)AuthorAgeFilesLines
* all: rework how arrays workTimo Teräs2010-06-051-7/+1
| | | | | | | | | | Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.
* search: add search for reverse dependencies in indexTimo Teräs2010-05-191-57/+91
| | | | So it'll be easier to rebuild affected packages. Fixes #349.
* all: implement database open optionsTimo Teras2009-08-061-12/+6
| | | | so user can override trusted keys directory and repositories file.
* db: open flags revisitedTimo Teras2009-07-071-1/+1
| | | | | more fine grained control what to load, and rename some of the flags to be shorter.
* help: auto construct helpTimo Teras2009-06-251-3/+4
| | | | And add some more verbosity to the help message.
* improve --help outputNatanael Copa2009-06-191-2/+1
| | | | | apk --help will list the generic options only and give a list of commands To get the details for a spefic command, 'apk command --help' should be used.
* search: do not read the state db as this tool only query reposNatanael Copa2009-04-211-1/+1
| | | | This should be slightly faster and comsume less memory in theory
* search: use fnmatch so we have support for wildcardsNatanael Copa2009-04-031-1/+2
|
* Created search appletCameron Banta2009-03-071-0/+148