summaryrefslogtreecommitdiff
path: root/src/apk.c
AgeCommit message (Collapse)AuthorFilesLines
2009-06-19improve --help outputNatanael Copa1-15/+27
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-05-25Revert "add: replace coffe-cup with starwars"Timo Teras1-1/+1
This reverts commit 0906a1c7de37ba54f29e9dbabbbd5ea069258cef. Conflicts: src/add.c
2009-04-15state: make package deletion saferTimo Teras1-4/+4
Refuse to delete explicitly specified top-level packages unless --force is specified.
2009-04-14state: rework changeset calculation algorithmTimo Teras1-7/+18
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-03-04apk: --force to overwrite filesTimo Teras1-2/+3
2009-03-04apk: --clean-protected optionTimo Teras1-10/+11
So you will not get .apk-new files of the new configuration files.
2009-02-17db: allow more than one --repository argNatanael Copa1-2/+17
2009-01-17apk: added option --version/-VNatanael Copa1-14/+25
Both variants should work: apk --version apk <applet> --version
2009-01-16add: --upgrade|-u to control if upgrading is preferred or notTimo Teras1-1/+1
2009-01-16apk: fix --root/-p optionNatanael Copa1-1/+1
2009-01-16apk: short option for --root is -pNatanael Copa1-1/+1
Used to be so in the really old days of apk.
2009-01-16info: only show package desc when --verboseNatanael Copa1-3/+7
also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
2009-01-15apk: isalnum() takes only unsigned char values add explicit check for thatTimo Teras1-1/+2
2009-01-13apk: per applet optionsTimo Teras1-29/+71
2009-01-13apk: honour --root command line switchTimo Teras1-1/+2
Was broken by earlier ROOT environment commit.
2009-01-12apk: support for ROOT environment variableNatanael Copa1-1/+5
2009-01-07various: make fancy progress bar and update todoTimo Teras1-1/+5
2009-01-06log: eliminate fortified build warningTimo Teras1-1/+1
2008-04-22Overwriting of bb files, apk_create (from old apk-tools), chdir changes,Timo Teras1-0/+3
other stuff.
2008-04-22Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras1-0/+5
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-19/+55
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+81
breakage and major changes.