aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_defines.h
Commit message (Collapse)AuthorAgeFilesLines
...
* various: misc fixesTimo Teras2009-07-221-3/+3
| | | | | | | - error codes for verification failure types - fix some fdb corruption on file migration - combine some dependency parsing code - fix versioned dependencies
* blob: add some likelyness to help compiler optimizationsTimo Teras2009-07-141-0/+12
|
* build: optimize with -O2 by defaultTimo Teras2009-07-141-2/+3
| | | | also make the array code more explicit to have gcc optimizer happy.
* implement --update-cache optionNatanael Copa2009-07-091-0/+1
| | | | This will update the repository cache upon db_open.
* csum: use openssl insteadTimo Teras2009-07-081-14/+0
| | | | | 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-1/+1
|
* upgrade: add --available optionTimo Teras2009-06-251-1/+2
| | | | | | | That will make the upgrade prefer packages available in repositories. This is good if one want's to downgrade packages by removing an experimental repository. Or to force re-install of locally built vs. repository version when the package version are same, but checksum is different. Fixes #51.
* fetch: new applet to download .apk filesTimo Teras2009-04-151-0/+1
| | | | Fixes #24.
* state: rework changeset calculation algorithmTimo Teras2009-04-141-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|
* apk: --clean-protected optionTimo Teras2009-03-041-0/+1
| | | | So you will not get .apk-new files of the new configuration files.
* add: --upgrade|-u to control if upgrading is preferred or notTimo Teras2009-01-161-1/+1
|
* info: only show package desc when --verboseNatanael Copa2009-01-161-3/+3
| | | | | | | also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
* various: make fancy progress bar and update todoTimo Teras2009-01-071-1/+20
|
* apk_array: clear newly allocated memoryTimo Teras2009-01-061-1/+6
|
* hash, db: use apk_blob_t and list_*Timo Teras2008-11-271-0/+69
|
* db: checksum installed files, protect config filesTimo Teras2008-11-141-0/+7
| | | | | | | Checksum of installed is computed on the fly when extracting them and it'll be saved to fdb. When installing config files those are diverted with suffix .apk-new if earlier version of same file with local changes exist.
* Overwriting of bb files, apk_create (from old apk-tools), chdir changes,Timo Teras2008-04-221-5/+21
| | | | | other stuff.
* Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras2008-04-221-3/+5
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+147
breakage and major changes.