summaryrefslogtreecommitdiffstats
path: root/src/info.c
Commit message (Collapse)AuthorAgeFilesLines
* state: rework changeset calculation algorithmTimo Teras2009-04-141-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.
* info: option '-r' to print "required by" infoTimo Teras2009-04-141-43/+71
|
* Created search appletCameron Banta2009-03-071-29/+1
|
* Added -o option to apk info to list repository packagesCameron Banta2009-03-061-1/+29
|
* info: list contents follw same style as list dependsNatanael Copa2009-02-081-6/+7
| | | | | - empty lines comes after not before - separate pkgname with : when using -v option
* info: implement -R/--depends to show dependenciesNatanael Copa2009-02-081-1/+42
|
* info: don't print package name unless its installedNatanael Copa2009-01-201-1/+2
|
* info: list contents with -LNatanael Copa2009-01-201-0/+43
|
* 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.
* info: only show package desc when --verboseNatanael Copa2009-01-161-4/+6
| | | | | | | also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
* info: implement who owns packages query (apk_info -W)Timo Teras2009-01-131-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.
* apk: per applet optionsTimo Teras2009-01-131-9/+70
|
* info: new appletNatanael Copa2009-01-091-0/+43
so far it only lists installed packages