mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
started work on actual index structure...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6864b9e23b
commit
168b7ac233
@ -54,10 +54,65 @@ structure
|
|||||||
remote refs
|
remote refs
|
||||||
clone settings
|
clone settings
|
||||||
index (metadata)
|
index (metadata)
|
||||||
|
item store (URLs)
|
||||||
|
local cache (previews)
|
||||||
version info
|
version info
|
||||||
data
|
|
||||||
|
|
||||||
|
|
||||||
|
index directory structure
|
||||||
|
.ig/
|
||||||
|
items/
|
||||||
|
| item store.
|
||||||
|
| contains refs to original objects.
|
||||||
|
<item-id>.json
|
||||||
|
| contains refs to original data (remote)
|
||||||
|
...
|
||||||
|
<pack-id>.pack
|
||||||
|
...
|
||||||
|
meta/ XXX
|
||||||
|
| metadata and tag store
|
||||||
|
| XXX this is not final...
|
||||||
|
<tag-name>.json
|
||||||
|
...
|
||||||
|
cache/
|
||||||
|
| cache configuration and listings
|
||||||
|
<cache-id>/
|
||||||
|
<cache-id>.json
|
||||||
|
| contains specific cache configuration
|
||||||
|
| - query
|
||||||
|
| - generator configuration
|
||||||
|
| - image resolution
|
||||||
|
| - ...
|
||||||
|
| - output dir (default: .ig/cache/<cache-id>)
|
||||||
|
...
|
||||||
|
<image-id>.jpg
|
||||||
|
...
|
||||||
|
<item-id>.json
|
||||||
|
| contains refs to specific <cache-id> 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-id>.pack
|
||||||
|
...
|
||||||
|
config/ XXX
|
||||||
|
history/ XXX
|
||||||
|
| this directory is dependant on what VCS is used.
|
||||||
|
scripts/ XXX
|
||||||
|
actions/
|
||||||
|
<action-name>
|
||||||
|
...
|
||||||
|
<script-name>
|
||||||
|
...
|
||||||
|
events/ XXX
|
||||||
|
<event-name>/
|
||||||
|
<priority>.<action-name>
|
||||||
|
...
|
||||||
|
...
|
||||||
|
<catalogue-name>/
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
requirements
|
requirements
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user