- 16 Jun, 2009 1 commit
-
-
Natanael Copa authored
-
- 11 Jun, 2009 3 commits
-
-
Timo Teräs authored
We need to close the fd on destruction. This is what the corresponding istream variant does too.
-
Natanael Copa authored
According the manpage readlink(2) does not append a null byte to buf. So we have to do it ourselves.
-
Natanael Copa authored
Otherwise the iso image will have softlinks which is not what we want
-
- 09 Jun, 2009 2 commits
-
-
Natanael Copa authored
leftovers from a debug session.
-
Natanael Copa authored
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.
-
- 27 May, 2009 1 commit
-
-
Timo Teräs authored
So we don't get local modifications or extra files in the tarball.
-
- 26 May, 2009 1 commit
-
-
Natanael Copa authored
we should always close the in-stream, not only on failure.
-
- 25 May, 2009 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
This reverts commit 0906a1c7. Conflicts: src/add.c
-
- 24 May, 2009 1 commit
-
-
Natanael Copa authored
-
- 21 May, 2009 3 commits
-
-
Linux User authored
-
Natanael Copa authored
saves space
-
Natanael Copa authored
-
- 19 May, 2009 2 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
-
- 18 May, 2009 1 commit
-
-
Natanael Copa authored
We upgrade when we have an oldpkg.
-
- 15 May, 2009 2 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
By locking all the given dependendencies for virtual packages first we can catch invalid deps and report those. This is alot more helpful than just reporting "Unable to install <virutalpkg>"
-
- 14 May, 2009 3 commits
-
-
Natanael Copa authored
implements 'apk add --virutal metaname dep1 dep2...' where metaname will be an empy meta package with dep1 and dep2 as dependencies. This is useful to prevent abuild to add each makedepend to world which causes some headache when it comes to unintalling them after sucessful build.
-
Natanael Copa authored
-
Natanael Copa authored
-
- 12 May, 2009 1 commit
-
-
Natanael Copa authored
The syntax is: apk index -d /path/to/APK_INDEX.gz pkg... It does not seem like its possible to remove packages in the db so we trick apk_db_index_write() by setting the repo to on-zero. It's still not perfect since it does not recalculate the dependencies.
-
- 11 May, 2009 2 commits
-
-
Natanael Copa authored
The compiler is actually right about those.
-
Natanael Copa authored
The state size is taken from name_id and cannot be extended. So we must wait with initializing the state til we have all packages added to the db. We must also always allocate the package name, incase its not in the repository. This is done with apk_db_get_name().
-
- 08 May, 2009 1 commit
-
-
Natanael Copa authored
-
- 06 May, 2009 2 commits
-
-
Timo Teräs authored
-
Natanael Copa authored
A = "added" U = "updated"
-
- 21 Apr, 2009 9 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
This allows you to query the state db even if you do not have write permissions in cache dir (which is needed if you have remote repositories) This should speed up things and save some memory if you have big and slow remote repositories.
-
Natanael Copa authored
This should be slightly faster and comsume less memory in theory
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
apk_db_add_repository does its own error reporting and does not set errno reliable. This patch also tell which repository it failed to load the index for rather than just say it failed to open "APK_INDEX.gz" which does not tell much.
-
Natanael Copa authored
-
Natanael Copa authored
-
- 16 Apr, 2009 3 commits
-
-
Timo Teräs authored
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19.
-
Timo Teräs authored
-
Timo Teräs authored
-