Megatest

Check-in [d2345a4f5d]
Login
Overview
Comment:UPdated dep pdf generator
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.70-captain-ulex | v1.70-defunct-try
Files: files | file ages | folders
SHA1: d2345a4f5dbcec1e2e92e3a6d79cab4c5dd8af07
User & Date: matt on 2020-01-08 01:16:34
Other Links: branch diff | manifest | tags
Context
2020-01-08
01:22
Added dbtype to params in rmt:connect and ulex connect. WIP check-in: 709915fc65 user: matt tags: v1.70-captain-ulex, v1.70-defunct-try
01:16
UPdated dep pdf generator check-in: d2345a4f5d user: matt tags: v1.70-captain-ulex, v1.70-defunct-try
01:11
Removed nanomsg from dcommonmon and megamod check-in: 95b4151a44 user: matt tags: v1.70-captain-ulex, v1.70-defunct-try
Changes

Modified docs/code/Makefile from [f10688b15f] to [8a3a5a4275].










1
2
3









module-hierarchy.pdf : module-hierarchy.dot
	dot -Tpdf module-hierarchy.dot -o module-hierarchy.pdf

>
>
>
>
>
>
>
>
>



1
2
3
4
5
6
7
8
9
10
11
12

all : module-hierarchy.pdf

deps.data : ../../*scm
	cd ../..;csi -bq utils/deps.scm > docs/code/deps.data

module-hierarchy.dot : preamble.dot deps.data postamble.dot
	cat preamble.dot deps.data postamble.dot > module-hierarchy.dot

module-hierarchy.pdf : module-hierarchy.dot
	dot -Tpdf module-hierarchy.dot -o module-hierarchy.pdf

Modified docs/code/module-hierarchy.dot from [553a71b254] to [c0573ba1c0].

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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107

108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

  node [shape=box,style=filled,fontname="clear",fontsize="10"];

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];

    // httpmod [label="http-transportmod"];
    // commonmod




// archivemod.scm




"commonmod" -> "archivemod";
























// clientmod.scm

"commonmod" -> "clientmod";





// configfmod.scm
// subrunmod.scm


"commonmod" -> "subrunmod";
// ezstepsmod.scm

"commonmod" -> "ezstepsmod";
// itemsmod.scm

"commonmod" -> "itemsmod";


// gutilsmod.scm














// testsmod.scm

"commonmod" -> "testsmod";
"servermod" -> "testsmod";
"itemsmod" -> "testsmod";
"dbmod" -> "testsmod";











// runconfigmod.scm

"commonmod" -> "runconfigmod";















// keysmod.scm









"srfi-13" -> "keysmod";











// launchmod.scm

"commonmod" -> "launchmod";
// megamod.scm

"spiffy" -> "megamod";
"stml2" -> "megamod";

"commonmod" -> "megamod";
"keysmod" -> "megamod";
"pgdbmod" -> "megamod";
"tasksmod" -> "megamod";
"dbmod" -> "megamod";
"apimod" -> "megamod";
"ducttape-lib" -> "megamod";
"itemsmod" -> "megamod";
"pkts" -> "megamod";
"rmtmod" -> "megamod";
"mtmod" -> "megamod";
"testsmod" -> "megamod";
"servermod" -> "megamod";
"subrunmod" -> "megamod";
"itemsmod" -> "megamod";
"runsmod" -> "megamod";
// odsmod.scm
"commonmod" -> "odsmod";
// envmod.scm
"commonmod" -> "envmod";
// http-transportmod.scm
"commonmod" -> "http-transportmod";
"stml2" -> "http-transportmod";
"apimod" -> "http-transportmod";
"dbmod" -> "http-transportmod";
"testsmod" -> "http-transportmod";
// processmod.scm
// mtmod.scm
"commonmod" -> "mtmod";
"dbmod" -> "mtmod";
"pgdbmod" -> "mtmod";
"rmtmod" -> "mtmod";
"servermod" -> "mtmod";
"stml2" -> "mtmod";
"subrunmod" -> "mtmod";
"tasksmod" -> "mtmod";
"testsmod" -> "mtmod";
// pgdbmod.scm
"commonmod" -> "pgdbmod";
// runsmod.scm
"commonmod" -> "runsmod";
"dbmod" -> "runsmod";
"itemsmod" -> "runsmod";
"mtmod" -> "runsmod";
"pgdbmod" -> "runsmod";
"rmtmod" -> "runsmod";
"servermod" -> "runsmod";
"stml2" -> "runsmod";
"subrunmod" -> "runsmod";
"tasksmod" -> "runsmod";
"testsmod" -> "runsmod";
// apimod.scm

"commonmod" -> "apimod";
"dbmod" -> "apimod";
"servermod" -> "apimod";
// dbmod.scm
"commonmod" -> "dbmod";
"keysmod" -> "dbmod";
"files" -> "dbmod";
"tasksmod" -> "dbmod";
"odsmod" -> "dbmod";
// dcommonmod.scm
"gutilsmod" -> "dcommonmod";
"commonmod" -> "dcommonmod";
"testsmod" -> "dcommonmod";
"megamod" -> "dcommonmod";
"canvas-draw" -> "dcommonmod";
"canvas-draw-iup" -> "dcommonmod";
// tasksmod.scm
"commonmod" -> "tasksmod";
"pgdbmod" -> "tasksmod";
// template-mod.scm
"commonmod" -> "template-mod";
// servermod.scm
"commonmod" -> "servermod";
"dbmod" -> "servermod";
"tasksmod" -> "servermod";
// treemod.scm
// commonmod.scm
"pkts" -> "commonmod";
// vgmod.scm
// rmtmod.scm
"commonmod" -> "rmtmod";
"itemsmod" -> "rmtmod";
"apimod" -> "rmtmod";
"dbmod" -> "rmtmod";
    
}
  
}








>
|
|
>
>
>
>
|
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
|
>
>
>
>
>
|
|
>
>
|
|
>
|
|
>
|
>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>

>




>
>
>
>
>
>
>
>
>
>
>
|
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
|
>
>
>
>
>
>
>
>
>
>
>
|
>
|

>


>
















|
<
<
<
<
<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
<
<

>



|
<
<
|
<
<
<
<
|
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<
|
<
<
<
<
<
|





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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182












183








184












185
186
187
188
189
190


191




192




193










194





195
196
197
198
199
200

  node [shape=box,style=filled,fontname="clear",fontsize="10"];

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];
// servermod.scm
"sqlite3" -> "servermod";
"commonmod" -> "servermod";
"dbmod" -> "servermod";
"tasksmod" -> "servermod";
"mtargs" -> "servermod";
"mtconfigf" -> "servermod";
// vgmod.scm
"sqlite3" -> "vgmod";
// rmtmod.scm
"sqlite3" -> "rmtmod";
"ulex" -> "rmtmod";
"commonmod" -> "rmtmod";
"itemsmod" -> "rmtmod";
"apimod" -> "rmtmod";
"dbmod" -> "rmtmod";
// dcommonmod.scm
"sqlite3" -> "dcommonmod";
"mtconfigf" -> "dcommonmod";
"gutilsmod" -> "dcommonmod";
"commonmod" -> "dcommonmod";
"servermod" -> "dcommonmod";
"testsmod" -> "dcommonmod";
"megamod" -> "dcommonmod";
"subrunmod" -> "dcommonmod";
"runsmod" -> "dcommonmod";
"rmtmod" -> "dcommonmod";
"dbmod" -> "dcommonmod";
"canvas-draw" -> "dcommonmod";
"canvas-draw-iup" -> "dcommonmod";
"iup" -> "dcommonmod";
"mtargs" -> "dcommonmod";
// commonmod.scm
"sqlite3" -> "commonmod";
"pkts" -> "commonmod";
"mtconfigf" -> "commonmod";
"mtargs" -> "commonmod";
// dbmod.scm
"sqlite3" -> "dbmod";
"commonmod" -> "dbmod";
"keysmod" -> "dbmod";
"files" -> "dbmod";
"tasksmod" -> "dbmod";
"odsmod" -> "dbmod";
"mtargs" -> "dbmod";
"mtconfigf" -> "dbmod";
// pgdbmod.scm
"mtconfigf" -> "pgdbmod";
"mtargs" -> "pgdbmod";
"commonmod" -> "pgdbmod";
// launchmod.scm
"sqlite3" -> "launchmod";
"commonmod" -> "launchmod";
// archivemod.scm
"sqlite3" -> "archivemod";
"commonmod" -> "archivemod";
// processmod.scm
"sqlite3" -> "processmod";
// runsmod.scm
"base64" -> "runsmod";
"commonmod" -> "runsmod";
"dbmod" -> "runsmod";
"itemsmod" -> "runsmod";
"mtmod" -> "runsmod";
"pgdbmod" -> "runsmod";
"mtargs" -> "runsmod";
"mtconfigf" -> "runsmod";
"rmtmod" -> "runsmod";
"servermod" -> "runsmod";
"stml2" -> "runsmod";
"subrunmod" -> "runsmod";
"tasksmod" -> "runsmod";
"testsmod" -> "runsmod";
// testsmod.scm
"sqlite3" -> "testsmod";
"commonmod" -> "testsmod";
"servermod" -> "testsmod";
"itemsmod" -> "testsmod";
"dbmod" -> "testsmod";
"mtconfigf" -> "testsmod";
"mtargs" -> "testsmod";
// clientmod.scm
"sqlite3" -> "clientmod";
"commonmod" -> "clientmod";
// ezstepsmod.scm
"sqlite3" -> "ezstepsmod";
"commonmod" -> "ezstepsmod";
// gutilsmod.scm
"iup" -> "gutilsmod";
"canvas-draw" -> "gutilsmod";
// envmod.scm
"sqlite3" -> "envmod";
"commonmod" -> "envmod";
// http-transportmod.scm
"commonmod" -> "http-transportmod";
"stml2" -> "http-transportmod";
"apimod" -> "http-transportmod";
"dbmod" -> "http-transportmod";
"testsmod" -> "http-transportmod";
"mtargs" -> "http-transportmod";
"mtconfigf" -> "http-transportmod";
// subrunmod.scm
"sqlite3" -> "subrunmod";
"commonmod" -> "subrunmod";
"mtconfigf" -> "subrunmod";
// template-mod.scm
"sqlite3" -> "template-mod";
"commonmod" -> "template-mod";
// tasksmod.scm
"sqlite3" -> "tasksmod";
"commonmod" -> "tasksmod";
"mtconfigf" -> "tasksmod";
"pgdbmod" -> "tasksmod";
// configfmod.scm
"sqlite3" -> "configfmod";
// treemod.scm
"iup" -> "treemod";
// mtmod.scm
"sqlite3" -> "mtmod";
"mtargs" -> "mtmod";
"mtconfigf" -> "mtmod";
"commonmod" -> "mtmod";
"dbmod" -> "mtmod";
"pgdbmod" -> "mtmod";
"rmtmod" -> "mtmod";
"servermod" -> "mtmod";
"stml2" -> "mtmod";
"subrunmod" -> "mtmod";
"tasksmod" -> "mtmod";
"testsmod" -> "mtmod";
// odsmod.scm
"sqlite3" -> "odsmod";
"commonmod" -> "odsmod";
// megamod.scm
"mtconfigf" -> "megamod";
"spiffy" -> "megamod";
"stml2" -> "megamod";
"mtargs" -> "megamod";
"commonmod" -> "megamod";
"keysmod" -> "megamod";
"pgdbmod" -> "megamod";
"tasksmod" -> "megamod";
"dbmod" -> "megamod";
"apimod" -> "megamod";
"ducttape-lib" -> "megamod";
"itemsmod" -> "megamod";
"pkts" -> "megamod";
"rmtmod" -> "megamod";
"mtmod" -> "megamod";
"testsmod" -> "megamod";
"servermod" -> "megamod";
"subrunmod" -> "megamod";
"itemsmod" -> "megamod";
"runsmod" -> "megamod";
// itemsmod.scm












"sqlite3" -> "itemsmod";








"commonmod" -> "itemsmod";












// apimod.scm
"sqlite3" -> "apimod";
"commonmod" -> "apimod";
"dbmod" -> "apimod";
"servermod" -> "apimod";
// runconfigmod.scm


"sqlite3" -> "runconfigmod";




"commonmod" -> "runconfigmod";




// keysmod.scm










"sqlite3" -> "keysmod";





"srfi-13" -> "keysmod";
    
}
  
}

Added docs/code/postamble.dot version [b57f41175d].











>
>
>
>
>
1
2
3
4
5
    
}
  
}

Added docs/code/preamble.dot version [b043a4e780].























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
//  Copyright 2006-2017, Matthew Welland.
// 
// This file is part of Megatest.
// 
//     Megatest is free software: you can redistribute it and/or modify
//     it under the terms of the GNU General Public License as published by
//     the Free Software Foundation, either version 3 of the License, or
//     (at your option) any later version.
// 
//     Megatest is distributed in the hope that it will be useful,
//     but WITHOUT ANY WARRANTY; without even the implied warranty of
//     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//     GNU General Public License for more details.
// 
//     You should have received a copy of the GNU General Public License
//     along with Megatest.  If not, see <http://www.gnu.org/licenses/>.
// 
digraph megatest_code_hierarchy {
  ranksep=0.05;
  // rankdir=LR

  node [shape=box,style=filled,fontname="clear",fontsize="10"];

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];

Modified utils/deps.scm from [62d9987751] to [4c1694d6c8].

15
16
17
18
19
20
21
22
23




24
25
26

27
28
29
30
31
32
33
34
      (lambda ()
	(let loop ((l (read-line)))
	  (if (eof-object? l)
	      data
	      (begin
		(regex-case
		 l
		 ("^\\s*\\(import\\s+([^\\s]+)\\).*" (x md )
		  (print "\"" md "\" -> \"" modname "\";")))




		(loop (read-line)))))))))

(define (do-all-mod-files)

  (let ((modfiles (get-files "*mod.scm")))
    (for-each
     (lambda (mfile)
       (print "// " mfile)
       (get-deps mfile))
     modfiles)))

(do-all-mod-files)







|
|
>
>
>
>



>
|







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
      (lambda ()
	(let loop ((l (read-line)))
	  (if (eof-object? l)
	      data
	      (begin
		(regex-case
		 l
		 ("^\\s*\\((import|use)\\s+([^\\s]+)\\).*"
		  (x junk md )(print "\"" md "\" -> \"" modname "\";"))
		 ;; now get entries with prefix
		 ("^\\s*\\((import|use)\\s+\\(prefix\\s+([^\\s]+)\\s+.*\\).*"
		  (x junk md ) (print "\"" md "\" -> \"" modname "\";"))
		 )
		(loop (read-line)))))))))

(define (do-all-mod-files)
  (let ((modfiles (append ;; '("megatest.scm" "dashboard.scm")
			  (get-files "*mod.scm"))))
    (for-each
     (lambda (mfile)
       (print "// " mfile)
       (get-deps mfile))
     modfiles)))

(do-all-mod-files)