summaryrefslogtreecommitdiff
path: root/src/ver.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28version: clarify usageDubiousjim1-3/+4
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-28various: applet help text and comment fixesDubiousjim1-2/+2
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
2013-06-19all: few behavioural regression fixesTimo Teräs1-2/+3
Wildcard matching with no names should match all packages only for info and search applet. "apk del" would otherwise try to delete everything, etc. Fix also interactive mode to ask questions only if we are actually changing something.
2013-06-19applets: unify help message by removing final dotsTimo Teräs1-2/+1
2013-06-18db: store repository tag names including leading @Timo Teräs1-13/+14
2013-06-18fix, info, ver: perform wildcard matchingTimo Teräs1-46/+26
ref #511
2013-06-18apk: use string array in applet mains, separate apk_name_foreach_matchingTimo Teräs1-20/+23
2012-11-05ver: fix help message of --limitTimo Teräs1-2/+2
2012-05-07ver: show all packages with -vNatanael Copa1-1/+1
ref #1122
2012-05-07ver: make --quiet output suitable for scripting/pipingNatanael Copa1-0/+4
Do not print version numbers or compare result char when in quiet mode. This makes the output suitable for be used in scripts or pipes. For example: # Upgrade all packages that matches a given regexp apk version --limit '<' --quiet | grep $regexp | apk fix --reinstall # Delete all packages that are removed from repository apk version --limit '?' --quiet | xargs apk del
2012-05-07ver: print '?' when package is not available in any repoNatanael Copa1-1/+2
This makes it possible to differ between downgradable packages (-l '<') and unavailable in repos (-l '?').
2012-04-27ver: show all versions if package name specifiedTimo Teräs1-1/+1
fixes #1116
2012-02-24all: introduce apk_provides and use it in apk_nameTimo Teräs1-15/+13
in preparation for provides support. implements also some dependency satisfaction helper routines. ref #574.
2012-02-15ver: handle pinned packages betterTimo Teräs1-7/+36
2012-02-14ver: by default show only upgradeable packagesTimo Teräs1-0/+6
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2011-07-24ver: database is not needed for version string checking and testsTimo Teräs1-0/+2
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-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
2010-12-09io: enhance istream/bstreams with pipe to forked childTimo Teräs1-1/+1
* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly
2010-06-11First steps for libapkNatanael Copa1-0/+1
2009-09-04version: --index output to stdout instead of stderrTimo Teras1-4/+4
2009-09-03index, version: support for repository descriptions (fixes #141)Timo Teras1-4/+28
ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I".
2009-08-12db, pkg: separate structure for fields of installed packagesTimo Teras1-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.
2009-08-06all: implement database open optionsTimo Teras1-9/+6
so user can override trusted keys directory and repositories file.
2009-07-09ver: implement --limitNatanael Copa1-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 '?'.
2009-07-07ver: fix output indentationTimo Teras1-1/+3
2009-06-25help: auto construct helpTimo Teras1-7/+8
And add some more verbosity to the help message.
2009-06-20ver: only compare the given packages, show versionNatanael Copa1-17/+47
make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages
2009-06-19improve --help outputNatanael Copa1-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.
2009-04-03ver: added --check/-c option to vaildate given version stringNatanael Copa1-0/+17
2009-04-03ver: test given version strings with -t or --testNatanael Copa1-7/+41
2009-01-17db: database locking and creation to part of opening itTimo Teras1-1/+1
Add flags field to db open call. Also make error reporting quite a bit more detailed.
2009-01-13apk: per applet optionsTimo Teras1-1/+1
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-2/+1
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-3/+3
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+76
breakage and major changes.