aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk.c
Commit message (Collapse)AuthorAgeFilesLines
...
* db: prefer local repositories, and implement --no-networkTimo Teras2009-08-061-1/+5
| | | | this helps boots sequence when network is not available.
* state: indent package listsTimo Teras2009-08-061-12/+7
|
* all: implement database open optionsTimo Teras2009-08-061-15/+34
| | | | so user can override trusted keys directory and repositories file.
* apk: use *at instead of chdir+normal file syscallTimo Teras2009-07-311-2/+1
| | | | | | | | this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used.
* apk: add -i/--interactive option (fixes #60)Timo Teras2009-07-241-0/+4
| | | | | and use that to figure if questions are allowed or not instead of the verbosity level.
* index: more informative error messageTimo Teras2009-07-231-0/+2
| | | | when failed to load an existing index.
* apk: add --purge option (fixes #61)Timo Teras2009-07-221-0/+5
| | | | | and do not remove modified configuration files unless --purge is specified.
* apk: allow-untrusted optionTimo Teras2009-07-221-0/+5
| | | | to not make hard error of untrusted or missing signatures
* various: more informative error messagesTimo Teras2009-07-221-0/+18
|
* various: misc fixesTimo Teras2009-07-221-1/+1
| | | | | | | - error codes for verification failure types - fix some fdb corruption on file migration - combine some dependency parsing code - fix versioned dependencies
* db: live with sha1 and md5Timo Teras2009-07-141-2/+0
| | | | this also convers scripts file to a tar archive.
* openssl: register engines, and use oneshot digest when possibleTimo Teras2009-07-131-0/+1
| | | | to actually get hardware acceleration if available.
* implement --update-cache optionNatanael Copa2009-07-091-0/+4
| | | | This will update the repository cache upon db_open.
* apk: initialize opensslTimo Teras2009-07-081-0/+22
| | | | | add all ciphers and built-in engines so we get e.g. hw acceleration of sha1 when available.
* csum: use openssl insteadTimo Teras2009-07-081-0/+2
| | | | | instead of having static md5 implemenation, use the openssl library for digest functions.
* apk: add --wait option to wait for exclusive lock (fixes #26)Timo Teras2009-07-071-6/+13
|
* cache: new applet (ref #49)Timo Teras2009-06-291-1/+4
| | | | Administrative tool to download or delete files to/from the cache.
* help: auto construct helpTimo Teras2009-06-251-44/+144
| | | | And add some more verbosity to the help message.
* improve --help outputNatanael Copa2009-06-191-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.
* Revert "add: replace coffe-cup with starwars"Timo Teras2009-05-251-1/+1
| | | | | | | | This reverts commit 0906a1c7de37ba54f29e9dbabbbd5ea069258cef. Conflicts: src/add.c
* state: make package deletion saferTimo Teras2009-04-151-4/+4
| | | | | Refuse to delete explicitly specified top-level packages unless --force is specified.
* state: rework changeset calculation algorithmTimo Teras2009-04-141-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.
* apk: --force to overwrite filesTimo Teras2009-03-041-2/+3
|
* apk: --clean-protected optionTimo Teras2009-03-041-10/+11
| | | | So you will not get .apk-new files of the new configuration files.
* db: allow more than one --repository argNatanael Copa2009-02-171-2/+17
|
* apk: added option --version/-VNatanael Copa2009-01-171-14/+25
| | | | | | Both variants should work: apk --version apk <applet> --version
* add: --upgrade|-u to control if upgrading is preferred or notTimo Teras2009-01-161-1/+1
|
* apk: fix --root/-p optionNatanael Copa2009-01-161-1/+1
|
* apk: short option for --root is -pNatanael Copa2009-01-161-1/+1
| | | | Used to be so in the really old days of apk.
* info: only show package desc when --verboseNatanael Copa2009-01-161-3/+7
| | | | | | | also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
* apk: isalnum() takes only unsigned char values add explicit check for thatTimo Teras2009-01-151-1/+2
|
* apk: per applet optionsTimo Teras2009-01-131-29/+71
|
* apk: honour --root command line switchTimo Teras2009-01-131-1/+2
| | | | Was broken by earlier ROOT environment commit.
* apk: support for ROOT environment variableNatanael Copa2009-01-121-1/+5
|
* various: make fancy progress bar and update todoTimo Teras2009-01-071-1/+5
|
* log: eliminate fortified build warningTimo Teras2009-01-061-1/+1
|
* Overwriting of bb files, apk_create (from old apk-tools), chdir changes,Timo Teras2008-04-221-0/+3
| | | | | other stuff.
* Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras2008-04-221-0/+5
|
* Argument parsing. Some other stuff too.Timo Teras2008-04-211-19/+55
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+81
breakage and major changes.