Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-16 | fetch: use lstat to verify filesize on existing targets | Natanael Copa | 1 | -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-16 | state: bugfix in the package version selector | Natanael Copa | 1 | -2/+5 | |
2009-06-11 | io: fix mmap bstream fd leak | Timo Teras | 1 | -1/+2 | |
We need to close the fd on destruction. This is what the corresponding istream variant does too. | |||||
2009-06-11 | fetch: readlink does not end buffer with \0 | Natanael Copa | 1 | -1/+4 | |
According the manpage readlink(2) does not append a null byte to buf. So we have to do it ourselves. | |||||
2009-06-11 | fetch: do not create hardlinks to softlinks but to softlink targets | Natanael Copa | 1 | -1/+3 | |
Otherwise the iso image will have softlinks which is not what we want | |||||
2009-06-09 | fetch: removed debug message | Natanael Copa | 1 | -1/+0 | |
leftovers from a debug session. | |||||
2009-06-09 | fetch: added --link/-L option | Natanael Copa | 1 | -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-27 | build: create archive directly from git tree | Timo Teras | 2 | -4/+16 | |
So we don't get local modifications or extra files in the tarball. | |||||
2009-05-26 | fetch: fix fd leak | Natanael Copa | 1 | -1/+1 | |
we should always close the in-stream, not only on failure. | |||||
2009-05-25 | apk-tools-2.0_pre12apk-tools-2.0_pre12 | Timo Teras | 1 | -1/+1 | |
2009-05-25 | Revert "add: replace coffe-cup with starwars" | Timo Teras | 2 | -4/+48 | |
This reverts commit 0906a1c7de37ba54f29e9dbabbbd5ea069258cef. Conflicts: src/add.c | |||||
2009-05-24 | state: upgrade deps for given packages to add -u | Natanael Copa | 1 | -4/+4 | |
2009-05-21 | add: fix segfault when no params are given | Linux User | 1 | -1/+2 | |
2009-05-21 | add: replace coffe-cup with starwars | Natanael Copa | 1 | -48/+4 | |
saves space | |||||
2009-05-21 | add: coffe-cup | Natanael Copa | 1 | -0/+49 | |
2009-05-19 | add: fix segfault when no packages are given | Natanael Copa | 1 | -1/+1 | |
2009-05-19 | db: warn rather than fail with error if a repo index fails to load | Natanael Copa | 1 | -10/+5 | |
2009-05-18 | db: fix bug that made inverted new installs and upgrades | Natanael Copa | 1 | -1/+1 | |
We upgrade when we have an oldpkg. | |||||
2009-05-15 | add: create csum for virtuals. only add the virtual to world | Natanael Copa | 1 | -2/+14 | |
2009-05-15 | add: improve error reporting for virtual packages | Natanael Copa | 1 | -5/+7 | |
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>" | |||||
2009-05-14 | add: support for virtual meta packages | Natanael Copa | 3 | -36/+85 | |
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. | |||||
2009-05-14 | index: fix segfault bug when trying to deleting an unresolved dep | Natanael Copa | 1 | -1/+1 | |
2009-05-14 | fix uninitialized variable bug | Natanael Copa | 1 | -1/+1 | |
2009-05-12 | index: support for -d to delete packages from given index | Natanael Copa | 3 | -5/+63 | |
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. | |||||
2009-05-11 | fix misc compiler warnings about unintialized variables. | Natanael Copa | 2 | -3/+4 | |
The compiler is actually right about those. | |||||
2009-05-11 | add: delay state initialization til we have all pkgs in db | Natanael Copa | 1 | -5/+9 | |
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(). | |||||
2009-05-08 | make: test for .git existence before using git describe to set version | Natanael Copa | 1 | -1/+1 | |
2009-05-06 | apk-tools-2.0_pre11apk-tools-2.0_pre11 | Timo Teras | 1 | -1/+1 | |
2009-05-06 | change apk audit letters to correspond to old sfic/lbu letters | Natanael Copa | 1 | -2/+2 | |
A = "added" U = "updated" | |||||
2009-04-21 | info: let -e print which packages are installed | Natanael Copa | 1 | -14/+30 | |
2009-04-21 | info: do not read the repositories as this tool only query the statedb | Natanael Copa | 3 | -15/+18 | |
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. | |||||
2009-04-21 | search: do not read the state db as this tool only query repos | Natanael Copa | 1 | -1/+1 | |
This should be slightly faster and comsume less memory in theory | |||||
2009-04-21 | url: rename to .backup rather than unlink before wget | Natanael Copa | 1 | -1/+3 | |
2009-04-21 | db: do not assume root ends with '/' | Natanael Copa | 1 | -4/+4 | |
2009-04-21 | url: unlink file before trying to download | Natanael Copa | 1 | -0/+1 | |
2009-04-21 | db: improve error reporting | Natanael Copa | 1 | -6/+5 | |
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. | |||||
2009-04-21 | db: fix bug in apk_repository_update() | Natanael Copa | 1 | -1/+1 | |
2009-04-21 | Makefile: add -nopie to LDFLAGS | Natanael Copa | 1 | -0/+1 | |
2009-04-16 | db: cache index files, 'update' applet | Timo Teras | 6 | -15/+177 | |
Cache non-local index files always locally. Introduce 'update' applet to force refresh of cached index files. Fixes #19. | |||||
2009-04-16 | build: eliminate "Nothing to be done for `all'" message | Timo Teras | 1 | -1/+5 | |
2009-04-16 | build: improve dependency file generation | Timo Teras | 1 | -3/+2 | |
2009-04-16 | pkg: clean up writing of dependencies | Timo Teras | 8 | -99/+108 | |
2009-04-16 | pkg: apk_deps_del helper introduced | Timo Teras | 3 | -12/+23 | |
2009-04-16 | del: first remove all targets from world, and then calculate changes | Timo Teras | 1 | -4/+7 | |
2009-04-16 | pkg: fix apk v1.0 URL field import | Timo Teras | 1 | -1/+1 | |
2009-04-16 | db: fix addition of .apks not in any repository | Timo Teras | 1 | -1/+5 | |
2009-04-16 | build: rewrite make system to something slightly similar to kbuild | Timo Teras | 4 | -103/+303 | |
Tracks now probler header file dependencies and command line parameters used to build files. E.g. changing CFLAGS rebuild all C-files. And changing version rebuild now the files where it's used. | |||||
2009-04-15 | todo: update | Timo Teras | 1 | -8/+2 | |
2009-04-15 | state: print also the changeset affect on installed-size | Timo Teras | 1 | -2/+13 | |
2009-04-15 | state: fix installation of package broken by autoclean patch | Timo Teras | 1 | -2/+3 | |