summaryrefslogtreecommitdiff
path: root/src/blob.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-29solver, db: implement repository pinningTimo Teräs1-4/+8
Improves /etc/apk/repositories format so you can say: http://nl.alpinelinux.org/alpine/v2.3/main @edge http://nl.alpinelinux.org/alpine/edge/main @testing http://nl.alpinelinux.org/alpine/edge/testing After which you can pin dependencies to these tags using: apk add stableapp newapp@edge bleedingapp@testing Apk will now by default only use the untagged repositories, but adding a tag to specific dependency: 1. will prefer that tag for the name 2. allowing pulling in dependencies from that tag (though, it prefers untagged packages to satisfy deps if possible) fixes #575
2011-09-13all: update copyright year statementTimo Teräs1-1/+1
2010-12-14various: use 'atoms' for certain package field and misc fixesTimo Teräs1-0/+67
- implement a hash table for commonly shared fields such as license, version and architecture - use macroes to print blobs or pkgname-pkgver strings - fix some old cruft
2010-11-23blob: fix segfault on x86_64 with --virtualNatanael Copa1-1/+1
blob.ptr might be non-null on empty field in /var/lib/apk/installed so we compare with blob length. This fixes a segfault on x86_64.
2010-06-01state: improve error messages from dependency failuresTimo Teräs1-0/+8
Print more information why installation changeset calculation failed. Fixes #187.
2009-07-15blob: base64 encoding and decodingTimo Teras1-17/+127
and prefer sha1 checksums to be stored in base64 encoded format.
2009-07-14db: live with sha1 and md5Timo Teras1-0/+49
this also convers scripts file to a tar archive.
2009-07-14blob: add some likelyness to help compiler optimizationsTimo Teras1-12/+12
2009-07-14blob: some helpers to replace snprintfTimo Teras1-36/+91
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-14hash: allow caching of hash valueTimo Teras1-2/+7
2009-07-14bstream: make tokenizable and load index using bstreamTimo Teras1-17/+31
some fixes on index reading code too.
2009-07-08csum: use openssl insteadTimo Teras1-9/+0
instead of having static md5 implemenation, use the openssl library for digest functions.
2009-06-28blob: function to checksum a blobTimo Teras1-1/+10
And use it in couple of places. Some whitespace fixes too.
2009-04-14blob: add strspn helpersTimo Teras1-0/+28
2009-01-14db: keep only filename in file entries, hash by both directory and fileTimo Teras1-1/+1
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-0/+20
2008-11-06db: parse new style .PKGINFOTimo Teras1-1/+18
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-0/+3
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+125
breakage and major changes.