summaryrefslogtreecommitdiff
path: root/src/cache.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04state: fix world dependencies to be honored alwaysTimo Teras1-2/+6
previously they might have been skipped on certain situations. this also fixes some other reverse dependency enforcements and implements new "pending" state for locked name.
2009-07-31apk: use *at instead of chdir+normal file syscallTimo Teras1-30/+33
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-22various: misc fixesTimo Teras1-3/+4
- error codes for verification failure types - fix some fdb corruption on file migration - combine some dependency parsing code - fix versioned dependencies
2009-07-20db: signed index loading (ref #46)Timo Teras1-2/+3
prefer index in the new format as signed .tar.gz.
2009-07-15cache: make cache cleaning work again properlyTimo Teras1-24/+27
2009-07-14db: live with sha1 and md5Timo Teras1-11/+12
this also convers scripts file to a tar archive.
2009-07-14blob: some helpers to replace snprintfTimo Teras1-3/+4
snprintf is dog slow. make the blob stuff have some helper functions so we can use them in code paths that are executed often.
2009-07-09implement --update-cache optionNatanael Copa1-0/+1
This will update the repository cache upon db_open.
2009-07-07cache: delete also wget temporary filesTimo Teras1-2/+10
check for the full filename to match an expected pattern or delete it (so we delete files with .new, .new.backup, etc.). final part of remote package caching: fixes #49.
2009-07-07cache: use changeset to figure out downloadablesTimo Teras1-3/+23
that way we get the same result as the 'apk add world' at boot time; it might differ from currently installed set (ref #49).
2009-07-07db: open flags revisitedTimo Teras1-1/+1
more fine grained control what to load, and rename some of the flags to be shorter.
2009-06-29cache: new applet (ref #49)Timo Teras1-0/+150
Administrative tool to download or delete files to/from the cache.