apk index to reuse existing index and only re-index things that changed
It can take some time to generate the index if there are many packages.
Would be nice if apk index (with —update option?) could find files that have different size, are newer, or missing from index and only re-index those.
(from redmine: issue id 25, created on 2009-04-09, closed on 2009-08-04)
- Changesets:
- Revision 623bc9c5 by Timo Teräs on 2009-07-15T13:47:43Z:
index: reuse existing index (fixes #25)
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".