aboutsummaryrefslogtreecommitdiffstats
path: root/src/info.c
Commit message (Collapse)AuthorAgeFilesLines
...
* info: support for -d, --descriptionNatanael Copa2009-06-191-5/+20
| | | | and re-arrange the order of displayed info
* info: allow multiple subactions at the same runNatanael Copa2009-06-191-18/+45
| | | | By using a bitmask we can combine subactions
* info: add size and webpage to usageNatanael Copa2009-06-191-1/+1
|
* info: add -w,--webpage and -s,--size optionsNatanael Copa2009-06-191-0/+30
|
* improve --help outputNatanael Copa2009-06-191-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.
* info: let -e print which packages are installedNatanael Copa2009-04-211-14/+30
|
* info: do not read the repositories as this tool only query the statedbNatanael Copa2009-04-211-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.
* pkg: clean up writing of dependenciesTimo Teras2009-04-161-3/+8
|
* 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