Artifact a7c8370641ba4d700a6ae7a02ff59c71b32a484f:
File
tools/lib/pkgIndex.tcl
part of check-in
[be32ebcb41]
- Redid the logging system aka user feedback completely. Verbosity levels, influenced by the new -v switch. Indentations in the output removed, parsing by tools easier, still human readable. Adapted all users of the previous feedback code to use the new system.
by
aku on
2007-09-08 05:35:02.
0000: 69 66 20 7b 21 5b 70 61 63 6b 61 67 65 20 76 73 if {![package vs
0010: 61 74 69 73 66 69 65 73 20 5b 70 61 63 6b 61 67 atisfies [packag
0020: 65 20 72 65 71 75 69 72 65 20 54 63 6c 5d 20 38 e require Tcl] 8
0030: 2e 34 5d 7d 20 72 65 74 75 72 6e 0a 70 61 63 6b .4]} return.pack
0040: 61 67 65 20 69 66 6e 65 65 64 65 64 20 72 63 73 age ifneeded rcs
0050: 70 61 72 73 65 72 20 31 2e 30 20 5b 6c 69 73 74 parser 1.0 [list
0060: 20 73 6f 75 72 63 65 20 5b 66 69 6c 65 20 6a 6f source [file jo
0070: 69 6e 20 24 64 69 72 20 72 63 73 70 61 72 73 65 in $dir rcsparse
0080: 72 2e 74 63 6c 5d 5d 0a 70 61 63 6b 61 67 65 20 r.tcl]].package
0090: 69 66 6e 65 65 64 65 64 20 63 76 73 20 20 20 20 ifneeded cvs
00a0: 20 20 20 31 2e 30 20 5b 6c 69 73 74 20 73 6f 75 1.0 [list sou
00b0: 72 63 65 20 5b 66 69 6c 65 20 6a 6f 69 6e 20 24 rce [file join $
00c0: 64 69 72 20 63 76 73 2e 74 63 6c 5d 5d 0a 70 61 dir cvs.tcl]].pa
00d0: 63 6b 61 67 65 20 69 66 6e 65 65 64 65 64 20 66 ckage ifneeded f
00e0: 6f 73 73 69 6c 20 20 20 20 31 2e 30 20 5b 6c 69 ossil 1.0 [li
00f0: 73 74 20 73 6f 75 72 63 65 20 5b 66 69 6c 65 20 st source [file
0100: 6a 6f 69 6e 20 24 64 69 72 20 66 6f 73 73 69 6c join $dir fossil
0110: 2e 74 63 6c 5d 5d 0a 70 61 63 6b 61 67 65 20 69 .tcl]].package i
0120: 66 6e 65 65 64 65 64 20 74 6f 6f 6c 73 3a 3a 6c fneeded tools::l
0130: 6f 67 20 31 2e 30 20 5b 6c 69 73 74 20 73 6f 75 og 1.0 [list sou
0140: 72 63 65 20 5b 66 69 6c 65 20 6a 6f 69 6e 20 24 rce [file join $
0150: 64 69 72 20 6c 6f 67 2e 74 63 6c 5d 5d 0a dir log.tcl]].