summaryrefslogtreecommitdiffstats
path: root/src/ver.c
Commit message (Collapse)AuthorAgeFilesLines
* various: use 'atoms' for certain package field and misc fixesTimo Teräs2010-12-141-8/+10
| | | | | | | - 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
* io: enhance istream/bstreams with pipe to forked childTimo Teräs2010-12-091-1/+1
| | | | | * prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly
* First steps for libapkNatanael Copa2010-06-111-0/+1
|
* version: --index output to stdout instead of stderrTimo Teras2009-09-041-4/+4
|
* index, version: support for repository descriptions (fixes #141)Timo Teras2009-09-031-4/+28
| | | | | ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I".
* db, pkg: separate structure for fields of installed packagesTimo Teras2009-08-121-4/+4
| | | | | | | this makes the database package entry smaller, and we propbably get more fields to installed_package later too. this cleans up the way scripts are stored and is a preparation for supporting triggers. some parsing for trigger meta-data. ref #45.
* all: implement database open optionsTimo Teras2009-08-061-9/+6
| | | | so user can override trusted keys directory and repositories file.
* ver: implement --limitNatanael Copa2009-07-091-27/+24
| | | | | | | | | Support for limiting output for only showing the packages who have the status we are interested in. For example --limit '<' will only list packages that have a newer version available. While here, we also fix so packages that are not in any repository are displayed with '?'.
* ver: fix output indentationTimo Teras2009-07-071-1/+3
|
* help: auto construct helpTimo Teras2009-06-251-7/+8
| | | | And add some more verbosity to the help message.
* ver: only compare the given packages, show versionNatanael Copa2009-06-201-17/+47
| | | | | make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages
* improve --help outputNatanael Copa2009-06-191-1/+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.
* ver: added --check/-c option to vaildate given version stringNatanael Copa2009-04-031-0/+17
|
* ver: test given version strings with -t or --testNatanael Copa2009-04-031-7/+41
|
* db: database locking and creation to part of opening itTimo Teras2009-01-171-1/+1
| | | | | Add flags field to db open call. Also make error reporting quite a bit more detailed.
* apk: per applet optionsTimo Teras2009-01-131-1/+1
|
* hash, db: use apk_blob_t and list_*Timo Teras2008-11-271-2/+1
|
* Argument parsing. Some other stuff too.Timo Teras2008-04-211-3/+3
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+76
breakage and major changes.