From 168b7ac2335b6c102e94d9abd754ea51a075be35 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 31 Dec 2011 02:17:05 +0400 Subject: [PATCH] started work on actual index structure... Signed-off-by: Alex A. Naanou --- ImageGrid.otl | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/ImageGrid.otl b/ImageGrid.otl index fa522e10..cdcbf500 100755 --- a/ImageGrid.otl +++ b/ImageGrid.otl @@ -54,10 +54,65 @@ structure remote refs clone settings index (metadata) + item store (URLs) + local cache (previews) version info - data +index directory structure + .ig/ + items/ + | item store. + | contains refs to original objects. + .json + | contains refs to original data (remote) + ... + .pack + ... + meta/ XXX + | metadata and tag store + | XXX this is not final... + .json + ... + cache/ + | cache configuration and listings + / + .json + | contains specific cache configuration + | - query + | - generator configuration + | - image resolution + | - ... + | - output dir (default: .ig/cache/) + ... + .jpg + ... + .json + | contains refs to specific and location. + | NOTE: a single item may appear in several caches, hence a + | single place to keep the item-specific refs and multiple + | cache dirs. + ... + .pack + ... + config/ XXX + history/ XXX + | this directory is dependant on what VCS is used. + scripts/ XXX + actions/ + + ... + + ... + events/ XXX + / + . + ... + ... + / + ... + + requirements