updated todo...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2011-11-10 20:04:34 +04:00
parent c835b8c7fb
commit 8dc42676e1
2 changed files with 21 additions and 19 deletions

View File

@ -1,12 +1,14 @@
[_] 5% roadmap [_] 7% roadmap
[_] 12% pre-production: staging and test [_] 14% pre-production: staging and test
[_] 50% test input [_] 57% test input
[X] clean - RAW [X] clean - RAW
[X] rated (old) - RAW, XMP [X] rated (old) - RAW, XMP
[X] rated (new) - RAW, XMP, preview (RAW) [X] rated (new) - RAW, XMP, preview (RAW)
[_] processed (old) - RAW, XMP, PSD, preview [_] processed (old) - RAW, XMP, PSD, preview
[_] processed (new) - RAW, XMP, PSD, preview, preview (RAW) [_] processed (new) - RAW, XMP, PSD, preview, preview (RAW)
[_] missing previews... [_] missing previews...
[X] 100% corner cases
[X] duplicate files in one path...
[_] 0% setup archive [_] 0% setup archive
[_] 0% setup backup [_] 0% setup backup
[_] 0% setup testing [_] 0% setup testing
@ -14,17 +16,20 @@
[_] create / build [_] create / build
[_] backup [_] backup
[_] test consistency [_] test consistency
[_] 11% stage I: basic workflow [_] 16% stage I: basic workflow
[_] 33% import [_] 50% import
[_] list files [X] list files
[X] generate previews [X] group files
[_] load metadata [_] build missing element list
[_] 0% generate tags | need a configurable element spec for this to be flexible...
[_] data [_] 50% populate list
[_] workflow [X] generate previews (missing)
[X] populate preview metadata [_] load metadata
[_] match files [_] 0% generate tags
| match and group coresponding RAW, PSD, preview and preview (RAW) [_] data
[_] workflow
[X] populate preview metadata
[_] put it all together
[_] 0% search / select [_] 0% search / select
[_] 0% output: [_] 0% output:
[_] list of paths [_] list of paths

View File

@ -1,7 +1,7 @@
#======================================================================= #=======================================================================
__version__ = '''0.0.01''' __version__ = '''0.0.01'''
__sub_version__ = '''20111110195217''' __sub_version__ = '''20111110195353'''
__copyright__ = '''(c) Alex A. Naanou 2011''' __copyright__ = '''(c) Alex A. Naanou 2011'''
@ -86,14 +86,13 @@ def list_files(root, sub_trees=SUBTREE_CLASSES, type=ITEM):
# XXX need to split duplicate named raw files and corresponding # XXX need to split duplicate named raw files and corresponding
# previews... # previews...
# XXX we are loosing the real extension here...
def index_by_name(file_list, types=TYPES.items()): def index_by_name(file_list, types=TYPES.items()):
''' '''
format: format:
{ {
<name>: { <name>: {
<type>: [ <type>: [
<path>, (<path>, <orig-ext>),
... ...
], ],
... ...
@ -112,9 +111,7 @@ def index_by_name(file_list, types=TYPES.items()):
# create an extension... # create an extension...
res[name][ext] = [] res[name][ext] = []
# general case... # general case...
## res[name][ext] += [(path, name, ext)]
res[name][ext] += [(path, orig_ext)] res[name][ext] += [(path, orig_ext)]
## res[name][ext] += [path]
return res return res