aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c
Commit message (Collapse)AuthorAgeFilesLines
* search: implement --exact and --allTimo Teräs2011-09-141-53/+76
| | | | | also optimize search to happen for enumeration of package names. fixes #39, fixes #560
* search: implement --origin to print origin package nameTimo Teräs2011-09-141-17/+32
| | | | fixes #714
* all: update copyright year statementTimo Teräs2011-09-131-1/+1
|
* applets: start using solver codeTimo Teräs2011-09-091-1/+0
| | | | | | | | | still todo: - 'fix' is missing - 'del -R' does not work - 'upgrade' does not do self-upgrade first ... and a lot of testing.
* pkg: dependencies to specific package checksumTimo Teräs2011-01-011-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.
* various: use 'atoms' for certain package field and misc fixesTimo Teräs2010-12-141-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
* 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