Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-22 | various: more informative error messages | Timo Teras | 1 | -13/+16 | |
2009-07-22 | various: misc fixes | Timo Teras | 1 | -59/+54 | |
- error codes for verification failure types - fix some fdb corruption on file migration - combine some dependency parsing code - fix versioned dependencies | |||||
2009-07-22 | various: installation fixes | Timo Teras | 1 | -5/+0 | |
- extract everything as .apk-new and overwrite only after data has been checksummed - url construction fixes (to work with simple http servers) - end of gunzip stream fixed - remove oneshot digesting flag for now as it's usage was broken | |||||
2009-07-21 | various: fix installation of new style apks | Timo Teras | 1 | -1/+2 | |
2009-07-21 | pkg: fix indexing of multi-part apks | Timo Teras | 1 | -2/+2 | |
2009-07-21 | db: fixes to package checksumming while installing it | Timo Teras | 1 | -14/+23 | |
2009-07-20 | db: signed index loading (ref #46) | Timo Teras | 1 | -22/+88 | |
prefer index in the new format as signed .tar.gz. | |||||
2009-07-20 | pkg: filenames with '/' cannot be control data | Timo Teras | 1 | -1/+1 | |
2009-07-17 | digest: use oneshot context flag where approriate | Timo Teras | 1 | -17/+26 | |
speeds up digest calculation on some cases. | |||||
2009-07-17 | index: fix output file permissions, verify signed index (ref #46) | Timo Teras | 1 | -7/+18 | |
2009-07-17 | pkg: remove debug prints | Timo Teras | 1 | -1/+0 | |
2009-07-17 | pkg: fix index generation | Timo Teras | 1 | -4/+12 | |
that got broke during verify implementation. | |||||
2009-07-17 | verify: new applet (ref #46) | Timo Teras | 1 | -73/+172 | |
an utility to check package signature and integrity. | |||||
2009-07-16 | pkg: .PKGINFO field for data checksum is 'datahash' | Timo Teras | 1 | -1/+1 | |
in future we might add datahashalg to specify the algorithm used. | |||||
2009-07-16 | various: new style index generation | Timo Teras | 1 | -22/+71 | |
change the index generation to do old index, or the new style index where package identity is sha1 of control block and it's contained within an .tar.gz to allow signing in future. | |||||
2009-07-16 | gzip: always autoclose the inner stream | Timo Teras | 1 | -2/+6 | |
2009-07-16 | pkg: remove support for the deprecated .INSTALL script | Timo Teras | 1 | -14/+1 | |
2009-07-15 | cache: make cache cleaning work again properly | Timo Teras | 1 | -0/+3 | |
2009-07-15 | pkg: fix package scanner to read whole archive | Timo Teras | 1 | -2/+2 | |
otherwise we don't get chechksum anymore after the changes to support partial gzip checksumming. | |||||
2009-07-14 | db: live with sha1 and md5 | Timo Teras | 1 | -9/+10 | |
this also convers scripts file to a tar archive. | |||||
2009-07-14 | blob: some helpers to replace snprintf | Timo Teras | 1 | -28/+28 | |
snprintf is dog slow. make the blob stuff have some helper functions so we can use them in code paths that are executed often. | |||||
2009-07-14 | bstream: make tokenizable and load index using bstream | Timo Teras | 1 | -3/+3 | |
some fixes on index reading code too. | |||||
2009-07-13 | io: move csumming away from bstream to gunzip | Timo Teras | 1 | -5/+23 | |
in future we want to checksum on gzip boundary basis, not the full file. | |||||
2009-06-22 | package: removed debug code | Natanael Copa | 1 | -1/+0 | |
2009-06-20 | ver: only compare the given packages, show version | Natanael Copa | 1 | -0/+5 | |
make apk_version_compare() take strings rather than blobs add apk_pkgversion_compare(), a wrapper that takes packages | |||||
2009-06-16 | add: support for forced versions | Natanael Copa | 1 | -0/+33 | |
Support version numbers specified with packages. For example: apk add 'busybox<1.14' apk add 'squid=>3.0' | |||||
2009-04-16 | pkg: clean up writing of dependencies | Timo Teras | 1 | -82/+60 | |
2009-04-16 | pkg: apk_deps_del helper introduced | Timo Teras | 1 | -0/+19 | |
2009-04-16 | pkg: fix apk v1.0 URL field import | Timo Teras | 1 | -1/+1 | |
2009-04-14 | state: rework changeset calculation algorithm | Timo Teras | 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. | |||||
2009-03-17 | pkg: write dependencies directly file instead of buffer | Timo Teras | 1 | -0/+23 | |
So we don't get artificial limits on the amount of dependencies (fixes #8). | |||||
2009-02-27 | pkg: show warning if deprecated .INSTALL is present in package | Timo Teras | 1 | -1/+14 | |
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-20 | pkg: use absolute filenames for packages | Timo Teras | 1 | -2/+7 | |
2009-01-16 | add: --upgrade|-u to control if upgrading is preferred or not | Timo Teras | 1 | -3/+0 | |
2009-01-13 | info: implement who owns packages query (apk_info -W) | Timo Teras | 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. | |||||
2009-01-13 | pkg: use generic blob functions to parse dependencies | Timo Teras | 1 | -38/+36 | |
2009-01-11 | db, package: new dependency format, second try | Natanael Copa | 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. | |||||
2009-01-09 | Revert "db: change format for dependencies" | Natanael Copa | 1 | -3/+3 | |
This reverts commit b852d670a985c4da11b012707acaa63b8abdfadc. | |||||
2009-01-08 | db: change format for dependencies | Natanael Copa | 1 | -3/+3 | |
Each dep is separated with a single space. I.E: D:dep1 dep2 dep3 | |||||
2009-01-08 | src/package.c: fix compiler warning on 64 bit hosts | Natanael Copa | 1 | -2/+2 | |
2009-01-07 | various: make fancy progress bar and update todo | Timo Teras | 1 | -2/+1 | |
2009-01-06 | db, pkg: fix rest of memory leaks | Timo Teras | 1 | -0/+2 | |
2008-11-28 | io: apk_ostream stuff | Timo Teras | 1 | -16/+4 | |
2008-11-28 | add: add support to install packages not in a repository | Timo Teras | 1 | -0/+1 | |
2008-11-28 | db: rework 'files' to 'installed' | Timo Teras | 1 | -8/+30 | |
Make the db of installed packages more similar to index file and reuse the code. Also rename the database file. | |||||
2008-11-27 | hash, db: use apk_blob_t and list_* | Timo Teras | 1 | -20/+20 | |
2008-11-14 | db: checksum installed files, protect config files | Timo Teras | 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. | |||||
2008-11-12 | build: remove pthreads references | Timo Teras | 1 | -1/+0 | |