Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | state: rework changeset calculation algorithm | Timo Teras | 2009-04-14 | 1 | -7/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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/+23 |
| | | | | | So we don't get artificial limits on the amount of dependencies (fixes #8). | ||||
* | pkg: show warning if deprecated .INSTALL is present in package | Timo Teras | 2009-02-27 | 1 | -1/+14 |
| | |||||
* | Revert "Revert "pkg: use absolute filenames for packages"" | Natanael Copa | 2009-01-21 | 1 | -2/+7 |
| | | | | | | This reverts commit 600f9e7e031c9e7244e078f35ec6c8dce1011149. My bad. This was correct. | ||||
* | Revert "pkg: use absolute filenames for packages" | Natanael Copa | 2009-01-21 | 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. | ||||
* | pkg: use absolute filenames for packages | Timo Teras | 2009-01-20 | 1 | -2/+7 |
| | |||||
* | add: --upgrade|-u to control if upgrading is preferred or not | Timo Teras | 2009-01-16 | 1 | -3/+0 |
| | |||||
* | info: implement who owns packages query (apk_info -W) | Timo Teras | 2009-01-13 | 1 | -5/+7 |
| | | | | | In quiet mode e.g. "apk info -q -W <file list>" a list of dependencies suitable for .PKGINFO is output in one line. | ||||
* | pkg: use generic blob functions to parse dependencies | Timo Teras | 2009-01-13 | 1 | -38/+36 |
| | |||||
* | db, package: new dependency format, second try | Natanael Copa | 2009-01-11 | 1 | -4/+4 |
| | | | | | | dependencies are separated with single space rather than ', '. makes db file slightly easier to parse from a shell script which might be handy. | ||||
* | Revert "db: change format for dependencies" | Natanael Copa | 2009-01-09 | 1 | -3/+3 |
| | | | | This reverts commit b852d670a985c4da11b012707acaa63b8abdfadc. | ||||
* | db: change format for dependencies | Natanael Copa | 2009-01-08 | 1 | -3/+3 |
| | | | | | | Each dep is separated with a single space. I.E: D:dep1 dep2 dep3 | ||||
* | src/package.c: fix compiler warning on 64 bit hosts | Natanael Copa | 2009-01-08 | 1 | -2/+2 |
| | |||||
* | various: make fancy progress bar and update todo | Timo Teras | 2009-01-07 | 1 | -2/+1 |
| | |||||
* | db, pkg: fix rest of memory leaks | Timo Teras | 2009-01-06 | 1 | -0/+2 |
| | |||||
* | io: apk_ostream stuff | Timo Teras | 2008-11-28 | 1 | -16/+4 |
| | |||||
* | 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 | -8/+30 |
| | | | | | 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 | -20/+20 |
| | |||||
* | db: checksum installed files, protect config files | Timo Teras | 2008-11-14 | 1 | -1/+1 |
| | | | | | | | Checksum of installed is computed on the fly when extracting them and it'll be saved to fdb. When installing config files those are diverted with suffix .apk-new if earlier version of same file with local changes exist. | ||||
* | build: remove pthreads references | Timo Teras | 2008-11-12 | 1 | -1/+0 |
| | |||||
* | pkg: speed up indexing of version 2 .apks | Timo Teras | 2008-11-07 | 1 | -3/+5 |
| | |||||
* | use zlib internally to decompress | Timo Teras | 2008-11-07 | 1 | -13/+14 |
| | |||||
* | db: fix installation of apk v1 packages | Timo Teras | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | pkg: support for new scripts | Timo Teras | 2008-11-07 | 1 | -51/+75 |
| | |||||
* | db: parse new style .PKGINFO | Timo Teras | 2008-11-06 | 1 | -52/+102 |
| | |||||
* | give more helpful error messages | Natanael Copa | 2008-10-26 | 1 | -3/+6 |
| | |||||
* | Overwriting of bb files, apk_create (from old apk-tools), chdir changes, | Timo Teras | 2008-04-22 | 1 | -6/+10 |
| | | | | | other stuff. | ||||
* | Argument parsing. Some other stuff too. | Timo Teras | 2008-04-21 | 1 | -20/+0 |
| | |||||
* | Initial commit of some stuff written so far. Still in state of flux. Expect | Timo Teras | 2008-04-17 | 1 | -0/+483 |
breakage and major changes. |