summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-11First steps for libapkNatanael Copa1-8/+1
2010-06-05all: rework how arrays workTimo Teräs1-18/+18
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.
2009-12-21apk: remove the unneeded --never-overwriteTimo Teras1-2/+1
turns out the logic does not work with overlays as expected due to busybox symlinks being unmanaged. remove the useless option.
2009-12-21apk: --overlay-from-stdinTimo Teras1-0/+1
get list of overlay files from stdin, so those do not get overwritten.
2009-11-06apk: add --never-overwrite flag (ref #197)Timo Teras1-0/+1
to never ever overwrite a while in the filesystem the user knows about. it gives the impression of extraction succeeding even though nothing was done. this is inteded to be used only for bootstrapping with overlay.
2009-08-13db: implement triggers (fixes #45)Timo Teras1-1/+1
2009-08-06db: prefer local repositories, and implement --no-networkTimo Teras1-0/+1
this helps boots sequence when network is not available.
2009-08-04del: add '-r' to remove top-level dependencies recursivelyTimo Teras1-0/+1
and by default just update the world, and dump a lost of packages that are not removed. fixes #47.
2009-07-31apk: use *at instead of chdir+normal file syscallTimo Teras1-1/+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.
2009-07-24apk: add -i/--interactive option (fixes #60)Timo Teras1-0/+1
and use that to figure if questions are allowed or not instead of the verbosity level.
2009-07-22apk: add --purge option (fixes #61)Timo Teras1-0/+1
and do not remove modified configuration files unless --purge is specified.
2009-07-22apk: allow-untrusted optionTimo Teras1-0/+1
to not make hard error of untrusted or missing signatures
2009-07-22various: more informative error messagesTimo Teras1-0/+1
2009-07-22various: misc fixesTimo Teras1-3/+3
- error codes for verification failure types - fix some fdb corruption on file migration - combine some dependency parsing code - fix versioned dependencies
2009-07-14blob: add some likelyness to help compiler optimizationsTimo Teras1-0/+12
2009-07-14build: optimize with -O2 by defaultTimo Teras1-2/+3
also make the array code more explicit to have gcc optimizer happy.
2009-07-09implement --update-cache optionNatanael Copa1-0/+1
This will update the repository cache upon db_open.
2009-07-08csum: use openssl insteadTimo Teras1-14/+0
instead of having static md5 implemenation, use the openssl library for digest functions.
2009-07-07apk: add --wait option to wait for exclusive lock (fixes #26)Timo Teras1-1/+1
2009-06-25upgrade: add --available optionTimo Teras1-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.
2009-04-15fetch: new applet to download .apk filesTimo Teras1-0/+1
Fixes #24.
2009-04-14state: rework changeset calculation algorithmTimo Teras1-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.
2009-03-04apk: --force to overwrite filesTimo Teras1-1/+1
2009-03-04apk: --clean-protected optionTimo Teras1-0/+1
So you will not get .apk-new files of the new configuration files.
2009-01-16add: --upgrade|-u to control if upgrading is preferred or notTimo Teras1-1/+1
2009-01-16info: only show package desc when --verboseNatanael Copa1-3/+3
also introduce apk_verbosity. --quiet reduce verbosity and --verbose increases it. Default verbosity is 1.
2009-01-07various: make fancy progress bar and update todoTimo Teras1-1/+20
2009-01-06apk_array: clear newly allocated memoryTimo Teras1-1/+6
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-0/+69
2008-11-14db: checksum installed files, protect config filesTimo Teras1-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.
2008-04-22Overwriting of bb files, apk_create (from old apk-tools), chdir changes,Timo Teras1-5/+21
other stuff.
2008-04-22Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras1-3/+5
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+147
breakage and major changes.