Timo Teras
7a29678aac
help: auto construct help
...
And add some more verbosity to the help message.
2009-06-25 15:14:07 +03:00
Natanael Copa
4bbed2d648
ver: only compare the given packages, show version
...
make apk_version_compare() take strings rather than blobs
add apk_pkgversion_compare(), a wrapper that takes packages
2009-06-20 12:38:07 +02:00
Natanael Copa
61213c4018
improve --help output
...
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-19 15:40:37 +02:00
Natanael Copa
d8b1b851c7
fetch: use lstat to verify filesize on existing targets
...
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-16 09:57:34 +00:00
Natanael Copa
3646350479
fetch: readlink does not end buffer with \0
...
According the manpage readlink(2) does not append a null byte to buf.
So we have to do it ourselves.
2009-06-11 09:21:17 +00:00
Natanael Copa
64a85ec65d
fetch: do not create hardlinks to softlinks but to softlink targets
...
Otherwise the iso image will have softlinks which is not what we want
2009-06-11 08:39:51 +00:00
Natanael Copa
cd5d44fa9d
fetch: removed debug message
...
leftovers from a debug session.
2009-06-09 09:58:34 +00:00
Natanael Copa
50cdcca833
fetch: added --link/-L option
...
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-06-09 11:12:06 +02:00
Natanael Copa
c8c9851369
fetch: fix fd leak
...
we should always close the in-stream, not only on failure.
2009-05-26 14:23:12 +00:00
Natanael Copa
33da51c596
fetch: close downloaded file. unlink on failure
2009-04-15 10:00:14 +00:00
Timo Teras
9567337fd2
fetch: new applet to download .apk files
...
Fixes #24 .
2009-04-15 09:56:09 +03:00