Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pkg: clean up writing of dependencies | Timo Teras | 2009-04-16 | 1 | -3/+1 |
| | |||||
* | pkg: apk_deps_del helper introduced | Timo Teras | 2009-04-16 | 1 | -0/+2 |
| | |||||
* | state: rework changeset calculation algorithm | Timo Teras | 2009-04-14 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | pkg: write dependencies directly file instead of buffer | Timo Teras | 2009-03-17 | 1 | -0/+1 |
| | | | | | So we don't get artificial limits on the amount of dependencies (fixes #8). | ||||
* | add: --upgrade|-u to control if upgrading is preferred or not | Timo Teras | 2009-01-16 | 1 | -5/+2 |
| | |||||
* | db: restructure in-memory organization | Timo Teras | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | io: apk_ostream stuff | Timo Teras | 2008-11-28 | 1 | -1/+1 |
| | |||||
* | add: add support to install packages not in a repository | Timo Teras | 2008-11-28 | 1 | -0/+1 |
| | |||||
* | db: rework 'files' to 'installed' | Timo Teras | 2008-11-28 | 1 | -0/+4 |
| | | | | | Make the db of installed packages more similar to index file and reuse the code. Also rename the database file. | ||||
* | hash, db: use apk_blob_t and list_* | Timo Teras | 2008-11-27 | 1 | -1/+1 |
| | |||||
* | use zlib internally to decompress | Timo Teras | 2008-11-07 | 1 | -1/+2 |
| | |||||
* | pkg: support for new scripts | Timo Teras | 2008-11-07 | 1 | -6/+8 |
| | |||||
* | Overwriting of bb files, apk_create (from old apk-tools), chdir changes, | Timo Teras | 2008-04-22 | 1 | -1/+1 |
| | | | | | other stuff. | ||||
* | Initial commit of some stuff written so far. Still in state of flux. Expect | Timo Teras | 2008-04-17 | 1 | -0/+84 |
breakage and major changes. |