Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2009-04-15 | state: auto clean packages | Timo Teras | 1 | -45/+164 | |
Automatically remove packages that are no longer required by a top level dependency. | |||||
2009-04-15 | state: make package deletion safer | Timo Teras | 2 | -5/+13 | |
Refuse to delete explicitly specified top-level packages unless --force is specified. | |||||
2009-04-15 | fetch: close downloaded file. unlink on failure | Natanael Copa | 1 | -0/+3 | |
2009-04-15 | state: do not derefence unallocated memory | Timo Teras | 2 | -1/+8 | |
Enforce name_id to be within apk_state allocated area. New apk_name:s can be created later for e.g. unknown packages requested at command line. | |||||
2009-04-15 | state: more uninitialized variables initialized | Timo Teras | 1 | -1/+1 | |
2009-04-15 | state: style fix, init variable at declaration | Natanael Copa | 1 | -2/+2 | |
2009-04-15 | state: fix bug with uninitialized variable 'latest' | Natanael Copa | 1 | -1/+1 | |
2009-04-15 | fetch: new applet to download .apk files | Timo Teras | 9 | -26/+214 | |
Fixes #24. | |||||
2009-04-14 | state: rework changeset calculation algorithm | Timo Teras | 13 | -236/+581 | |
Calculate changesets directly by stabilizating the package graph instead of recalculating the whole graph and then diffing (similar approach as seen in 'smart' package manager). The algorithm is not complete: defferred search space forking is missing. So you don't always get a solution on complex graphs. Benefits: - usually the search state tree is smaller (less memory used) - speed relational to changeset size, not database size (usually faster) - touch only packages related to users request (can work on partitially broken state; upgrades only necessary packages, fixes #7) Also implemented: - command prompt to confirm operation if packages are deleted or downgraded - requesting deletion of package suggests removal of all packages depending on the package being removed (you'll get list of packages that also get removed if you want package X removed) - option --simulate to see what would have been done (mainly for testing) - an untested implementation of versioned dependencies and conflicts A lot has changed, so expect new bugs too. | |||||
2009-04-14 | blob: add strspn helpers | Timo Teras | 2 | -1/+37 | |
2009-04-14 | info: option '-r' to print "required by" info | Timo Teras | 1 | -43/+71 | |
2009-04-14 | db: track reverse dependencies | Timo Teras | 2 | -0/+24 | |
This will be used later by the commit change calculator (for improved changeset calculation, ref #7). Will be also used by "apk info" to show reverse dependencies or "required by" information. | |||||
2009-04-14 | build: use version from git describe if available | Timo Teras | 1 | -3/+7 | |
2009-04-13 | version: avoid end up in endless loop if we compare 2 equal invalid versions | Natanael Copa | 1 | -1/+1 | |
fixes issue with apk version -t asdf asdf | |||||
2009-04-13 | version: allow more digits come after letter | Natanael Copa | 1 | -1/+4 | |
This is so we can handle arpwatch-2.1a15 This makes us not 100% compatible with Gentoo | |||||
2009-04-13 | version: allow token letter after digit_or_zero | Natanael Copa | 1 | -1/+2 | |
Otherwise we only allow letters after first digit, i.e 2a, 2b but not 2.2a, 2.2b etc. | |||||
2009-04-03 | version: allow only TOKEN_LETTER after a digit | Natanael Copa | 1 | -1/+1 | |
2009-04-03 | ver: added --check/-c option to vaildate given version string | Natanael Copa | 1 | -0/+17 | |
2009-04-03 | ver: test given version strings with -t or --test | Natanael Copa | 1 | -7/+41 | |
2009-04-03 | search: use fnmatch so we have support for wildcards | Natanael Copa | 1 | -1/+2 | |
2009-03-20 | 2.0_pre10apk-tools-2.0_pre10 | Timo Teras | 1 | -1/+1 | |
2009-03-17 | io: implement write cache | Timo Teras | 1 | -4/+35 | |
speeds up writing of package / file database. | |||||
2009-03-17 | pkg: write dependencies directly file instead of buffer | Timo Teras | 3 | -6/+26 | |
So we don't get artificial limits on the amount of dependencies (fixes #8). |