summaryrefslogtreecommitdiff
path: root/src/index.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-23index: more informative error messageTimo Teras1-4/+4
when failed to load an existing index.
2009-07-22various: more informative error messagesTimo Teras1-1/+1
2009-07-21index: read also new style index filesTimo Teras1-8/+3
2009-07-20db: signed index loading (ref #46)Timo Teras1-1/+1
prefer index in the new format as signed .tar.gz.
2009-07-17index: fix output file permissions, verify signed index (ref #46)Timo Teras1-2/+2
2009-07-17verify: new applet (ref #46)Timo Teras1-1/+4
an utility to check package signature and integrity.
2009-07-16various: new style index generationTimo Teras1-3/+48
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-16gzip: always autoclose the inner streamTimo Teras1-1/+1
2009-07-15index: reuse existing index (fixes #25)Timo Teras1-23/+69
replace the old 'delete' option, with 'index'. the idea is that one can provide existing index files to take cached meta-data of the package from (assumes package has not been modified if index is newer, and package size has not changed). this way one always gives the list of .apk files to include in the new index, and the old index is used only as "cache".
2009-07-14bstream: make tokenizable and load index using bstreamTimo Teras1-5/+5
some fixes on index reading code too.
2009-06-25help: auto construct helpTimo Teras1-4/+7
And add some more verbosity to the help message.
2009-06-19improve --help outputNatanael Copa1-1/+1
apk --help will list the generic options only and give a list of commands To get the details for a spefic command, 'apk command --help' should be used.
2009-05-14index: fix segfault bug when trying to deleting an unresolved depNatanael Copa1-1/+1
2009-05-12index: support for -d to delete packages from given indexNatanael Copa1-4/+61
The syntax is: apk index -d /path/to/APK_INDEX.gz pkg... It does not seem like its possible to remove packages in the db so we trick apk_db_index_write() by setting the repo to on-zero. It's still not perfect since it does not recalculate the dependencies.
2009-01-17db: database locking and creation to part of opening itTimo Teras1-1/+1
Add flags field to db open call. Also make error reporting quite a bit more detailed.
2009-01-16index: write out only packages specified in command lineTimo Teras1-6/+4
Ignore /etc/apk/repositories, so additional repositories that depend on other repositories need to have explicit --repository reference on command line when generating the index (to avoid warnings).
2009-01-13apk: per applet optionsTimo Teras1-1/+1
2008-11-28io: apk_ostream stuffTimo Teras1-1/+6
2008-04-22Preserve uid and gid. Quiet flag to print dots on progress.Timo Teras1-2/+3
2008-04-21Argument parsing. Some other stuff too.Timo Teras1-2/+2
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+70
breakage and major changes.