summaryrefslogtreecommitdiff
path: root/src/fetch.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-06db: prefer local repositories, and implement --no-networkTimo Teras1-9/+7
this helps boots sequence when network is not available.
2009-08-06all: implement database open optionsTimo Teras1-14/+10
so user can override trusted keys directory and repositories file.
2009-08-05fetch: --link is -L for short, not -lTimo Teras1-1/+1
2009-08-04state: fix world dependencies to be honored alwaysTimo Teras1-0/+3
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-26/+28
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-24add, fetch: make handling of special options more logicalTimo Teras1-0/+44
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-07-06fetch: respect --simulate optionNatanael Copa1-0/+3
2009-06-25help: auto construct helpTimo Teras1-8/+11
And add some more verbosity to the help message.
2009-06-20ver: only compare the given packages, show versionNatanael Copa1-2/+2
make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages
2009-06-19improve --help outputNatanael Copa1-1/+2
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-06-16fetch: use lstat to verify filesize on existing targetsNatanael Copa1-3/+2
since we dont verify the checksum we dont need to calculate it Speed up when you try fetch lots of stuff thats already there.
2009-06-11fetch: readlink does not end buffer with \0Natanael Copa1-1/+4
According the manpage readlink(2) does not append a null byte to buf. So we have to do it ourselves.
2009-06-11fetch: do not create hardlinks to softlinks but to softlink targetsNatanael Copa1-1/+3
Otherwise the iso image will have softlinks which is not what we want
2009-06-09fetch: removed debug messageNatanael Copa1-1/+0
leftovers from a debug session.
2009-06-09fetch: added --link/-L optionNatanael Copa1-19/+33
fixes #42 This will also fix a bug that left an empty file in destination dir when source file did not exist in repository. There are still issues with paths longer than 255 chars.
2009-05-26fetch: fix fd leakNatanael Copa1-1/+1
we should always close the in-stream, not only on failure.
2009-04-15fetch: close downloaded file. unlink on failureNatanael Copa1-0/+3
2009-04-15fetch: new applet to download .apk filesTimo Teras1-0/+185
Fixes #24.