-
Notifications
You must be signed in to change notification settings - Fork 3
/
TODO
71 lines (59 loc) · 1.97 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
== TODO
cherry:~...Staging/spherechat >> sink ../../Distribution .
00 [+] .gitignore
01 [+] backup
02 [=][>] demo.conf
03 [=][>] demo.html
04 [=] ! spherechat.html
05 [=][>] spherechat.zip
06 [+] start-server
07 [+] stop-server
08 [+] backups/.keep
09 [=][>] lib/js/spherechat-bundle.js
10 [=][>] lib/js/spherechat.js
cherry:~...Staging/spherechat >> sink . ../../Distribution
00 [=] ! .gitignore
01 [=] ! backup
02 [=][<] demo.conf
03 [=][<] demo.html
04 [+] spherechat.html
05 [=][<] spherechat.zip
06 [=] ! start-server
07 [=] ! stop-server
08 [=] ! backups/.keep
09 [=][<] lib/js/spherechat-bundle.js
10 [=][<] lib/js/spherechat.js
# I don't get the meaning of [=] here, and besides I'm pretty sure that the files
# are the same, except for lib/js/*
========
- Add the possibility to track changes between more than one directory
- Make benchmarks
- Move to cElementTree
- Different strategies for detecting changes :
- From signature
- From "tags" (size, etc...)
- By comparing actual files in real time (implies that the nodestate can be
extracted directly from the FS).
Compare
=======
> sink compare Sources/python Build/
> 18 [+] lambdafactory/pnuts.pyc
> 19 [=][<] lambdafactory/python.py
> 20 [+] lambdafactory/python.pyc
> 21 [+] lambdafactory/reporter.pyc
> sink compare -pick=19:1 Sources/python Build
> sink compare -update=19 Sources/python/Build
> sink compare -keep=19 Sources/python/Build
Tracking
========
- Add content filtering when in SHA mode (normalize spaces for instance)
- Add filters
- Module to plug diff/rsync to speed up the whole process of detecting what
has changed.
- Replace walknodestate by iteartor
- Use the Set module instead of the set function, test which one is faster
- Created => Added, Modified => Changed ?
- Don't remember why child nodes have to be canonically sorted... this takes
unnecessary time
> sink track -snapshot snapshot.sink ~/Sources...
> sink compare snap:snapshot.sink ~/Source/Folder