aboutsummaryrefslogtreecommitdiffstats
path: root/src/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
...
* help: auto construct helpTimo Teras2009-06-251-8/+11
| | | | And add some more verbosity to the help message.
* ver: only compare the given packages, show versionNatanael Copa2009-06-201-2/+2
| | | | | make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages
* improve --help outputNatanael Copa2009-06-191-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.
* fetch: use lstat to verify filesize on existing targetsNatanael Copa2009-06-161-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.
* fetch: readlink does not end buffer with \0Natanael Copa2009-06-111-1/+4
| | | | | According the manpage readlink(2) does not append a null byte to buf. So we have to do it ourselves.
* fetch: do not create hardlinks to softlinks but to softlink targetsNatanael Copa2009-06-111-1/+3
| | | | Otherwise the iso image will have softlinks which is not what we want
* fetch: removed debug messageNatanael Copa2009-06-091-1/+0
| | | | leftovers from a debug session.
* fetch: added --link/-L optionNatanael Copa2009-06-091-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.
* fetch: fix fd leakNatanael Copa2009-05-261-1/+1
| | | | we should always close the in-stream, not only on failure.
* fetch: close downloaded file. unlink on failureNatanael Copa2009-04-151-0/+3
|
* fetch: new applet to download .apk filesTimo Teras2009-04-151-0/+185
Fixes #24.