summaryrefslogtreecommitdiff
path: root/src/search.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-01pkg: dependencies to specific package checksumTimo Teräs1-2/+1
When package is installed from commandline, we should always install that specific instance of package (never favor repository version if it has difference identity). Otherwise we might not always end-up installing the .apk given on command line. The dependency is now against specific checksum identity (marked with >< dependency comparison). Fixes #492.
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-6/+6
- 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-05all: rework how arrays workTimo Teräs1-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.
2010-05-19search: add search for reverse dependencies in indexTimo Teräs1-57/+91
So it'll be easier to rebuild affected packages. Fixes #349.
2009-08-06all: implement database open optionsTimo Teras1-12/+6
so user can override trusted keys directory and repositories file.
2009-07-07db: open flags revisitedTimo Teras1-1/+1
more fine grained control what to load, and rename some of the flags to be shorter.
2009-06-25help: auto construct helpTimo Teras1-3/+4
And add some more verbosity to the help message.
2009-06-19improve --help outputNatanael Copa1-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.
2009-04-21search: do not read the state db as this tool only query reposNatanael Copa1-1/+1
This should be slightly faster and comsume less memory in theory
2009-04-03search: use fnmatch so we have support for wildcardsNatanael Copa1-1/+2
2009-03-07Created search appletCameron Banta1-0/+148