summaryrefslogtreecommitdiff
path: root/src/info.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-05info: fix querying of removed, but referenced packagesTimo Teras1-1/+1
Check that package name has packages associated with it before dereferencing the pointer. Fixes #345.
2009-09-03index, version: support for repository descriptions (fixes #141)Timo Teras1-1/+1
ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I".
2009-08-13info: clean ups, print triggers (ref #45)Timo Teras1-96/+113
2009-08-12db, pkg: separate structure for fields of installed packagesTimo Teras1-8/+11
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-13/+7
so user can override trusted keys directory and repositories file.
2009-08-05info: fix a --exists to work if the name is non-existantTimo Teras1-0/+3
2009-08-05info: support dependency style tests in package existance checkingTimo Teras1-11/+18
2009-07-14db: speed up fdb creationTimo Teras1-1/+1
avoid recalculating hashes, and store the lengths of names, so we can optimize some operations.
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-30info: fix compiler warning on x86_64Natanael Copa1-2/+2
printf %i does not work so well with size_t on 64 bit. Use %zu which seems to be portable enough.
2009-06-25help: auto construct helpTimo Teras1-14/+14
And add some more verbosity to the help message.
2009-06-19info: support for -d, --descriptionNatanael Copa1-5/+20
and re-arrange the order of displayed info
2009-06-19info: allow multiple subactions at the same runNatanael Copa1-18/+45
By using a bitmask we can combine subactions
2009-06-19info: add size and webpage to usageNatanael Copa1-1/+1
2009-06-19info: add -w,--webpage and -s,--size optionsNatanael Copa1-0/+30
2009-06-19improve --help outputNatanael Copa1-1/+2
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-21info: let -e print which packages are installedNatanael Copa1-14/+30
2009-04-21info: do not read the repositories as this tool only query the statedbNatanael Copa1-1/+1
This allows you to query the state db even if you do not have write permissions in cache dir (which is needed if you have remote repositories) This should speed up things and save some memory if you have big and slow remote repositories.
2009-04-16pkg: clean up writing of dependenciesTimo Teras1-3/+8
2009-04-14state: rework changeset calculation algorithmTimo Teras1-3/+4
Calculate changesets directly by stabilizating the package graph instead of recalculating the whole graph and then diffing (similar approach as seen in 'smart' package manager). The algorithm is not complete: defferred search space forking is missing. So you don't always get a solution on complex graphs. Benefits: - usually the search state tree is smaller (less memory used) - speed relational to changeset size, not database size (usually faster) - touch only packages related to users request (can work on partitially broken state; upgrades only necessary packages, fixes #7) Also implemented: - command prompt to confirm operation if packages are deleted or downgraded - requesting deletion of package suggests removal of all packages depending on the package being removed (you'll get list of packages that also get removed if you want package X removed) - option --simulate to see what would have been done (mainly for testing) - an untested implementation of versioned dependencies and conflicts A lot has changed, so expect new bugs too.
2009-04-14info: option '-r' to print "required by" infoTimo Teras1-43/+71
2009-03-07Created search appletCameron Banta1-29/+1
2009-03-06Added -o option to apk info to list repository packagesCameron Banta1-1/+29
2009-02-08info: list contents follw same style as list dependsNatanael Copa1-6/+7
- empty lines comes after not before - separate pkgname with : when using -v option
2009-02-08info: implement -R/--depends to show dependenciesNatanael Copa1-1/+42
2009-01-20info: don't print package name unless its installedNatanael Copa1-1/+2
2009-01-20info: list contents with -LNatanael Copa1-0/+43
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-16info: only show package desc when --verboseNatanael Copa1-4/+6
also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
2009-01-13info: implement who owns packages query (apk_info -W)Timo Teras1-0/+36
In quiet mode e.g. "apk info -q -W <file list>" a list of dependencies suitable for .PKGINFO is output in one line.
2009-01-13apk: per applet optionsTimo Teras1-9/+70
2009-01-09info: new appletNatanael Copa1-0/+43
so far it only lists installed packages