sixteencolors/sixteencolors — Issue #98: Fundamentally change object structure
Author: lordscarlet
Created: 2012-01-27 17:10:20+00:00
State: open

From informal conversation with @bricas:
as for archives-in-archives, this is trickier.
a "pack" is:
* archive
+- file1
+- dir1
+- file2
etc
so it's easy to represent that as Pack---(has many)--->File
an archive in the structure is "similar" to a dir
except that with our schema, we've flattened that all down
so, one possible way to handle it would be:
File---(might have)--->Pack Info
File/parent---(belongs to)--->File
(parent being a column)
so, a pack just becomes a file, but at the top of a tree structure
thus, we can represent an archive-in-archive as a branch off of the tree.