Hex Artifact Content
Not logged in

Artifact 25be5322be320ed1ae77759f364687371106fad4:

File todo-ak.txt part of check-in [4e02d677c2] - Added note of an idea taken over by Mark Janssen. by aku on 2008-02-04 06:00:40. Also file todo-ak.txt part of check-in [6b78df3861] - Merge in changes from Andreas's branch. by drh on 2008-02-08 21:52:21.

0000: 5b 41 6e 64 72 65 61 73 20 4b 75 70 72 69 65 73  [Andreas Kupries
0010: 5d 0a 0a 54 68 69 6e 67 73 20 74 6f 20 77 6f 72  ]..Things to wor
0020: 6b 20 6f 6e 3a 0a 0a 2a 20 52 65 77 6f 72 6b 20  k on:..* Rework 
0030: 74 68 65 20 63 6f 64 65 20 75 6e 64 65 72 6c 79  the code underly
0040: 69 6e 67 20 74 68 65 20 74 65 73 74 20 74 61 72  ing the test tar
0050: 67 65 74 20 74 6f 20 63 6c 6f 6e 65 20 74 68 65  get to clone the
0060: 20 72 65 70 6f 73 69 74 6f 72 79 0a 20 20 61 6e   repository.  an
0070: 64 20 77 6f 72 6b 73 70 61 63 65 20 62 65 66 6f  d workspace befo
0080: 72 65 20 72 75 6e 6e 69 6e 67 20 74 65 73 74 73  re running tests
0090: 2c 20 74 6f 20 61 76 6f 69 64 20 6d 6f 64 69 66  , to avoid modif
00a0: 79 69 6e 67 20 74 68 65 0a 20 20 64 65 76 65 6c  ying the.  devel
00b0: 6f 70 6d 65 6e 74 20 72 65 70 6f 73 69 74 6f 72  opment repositor
00c0: 79 20 62 79 20 61 63 63 69 64 65 6e 74 2e 0a 0a  y by accident...
00d0: 2a 20 55 70 64 61 74 65 20 74 68 65 20 74 65 73  * Update the tes
00e0: 74 73 75 69 74 65 20 74 6f 20 74 68 65 20 63 75  tsuite to the cu
00f0: 72 72 65 6e 74 20 64 65 73 69 67 6e 20 61 6e 64  rrent design and
0100: 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20   implementation 
0110: 6f 66 0a 20 20 66 6f 73 73 69 6c 2e 0a 0a 2a 20  of.  fossil...* 
0120: 54 68 69 6e 6b 20 61 62 6f 75 74 20 65 78 70 6f  Think about expo
0130: 73 75 72 65 20 6f 66 20 66 75 6e 63 74 69 6f 6e  sure of function
0140: 61 6c 69 74 79 20 61 73 20 6c 69 62 72 61 72 69  ality as librari
0150: 65 73 2c 20 69 2e 65 2e 20 54 63 6c 0a 20 20 70  es, i.e. Tcl.  p
0160: 61 63 6b 61 67 65 73 2e 20 46 6f 75 6e 64 61 74  ackages. Foundat
0170: 69 6f 6e 73 20 6c 69 6b 65 20 64 65 6c 74 61 2c  ions like delta,
0180: 20 65 74 63 2e 20 66 69 72 73 74 2c 20 77 6f 72   etc. first, wor
0190: 6b 20 75 70 20 74 6f 0a 20 20 68 69 67 68 65 72  k up to.  higher
01a0: 2d 6c 65 76 65 6c 73 2e 0a 20 20 3d 3e 20 4d 61  -levels..  => Ma
01b0: 72 6b 20 4a 61 6e 73 73 65 6e 20 68 61 73 20 73  rk Janssen has s
01c0: 74 61 72 74 65 64 20 6f 6e 20 74 68 69 73 2e 0a  tarted on this..
01d0: 0a 2a 20 44 6f 63 75 6d 65 6e 74 20 74 68 65 20  .* Document the 
01e0: 6d 65 72 67 65 20 61 6c 67 6f 72 69 74 68 6d 2e  merge algorithm.
01f0: 0a 0a 2a 20 44 6f 63 75 6d 65 6e 74 20 74 68 65  ..* Document the
0200: 20 78 66 65 72 20 70 72 6f 74 6f 63 6f 6c 2e 0a   xfer protocol..
0210: 0a 2a 20 43 56 53 20 69 6d 70 6f 72 74 2e 20 54  .* CVS import. T
0220: 65 73 74 63 61 73 65 73 3a 20 54 63 6c 2c 20 54  estcases: Tcl, T
0230: 6b 2c 20 54 63 6c 6c 69 62 2e 0a 0a 51 75 65 73  k, Tcllib...Ques
0240: 74 69 6f 6e 73 0a 0a 2a 20 49 6e 20 74 68 65 20  tions..* In the 
0250: 74 69 6d 65 6c 69 6e 65 20 73 65 65 6e 20 61 74  timeline seen at
0260: 20 68 74 74 70 3a 2f 2f 66 6f 73 73 69 6c 2d 73   http://fossil-s
0270: 63 6d 2e 68 77 61 63 69 2e 63 6f 6d 2f 66 6f 73  cm.hwaci.com/fos
0280: 73 69 6c 2f 74 69 6d 65 6c 69 6e 65 0a 20 20 74  sil/timeline.  t
0290: 68 65 20 6d 61 6e 69 66 65 73 74 20 75 75 69 64  he manifest uuid
02a0: 73 20 61 72 65 20 6c 69 6e 6b 73 20 74 6f 20 70  s are links to p
02b0: 61 67 65 73 20 70 72 6f 76 69 64 69 6e 67 20 61  ages providing a
02c0: 64 64 69 74 69 6f 6e 61 6c 0a 20 20 69 6e 66 6f  dditional.  info
02d0: 72 6d 61 74 69 6f 6e 20 61 62 75 74 20 74 68 65  rmation abut the
02e0: 20 63 68 61 6e 67 65 2c 20 64 69 66 66 65 72 65   change, differe
02f0: 6e 63 65 73 2c 20 70 61 72 65 6e 74 2f 63 68 69  nces, parent/chi
0300: 6c 64 20 6c 69 6e 6b 61 67 65 2c 20 65 74 63 2e  ld linkage, etc.
0310: 0a 0a 20 20 54 68 65 20 74 69 6d 65 6c 69 6e 65  ..  The timeline
0320: 20 61 63 63 65 73 73 69 62 6c 65 20 67 65 6e 65   accessible gene
0330: 72 61 74 65 64 20 62 79 20 27 66 6f 73 73 69 6c  rated by 'fossil
0340: 20 73 65 72 76 65 72 27 20 61 6e 64 20 61 63 63   server' and acc
0350: 65 73 73 69 62 6c 65 0a 20 20 61 74 20 68 74 74  essible.  at htt
0360: 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 3a 38 30  p://localhost:80
0370: 38 30 2f 74 69 6d 65 6c 69 6e 65 20 68 6f 77 65  80/timeline howe
0380: 76 65 72 20 64 6f 65 73 20 6e 6f 74 20 68 61 76  ver does not hav
0390: 65 20 73 75 63 68 20 6c 69 6e 6b 73 2e 0a 0a 20  e such links... 
03a0: 20 4f 6e 65 20 77 6f 6e 64 65 72 73 20 77 68 79   One wonders why
03b0: 20 3f 0a 0a 47 65 6e 65 72 61 6c 20 69 64 65 61   ?..General idea
03c0: 73 3a 0a 0a 2a 20 55 73 65 20 54 4c 53 2f 53 53  s:..* Use TLS/SS
03d0: 4c 20 69 6e 20 74 68 65 20 78 66 65 72 20 6d 6f  L in the xfer mo
03e0: 64 75 6c 65 20 74 6f 20 65 6e 68 61 6e 63 65 20  dule to enhance 
03f0: 70 72 69 76 61 63 79 20 6f 66 0a 20 20 63 6f 6d  privacy of.  com
0400: 6d 75 6e 69 63 61 74 69 6f 6e 73 2e 20 49 6e 74  munications. Int
0410: 65 67 72 69 74 79 20 74 6f 6f 2c 20 68 6f 77 65  egrity too, howe
0420: 76 65 72 20 74 68 61 74 20 69 73 20 61 6c 73 6f  ver that is also
0430: 20 68 61 6e 64 6c 65 64 20 69 6e 20 74 68 65 0a   handled in the.
0440: 20 20 66 6f 73 73 69 6c 20 70 72 6f 74 6f 63 6f    fossil protoco
0450: 6c 20 69 74 73 65 6c 66 2e 20 0a 0a 20 20 50 6f  l itself. ..  Po
0460: 73 73 69 62 69 6c 69 74 79 3a 20 4f 70 65 6e 53  ssibility: OpenS
0470: 53 4c 2e 0a 20 20 44 69 73 3a 20 4c 69 62 72 61  SL..  Dis: Libra
0480: 72 79 20 69 73 20 6c 61 72 67 65 2c 20 6d 61 6b  ry is large, mak
0490: 65 73 20 73 65 6c 66 2d 63 6f 6e 74 61 69 6e 6d  es self-containm
04a0: 65 6e 74 20 6f 66 20 66 6f 73 73 69 6c 20 64 69  ent of fossil di
04b0: 66 66 69 63 75 6c 74 2e 0a 20 20 41 64 76 3a 20  fficult..  Adv: 
04c0: 4b 6e 6f 77 6e 20 6c 69 62 72 61 72 79 2c 20 70  Known library, p
04d0: 72 6f 76 65 6e 3f 20 64 65 73 69 67 6e 2f 72 6f  roven? design/ro
04e0: 62 75 73 74 6e 65 73 73 2f 69 6d 70 6c 65 6d 65  bustness/impleme
04f0: 6e 74 61 74 69 6f 6e 3f 20 2d 3e 20 4d 61 72 6b  ntation? -> Mark
0500: 65 74 69 6e 67 0a 0a 20 20 50 6f 73 73 69 62 69  eting..  Possibi
0510: 6c 69 74 79 3a 20 54 63 6c 20 38 2e 35 2b 65 78  lity: Tcl 8.5+ex
0520: 74 65 6e 64 65 64 20 6c 69 62 74 6f 6d 2a 20 66  tended libtom* f
0530: 75 6e 63 74 69 6f 6e 61 6c 69 74 79 0a 20 20 44  unctionality.  D
0540: 69 73 3a 20 4e 65 77 20 69 6d 70 6c 65 6d 65 6e  is: New implemen
0550: 74 61 74 69 6f 6e 2c 20 6c 65 73 73 20 70 72 6f  tation, less pro
0560: 76 65 6e 0a 20 20 41 64 76 3a 20 4d 6f 72 65 20  ven.  Adv: More 
0570: 73 65 6c 66 63 6f 6e 74 61 69 6e 65 64 2e 0a 0a  selfcontained...
0580: 20 20 50 6f 73 73 69 62 69 6c 69 74 79 3a 20 6c    Possibility: l
0590: 69 62 2d 67 6e 75 70 67 0a 20 20 44 69 73 3a 0a  ib-gnupg.  Dis:.
05a0: 20 20 41 64 76 3a 0a 0a 2a 20 54 61 6c 6b 20 74    Adv:..* Talk t
05b0: 6f 20 4d 61 72 6b 20 52 6f 73 65 6d 61 6e 20 61  o Mark Roseman a
05c0: 62 6f 75 74 20 68 69 73 20 50 72 6f 6a 65 63 74  bout his Project
05d0: 66 6f 72 75 6d 20 73 79 73 74 65 6d 20 61 6e 64  forum system and
05e0: 20 69 74 73 0a 20 20 20 20 73 75 69 74 61 62 69   its.    suitabi
05f0: 6c 69 74 79 20 61 73 20 74 68 65 20 77 69 6b 69  lity as the wiki
0600: 20 63 6f 6d 70 6f 6e 65 6e 74 2e 20 41 6e 64 20   component. And 
0610: 69 6e 20 72 65 76 65 72 73 65 20 74 68 65 20 70  in reverse the p
0620: 6f 73 73 69 62 69 6c 69 74 79 0a 20 20 20 20 6f  ossibility.    o
0630: 66 20 75 73 69 6e 67 20 46 6f 73 73 69 6c 20 61  f using Fossil a
0640: 73 20 74 68 65 20 76 65 72 73 69 6f 6e 20 65 6e  s the version en
0650: 67 69 6e 65 20 75 6e 64 65 72 6e 65 61 74 68 20  gine underneath 
0660: 50 72 6f 6a 65 63 74 46 6f 72 75 6d 2e 0a 0a 2a  ProjectForum...*
0670: 20 54 61 6c 6b 20 74 6f 20 43 6f 6c 69 6e 20 4d   Talk to Colin M
0680: 63 43 6f 72 6d 61 63 6b 20 2f 20 4b 65 76 69 6e  cCormack / Kevin
0690: 20 4b 65 6e 6e 79 20 61 62 6f 75 74 20 75 73 61   Kenny about usa
06a0: 62 69 6c 69 74 79 20 6f 66 20 46 6f 73 73 69 6c  bility of Fossil
06b0: 20 61 73 0a 20 20 76 65 72 73 69 6f 6e 20 65 6e   as.  version en
06c0: 67 69 6e 65 20 75 6e 64 65 72 6e 65 61 74 68 20  gine underneath 
06d0: 54 63 6c 65 72 27 73 20 57 69 6b 69 2c 20 61 6e  Tcler's Wiki, an
06e0: 64 20 61 6c 73 6f 20 66 6f 72 20 74 68 65 20 77  d also for the w
06f0: 69 6b 69 0a 20 20 69 74 73 65 6c 66 2e 20 28 4e  iki.  itself. (N
0700: 6f 74 65 3a 20 43 68 61 74 20 6d 65 73 73 61 67  ote: Chat messag
0710: 65 20 62 79 20 6b 62 6b 20 73 68 6f 77 65 64 20  e by kbk showed 
0720: 74 68 61 74 20 68 65 20 69 73 20 61 77 61 72 65  that he is aware
0730: 20 6f 66 0a 20 20 66 6f 73 73 69 6c 29 2e 0a 0a   of.  fossil)...
0740: 4e 6f 74 65 73 3a 0a 0a 2a 20 20 53 74 65 70 68  Notes:..*  Steph
0750: 65 6e 20 48 75 6e 74 6c 65 79 20 2d 20 74 64 65  en Huntley - tde
0760: 6c 74 61 20 28 74 63 6c 76 66 73 2c 20 76 65 72  lta (tclvfs, ver
0770: 73 69 6f 6e 65 64 20 66 69 6c 65 73 79 73 74 65  sioned filesyste
0780: 6d 2c 20 73 65 65 20 61 6c 73 6f 0a 20 20 20 68  m, see also.   h
0790: 74 74 70 3a 2f 2f 77 69 6b 69 2e 74 63 6c 2e 74  ttp://wiki.tcl.t
07a0: 6b 2f 31 32 38 30 33 29 2c 20 63 6f 6d 70 61 72  k/12803), compar
07b0: 65 20 61 67 61 69 6e 73 74 20 64 65 6c 74 61 20  e against delta 
07c0: 68 65 72 65 2e 0a 0a 2a 20 66 74 73 32 20 61 73  here...* fts2 as
07d0: 20 69 73 20 69 73 20 64 69 66 66 69 63 75 6c 74   is is difficult
07e0: 20 74 6f 20 75 73 65 20 69 6e 20 66 6f 73 73 69   to use in fossi
07f0: 6c 2e 20 49 6e 64 65 78 69 6e 67 20 63 75 72 72  l. Indexing curr
0800: 65 6e 74 6c 79 0a 20 20 72 65 71 75 69 72 65 73  ently.  requires
0810: 20 74 68 65 20 62 6c 6f 62 20 64 61 74 61 20 74   the blob data t
0820: 6f 20 62 65 20 66 75 6c 6c 79 20 76 69 73 69 62  o be fully visib
0830: 6c 65 2c 20 63 6f 75 6e 74 65 72 20 74 6f 20 74  le, counter to t
0840: 68 65 20 65 78 74 65 6e 73 69 76 65 0a 20 20 75  he extensive.  u
0850: 73 65 20 6f 66 20 63 6f 6d 70 72 65 73 73 69 6f  se of compressio
0860: 6e 20 28 64 65 6c 74 61 2c 7a 6c 69 62 29 20 69  n (delta,zlib) i
0870: 6e 20 72 65 70 6f 73 69 74 6f 72 69 65 73 2e 0a  n repositories..