- 14 Apr, 2009 5 commits
-
-
Timo Teräs authored
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.
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
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.
-
Timo Teräs authored
-
- 13 Apr, 2009 3 commits
-
-
Natanael Copa authored
fixes issue with apk version -t asdf asdf
-
Natanael Copa authored
This is so we can handle arpwatch-2.1a15 This makes us not 100% compatible with Gentoo
-
Natanael Copa authored
Otherwise we only allow letters after first digit, i.e 2a, 2b but not 2.2a, 2.2b etc.
-
- 03 Apr, 2009 4 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
- 20 Mar, 2009 1 commit
-
-
Timo Teräs authored
-
- 17 Mar, 2009 2 commits
-
-
Timo Teräs authored
speeds up writing of package / file database.
-
Timo Teräs authored
So we don't get artificial limits on the amount of dependencies (fixes #8).
-
- 07 Mar, 2009 1 commit
-
-
Cameron Banta authored
-
- 06 Mar, 2009 1 commit
-
-
Cameron Banta authored
-
- 04 Mar, 2009 6 commits
-
-
Timo Teräs authored
-
Natanael Copa authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
So you will not get .apk-new files of the new configuration files.
-
- 27 Feb, 2009 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
- 17 Feb, 2009 1 commit
-
-
Natanael Copa authored
-
- 12 Feb, 2009 1 commit
-
-
Natanael Copa authored
-
- 08 Feb, 2009 3 commits
-
-
Natanael Copa authored
we let bb use /bin and /sbin, all packages overriding busybox must install the bins in /usr/bin and /usr/sbin
-
Natanael Copa authored
- empty lines comes after not before - separate pkgname with : when using -v option
-
Natanael Copa authored
-
- 23 Jan, 2009 1 commit
-
-
Natanael Copa authored
-
- 22 Jan, 2009 3 commits
-
-
Timo Teräs authored
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.
-
Natanael Copa authored
-
Natanael Copa authored
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
-
- 21 Jan, 2009 3 commits
-
-
Natanael Copa authored
This reverts commit 600f9e7e. My bad. This was correct.
-
Natanael Copa authored
This reverts commit 46430ceb. The problem this was suppoed to fix was fixed by letting apk_db_open() return with same working dir.
-
Natanael Copa authored
-
- 20 Jan, 2009 3 commits
-
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-