Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-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-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). | |||||
2009-03-07 | Created search applet | Cameron Banta | 3 | -29/+150 | |
2009-03-06 | Added -o option to apk info to list repository packages | Cameron Banta | 1 | -1/+29 | |
2009-03-04 | db: unlink apk-new if it is identical to existing config | Natanael Copa | 1 | -0/+3 | |
2009-03-04 | db: apk-new should be created if the existing file is modified | Timo Teras | 1 | -1/+1 | |
2009-03-04 | db: fix overwrite warning | Timo Teras | 1 | -2/+1 | |
2009-03-04 | apk: --force to overwrite files | Timo Teras | 3 | -6/+15 | |
2009-03-04 | apk: --clean-protected option | Timo Teras | 3 | -22/+22 | |
So you will not get .apk-new files of the new configuration files. | |||||
2009-02-27 | pkg: show warning if deprecated .INSTALL is present in package | Timo Teras | 1 | -1/+14 | |
2009-02-27 | db: new apk to have separate install scripts for each action | Timo Teras | 1 | -2/+6 | |
2009-02-17 | db: allow more than one --repository arg | Natanael Copa | 3 | -6/+29 | |
2009-02-08 | db: do not allow overwrite busybox links | Natanael Copa | 1 | -2/+1 | |
we let bb use /bin and /sbin, all packages overriding busybox must install the bins in /usr/bin and /usr/sbin | |||||
2009-02-08 | info: list contents follw same style as list depends | Natanael Copa | 1 | -6/+7 | |
- empty lines comes after not before - separate pkgname with : when using -v option | |||||
2009-02-08 | info: implement -R/--depends to show dependencies | Natanael Copa | 1 | -1/+42 | |
2009-01-22 | db: fix purging of packages from database | Timo Teras | 1 | -4/+3 | |
apk_hash_delete() actually deletes the file entry, so unlinking from other lists need to happen before that. Also free the diri instead of leaking it. | |||||
2009-01-22 | db: print files when (un)installing if --verbose | Natanael Copa | 1 | -0/+8 | |
2009-01-22 | db: always create directories during install | Natanael Copa | 1 | -3/+1 | |
We dont care if a directory have references or not, we care if directory is relly there. Only the creator of the direcotry will set the permissions. This fixes the situation where you install a package owning a dir then you remove this dir manually and try install a second package also owning the dir. For example: apk add e2fsprogs-dev rm -rf /usr/lib/pkgconfig apk add zlib-dev | |||||
2009-01-21 | Revert "Revert "pkg: use absolute filenames for packages"" | Natanael Copa | 1 | -2/+7 | |
This reverts commit 600f9e7e031c9e7244e078f35ec6c8dce1011149. My bad. This was correct. | |||||
2009-01-21 | Revert "pkg: use absolute filenames for packages" | Natanael Copa | 1 | -7/+2 | |
This reverts commit 46430ceb5607ac9e395432648c6a8c1a7cbceaf1. The problem this was suppoed to fix was fixed by letting apk_db_open() return with same working dir. | |||||
2009-01-21 | db: let apk_db_open() leave working dir as it was | Natanael Copa | 1 | -0/+2 | |
2009-01-20 | info: don't print package name unless its installed | Natanael Copa | 1 | -1/+2 | |
2009-01-20 | info: list contents with -L | Natanael Copa | 1 | -0/+43 | |
2009-01-20 | pkg: use absolute filenames for packages | Timo Teras | 1 | -2/+7 | |
2009-01-19 | db: try creating db if locking fails | Timo Teras | 1 | -0/+10 | |
Otherwise creating rootfs from scratch with --initdb cannot be locked due to the lock file path missing. | |||||
2009-01-18 | db: create .apk-new even if file not in db | Natanael Copa | 1 | -5/+8 | |
Protect files in protected dirs even if the file is not previously registered in the database. We do so by always extracting to a .apk-new file name, compare the checksums afterwards and rename if file was identical. | |||||
2009-01-17 | archive: utimes modifies file, not link so don't use it for symlinks | Timo Teras | 1 | -7/+9 | |
2009-01-17 | archive: preserve mtime on extractionapk-tools-2.0_pre4 | Timo Teras | 1 | -8/+27 | |
2009-01-17 | db: database locking and creation to part of opening it | Timo Teras | 8 | -79/+111 | |
Add flags field to db open call. Also make error reporting quite a bit more detailed. | |||||
2009-01-17 | apk: added option --version/-V | Natanael Copa | 1 | -14/+25 | |
Both variants should work: apk --version apk <applet> --version | |||||
2009-01-17 | archive: set suid bit after chown if needed | Natanael Copa | 1 | -0/+6 | |
chown will reset the suid bit so we need to set it again. | |||||
2009-01-17 | del: proper ordering of file db entry deletion | Timo Teras | 2 | -6/+3 | |
2009-01-16 | db: apk_db_read_state() needs to be before apk_db_add_repository() | Timo Teras | 1 | -9/+13 | |
Otherwise installed db load fails due to internal reasons. This would cause a lot of other funny stuff happen. | |||||
2009-01-16 | db: make fetching from other than first repository work | Timo Teras | 1 | -2/+13 | |
2009-01-16 | index: write out only packages specified in command line | Timo Teras | 3 | -20/+33 | |
Ignore /etc/apk/repositories, so additional repositories that depend on other repositories need to have explicit --repository reference on command line when generating the index (to avoid warnings). | |||||
2009-01-16 | db: fix relative --root to work after apk_db_create call | Timo Teras | 1 | -0/+1 | |
This was broke on --initdb addition to add applet since apk_db_create changes the working directory. | |||||
2009-01-16 | add: --upgrade|-u to control if upgrading is preferred or not | Timo Teras | 8 | -21/+17 | |
2009-01-16 | Makefile: added 'make static' target to build apk.static | Natanael Copa | 1 | -0/+3 | |