summaryrefslogtreecommitdiff
path: root/src/info.c
AgeCommit message (Collapse)AuthorFilesLines
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