summaryrefslogtreecommitdiffstats
path: root/src/package.c
Commit message (Collapse)AuthorAgeFilesLines
...
* pkg: apk_deps_del helper introducedTimo Teras2009-04-161-0/+19
|
* pkg: fix apk v1.0 URL field importTimo Teras2009-04-161-1/+1
|
* state: rework changeset calculation algorithmTimo Teras2009-04-141-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 bufferTimo Teras2009-03-171-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 packageTimo Teras2009-02-271-1/+14
|
* Revert "Revert "pkg: use absolute filenames for packages""Natanael Copa2009-01-211-2/+7
| | | | | | This reverts commit 600f9e7e031c9e7244e078f35ec6c8dce1011149. My bad. This was correct.
* Revert "pkg: use absolute filenames for packages"Natanael Copa2009-01-211-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 packagesTimo Teras2009-01-201-2/+7
|
* add: --upgrade|-u to control if upgrading is preferred or notTimo Teras2009-01-161-3/+0
|
* info: implement who owns packages query (apk_info -W)Timo Teras2009-01-131-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 dependenciesTimo Teras2009-01-131-38/+36
|
* db, package: new dependency format, second tryNatanael Copa2009-01-111-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 Copa2009-01-091-3/+3
| | | | This reverts commit b852d670a985c4da11b012707acaa63b8abdfadc.
* db: change format for dependenciesNatanael Copa2009-01-081-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 hostsNatanael Copa2009-01-081-2/+2
|
* various: make fancy progress bar and update todoTimo Teras2009-01-071-2/+1
|
* db, pkg: fix rest of memory leaksTimo Teras2009-01-061-0/+2
|
* io: apk_ostream stuffTimo Teras2008-11-281-16/+4
|
* add: add support to install packages not in a repositoryTimo Teras2008-11-281-0/+1
|
* db: rework 'files' to 'installed'Timo Teras2008-11-281-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 Teras2008-11-271-20/+20
|
* db: checksum installed files, protect config filesTimo Teras2008-11-141-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 referencesTimo Teras2008-11-121-1/+0
|
* pkg: speed up indexing of version 2 .apksTimo Teras2008-11-071-3/+5
|
* use zlib internally to decompressTimo Teras2008-11-071-13/+14
|
* db: fix installation of apk v1 packagesTimo Teras2008-11-071-1/+1
|
* pkg: support for new scriptsTimo Teras2008-11-071-51/+75
|
* db: parse new style .PKGINFOTimo Teras2008-11-061-52/+102
|
* give more helpful error messagesNatanael Copa2008-10-261-3/+6
|
* Overwriting of bb files, apk_create (from old apk-tools), chdir changes,Timo Teras2008-04-221-6/+10
| | | | | other stuff.
* Argument parsing. Some other stuff too.Timo Teras2008-04-211-20/+0
|
* Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras2008-04-171-0/+483
breakage and major changes.