author | Claus Gittinger <cg@exept.de> |
Wed, 13 Dec 1995 11:26:02 +0100 | |
changeset 147 | f6cfa2afc00a |
parent 138 | 386f2d831989 |
child 148 | dd40327e00b7 |
permissions | -rw-r--r-- |
56
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
1 |
" |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
3 |
All Rights Reserved |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
4 |
|
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
5 |
This software is furnished under a license and may be used |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
10 |
hereby transferred. |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
11 |
" |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
12 |
|
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
13 |
Object subclass:#AbstractSourceCodeManager |
147 | 14 |
instanceVariableNames:'' |
15 |
classVariableNames:'CacheDirectoryName DefaultManager' |
|
16 |
poolDictionaries:'' |
|
17 |
category:'System-Support' |
|
56
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
18 |
! |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
19 |
|
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
20 |
!AbstractSourceCodeManager class methodsFor:'documentation'! |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
21 |
|
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
22 |
copyright |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
23 |
" |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
24 |
COPYRIGHT (c) 1995 by Claus Gittinger |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
25 |
All Rights Reserved |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
26 |
|
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
27 |
This software is furnished under a license and may be used |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
28 |
only in accordance with the terms of that license and with the |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
29 |
inclusion of the above copyright notice. This software may not |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
30 |
be provided or otherwise made available to, or used by, any |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
31 |
other person. No title to or ownership of the software is |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
32 |
hereby transferred. |
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
33 |
" |
71 | 34 |
! |
35 |
||
36 |
documentation |
|
37 |
" |
|
38 |
Abstract superclass for sourceCodeManagers. |
|
39 |
Concrete subclasses provide access to a source repository. |
|
40 |
All protocol here traps into subclassResponsbility errors. |
|
41 |
Please read more documentation in concrete subclasses |
|
42 |
(especially: CVSSourceCodeManager) for how to use this manager. |
|
43 |
" |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
44 |
! ! |
56
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
45 |
|
63 | 46 |
!AbstractSourceCodeManager class methodsFor:'initialization'! |
47 |
||
48 |
initCacheDirPath |
|
49 |
|path| |
|
50 |
||
65
098be8484211
dont cache classes of which the newest rev. has been checked out
Claus Gittinger <cg@exept.de>
parents:
64
diff
changeset
|
51 |
path := OperatingSystem getEnvironment:'STX_TMPPATH'. |
63 | 52 |
path isNil ifTrue:[ |
53 |
path := OperatingSystem getEnvironment:'TMPPATH'. |
|
54 |
path isNil ifTrue:[ |
|
55 |
path := '/tmp' |
|
56 |
] |
|
57 |
]. |
|
64 | 58 |
CacheDirectoryName := path , '/stx_sourceCache'. |
63 | 59 |
! ! |
60 |
||
112 | 61 |
!AbstractSourceCodeManager class methodsFor:'accessing'! |
62 |
||
63 |
defaultManager |
|
64 |
^ DefaultManager |
|
65 |
||
66 |
"Created: 7.12.1995 / 17:14:22 / cg" |
|
67 |
! ! |
|
68 |
||
71 | 69 |
!AbstractSourceCodeManager class methodsFor:'private'! |
70 |
||
71 |
cacheDirectoryName |
|
72 |
^ CacheDirectoryName |
|
73 |
! |
|
74 |
||
96 | 75 |
directoryFromContainerPath:containerPath |
76 |
|path idx| |
|
77 |
||
78 |
path := self pathInRepositoryFrom:containerPath. |
|
79 |
path notNil ifTrue:[ |
|
109 | 80 |
idx := path indexOf:(Filename separator). |
81 |
idx ~~ 0 ifTrue:[ |
|
82 |
path := path copyFrom:(idx + 1) |
|
83 |
]. |
|
84 |
^ path asFilename directoryName |
|
96 | 85 |
]. |
86 |
^ nil |
|
87 |
||
88 |
" |
|
89 |
SourceCodeManager directoryFromContainerPath:'/files/CVS/stx/libbasic/Array.st' |
|
90 |
" |
|
91 |
||
92 |
"Created: 25.11.1995 / 18:42:20 / cg" |
|
93 |
"Modified: 25.11.1995 / 18:48:46 / cg" |
|
94 |
! |
|
95 |
||
96 |
filenameFromContainerPath:containerPath |
|
97 |
|top rest| |
|
98 |
||
99 |
containerPath notNil ifTrue:[ |
|
109 | 100 |
top := self repositoryTopDirectory. |
101 |
top notNil ifTrue:[ |
|
102 |
(containerPath startsWith:(top , '/')) ifTrue:[ |
|
103 |
rest := containerPath copyFrom:(top size + 2). |
|
104 |
^ rest asFilename baseName |
|
105 |
] |
|
106 |
] |
|
96 | 107 |
]. |
108 |
||
109 |
"Created: 25.11.1995 / 18:42:34 / cg" |
|
110 |
! |
|
111 |
||
112 |
moduleFromContainerPath:containerPath |
|
113 |
|path idx| |
|
114 |
||
115 |
path := self pathInRepositoryFrom:containerPath. |
|
116 |
path notNil ifTrue:[ |
|
109 | 117 |
idx := path indexOf:(Filename separator). |
118 |
idx == 0 ifTrue:[^ path]. |
|
119 |
^ path copyTo:(idx - 1) |
|
96 | 120 |
]. |
121 |
^ nil |
|
122 |
||
123 |
" |
|
124 |
SourceCodeManager moduleFromContainerPath:'/files/CVS/stx/libbasic/Array.st' |
|
125 |
" |
|
126 |
||
127 |
"Created: 25.11.1995 / 18:42:20 / cg" |
|
128 |
"Modified: 25.11.1995 / 18:47:27 / cg" |
|
129 |
! |
|
130 |
||
131 |
pathInRepositoryFrom:containerPath |
|
132 |
|top rest lastTop idx| |
|
133 |
||
134 |
containerPath notNil ifTrue:[ |
|
109 | 135 |
top := self repositoryTopDirectory. |
136 |
top notNil ifTrue:[ |
|
137 |
(containerPath startsWith:(top , '/')) ifTrue:[ |
|
138 |
^ containerPath copyFrom:(top size + 2). |
|
139 |
]. |
|
140 |
"/ hardcase - the repository-filename in the versionInfo |
|
141 |
"/ does no match my repository top. |
|
142 |
"/ check for mangled prefix (happens with symbolic links) |
|
143 |
lastTop := '/' , top asFilename baseName, '/'. |
|
144 |
idx := containerPath indexOfSubCollection:lastTop. |
|
145 |
idx ~~ 0 ifTrue:[ |
|
146 |
('SOURCEMGR: warning: repository path mismatch: ' , (containerPath copyTo:idx-1) , lastTop , ' vs. ' , top , '/') infoPrintNL. |
|
147 |
'SOURCEMGR: warning: assuming that mismatch is ok.' infoPrintNL. |
|
148 |
^ containerPath copyFrom:(idx + lastTop size). |
|
149 |
] |
|
150 |
] |
|
96 | 151 |
]. |
152 |
^ rest |
|
153 |
||
154 |
" |
|
155 |
SourceCodeManager pathInRepositoryFrom:'/files/CVS/stx/libbasic/Array.st' |
|
156 |
SourceCodeManager pathInRepositoryFrom:'/phys/ibm/CVS/stx/libbasic/Array.st' |
|
157 |
" |
|
158 |
||
159 |
"Created: 25.11.1995 / 18:42:20 / cg" |
|
160 |
"Modified: 25.11.1995 / 18:59:26 / cg" |
|
161 |
! |
|
162 |
||
163 |
repositoryTopDirectory |
|
164 |
^ nil |
|
165 |
||
166 |
"Created: 25.11.1995 / 18:38:59 / cg" |
|
167 |
! |
|
168 |
||
87 | 169 |
revisionAfter:aRevisionString |
170 |
|idx s| |
|
171 |
||
172 |
idx := aRevisionString lastIndexOf:$.. |
|
173 |
idx == 0 ifTrue:[ |
|
174 |
^ ((Integer readFrom:aRevisionString) + 1) printString |
|
175 |
]. |
|
176 |
||
177 |
^ (aRevisionString copyTo:idx) , ((Integer readFrom:(aRevisionString copyFrom:(idx+1)))+1) printString |
|
178 |
||
179 |
" |
|
180 |
SourceCodeManager revisionAfter:'1.2.3.4' |
|
181 |
SourceCodeManager revisionAfter:'123' |
|
182 |
SourceCodeManager revisionAfter:'1.24' |
|
183 |
" |
|
184 |
||
185 |
"Created: 20.11.1995 / 12:54:05 / cg" |
|
186 |
! |
|
187 |
||
71 | 188 |
sourceCacheDirectory |
189 |
|dir nm| |
|
190 |
||
191 |
(nm := self cacheDirectoryName) isNil ifTrue:[^ nil]. |
|
69 | 192 |
|
71 | 193 |
(dir := nm asFilename) exists ifFalse:[ |
194 |
dir makeDirectory. |
|
195 |
dir asFilename exists ifFalse:[ |
|
196 |
'SOURCEMGR: could not create cache dir ''' , CacheDirectoryName , '''' infoPrintNL. |
|
197 |
^ nil |
|
198 |
]. |
|
199 |
]. |
|
200 |
^ dir |
|
201 |
! |
|
69 | 202 |
|
96 | 203 |
sourceInfoOfClass:aClass |
204 |
"helper: return a classes sourceCodeInfo" |
|
205 |
||
206 |
|cls sourceInfo revInfo actualSourceFileName classFileName |
|
207 |
newInfo revisionInfo container| |
|
208 |
||
209 |
cls := aClass. |
|
210 |
cls isMeta ifTrue:[ |
|
109 | 211 |
cls := cls soleInstance |
96 | 212 |
]. |
213 |
||
214 |
"/ |
|
215 |
"/ the info given by the classes source ... |
|
216 |
"/ |
|
217 |
revInfo := aClass revisionInfo. |
|
218 |
||
219 |
"/ |
|
220 |
"/ the info given by the classes binary ... |
|
221 |
"/ if present, we better trust that one. |
|
222 |
"/ |
|
223 |
sourceInfo := cls packageSourceCodeInfo. |
|
224 |
sourceInfo isNil ifTrue:[ |
|
109 | 225 |
revInfo isNil ifTrue:[ |
226 |
'SOURCEMGR: class has neither source nor compiled-in info' infoPrintNL. |
|
227 |
^ nil |
|
228 |
]. |
|
96 | 229 |
|
109 | 230 |
container := revInfo at:#repositoryPathName ifAbsent:nil. |
231 |
container notNil ifTrue:[ |
|
232 |
sourceInfo := revInfo. |
|
233 |
sourceInfo at:#directory put:(self directoryFromContainerPath:container). |
|
234 |
sourceInfo at:#module put:(self moduleFromContainerPath:container). |
|
235 |
] |
|
96 | 236 |
]. |
237 |
||
238 |
||
239 |
"/ |
|
240 |
"/ the filename I would expect from its name ... |
|
241 |
"/ |
|
242 |
classFileName := Smalltalk fileNameForClass:aClass. |
|
243 |
||
244 |
newInfo := IdentityDictionary new. |
|
245 |
sourceInfo keysAndValuesDo:[:key :value | |
|
109 | 246 |
newInfo at:key put:value |
96 | 247 |
]. |
248 |
||
249 |
"/ check .. |
|
250 |
revInfo notNil ifTrue:[ |
|
109 | 251 |
actualSourceFileName := revInfo at:#fileName ifAbsent:nil. |
252 |
actualSourceFileName notNil ifTrue:[ |
|
253 |
actualSourceFileName ~= (classFileName , '.st') ifTrue:[ |
|
254 |
('SOURCEMGR: source of class ' , aClass name , ' found in ' , actualSourceFileName , ' (expected: ' , classFileName , '.st); renamed ?') printNL. |
|
255 |
newInfo at:#expectedFileName put:(classFileName). |
|
256 |
newInfo at:#renamed put:true. |
|
257 |
classFileName := actualSourceFileName copyWithoutLast:3 |
|
258 |
] |
|
259 |
] |
|
96 | 260 |
]. |
261 |
||
262 |
newInfo at:#classFileName put:classFileName. |
|
263 |
^ newInfo |
|
264 |
||
265 |
"Created: 25.11.1995 / 12:40:19 / cg" |
|
266 |
"Modified: 25.11.1995 / 18:51:16 / cg" |
|
267 |
! |
|
268 |
||
71 | 269 |
streamForClass:cls fileName:classFileName revision:revision directory:packageDir module:moduleDir cache:cacheIt |
270 |
self subclassResponsibility. |
|
271 |
^ nil |
|
272 |
||
273 |
"Created: 4.11.1995 / 19:09:12 / cg" |
|
274 |
"Modified: 4.11.1995 / 19:15:43 / cg" |
|
95 | 275 |
! ! |
276 |
||
277 |
!AbstractSourceCodeManager class methodsFor:'source code access'! |
|
278 |
||
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
279 |
checkinClass:aClass fileName:classFileName directory:packageDir module:moduleDir logMessage:logMessage |
95 | 280 |
"checkin of a class into the source repository. |
281 |
Return true if ok, false if not." |
|
282 |
||
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
283 |
|tempDir tempFile ok| |
71 | 284 |
|
285 |
tempDir := (Filename newTemporaryIn:nil) makeDirectory. |
|
286 |
[ |
|
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
287 |
|aStream| |
75 | 288 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
289 |
tempFile := tempDir construct:classFileName. |
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
290 |
aStream := tempFile writeStream. |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
291 |
aStream isNil ifTrue:[ |
121
a23bb38554ee
trace messages only if Verbose is true
Claus Gittinger <cg@exept.de>
parents:
114
diff
changeset
|
292 |
'SOURCEMGR: temporary fileout failed' errorPrintNL. |
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
293 |
^ false |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
294 |
]. |
71 | 295 |
|
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
296 |
Class fileOutErrorSignal handle:[:ex | |
121
a23bb38554ee
trace messages only if Verbose is true
Claus Gittinger <cg@exept.de>
parents:
114
diff
changeset
|
297 |
'SOURCEMGR: fileout failed' errorPrintNL. |
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
298 |
aStream close. |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
299 |
^ false |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
300 |
] do:[ |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
301 |
aClass fileOutOn:aStream withTimeStamp:false. |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
302 |
]. |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
303 |
aStream close. |
71 | 304 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
305 |
tempFile exists ifFalse:[ |
121
a23bb38554ee
trace messages only if Verbose is true
Claus Gittinger <cg@exept.de>
parents:
114
diff
changeset
|
306 |
'SOURCEMGR: temporary fileout failed' errorPrintNL. |
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
307 |
^ false |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
308 |
]. |
75 | 309 |
|
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
310 |
ok := self |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
311 |
checkinClass:aClass |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
312 |
fileName:classFileName |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
313 |
directory:packageDir |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
314 |
module:moduleDir |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
315 |
source:(tempFile name) |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
316 |
logMessage:logMessage. |
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
317 |
|
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
318 |
^ ok |
71 | 319 |
] valueNowOrOnUnwindDo:[ |
114
bb18f2290ec6
dont write a changeLog if nothing changed (i.e. no checkin was done)
Claus Gittinger <cg@exept.de>
parents:
112
diff
changeset
|
320 |
tempDir recursiveRemove |
71 | 321 |
]. |
322 |
^ false |
|
323 |
||
324 |
" |
|
325 |
SourceCodeManager checkinClass:Array |
|
326 |
" |
|
327 |
||
328 |
"Created: 6.11.1995 / 18:56:00 / cg" |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
329 |
"Modified: 9.12.1995 / 21:43:35 / cg" |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
330 |
! |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
331 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
332 |
checkinClass:aClass logMessage:logMessage |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
333 |
"checkin of a class into the source repository. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
334 |
Return true if ok, false if not." |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
335 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
336 |
|sourceInfo packageDir moduleDir classFileName| |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
337 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
338 |
sourceInfo := self sourceInfoOfClass:aClass. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
339 |
sourceInfo isNil ifTrue:[ |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
340 |
('SOURCEMGR: no sourceInfo for class: ' , aClass name) errorPrintNL. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
341 |
^ false |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
342 |
]. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
343 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
344 |
packageDir := sourceInfo at:#directory. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
345 |
moduleDir := sourceInfo at:#module. "/ use the modules name as CVS module |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
346 |
classFileName := sourceInfo at:#classFileName. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
347 |
"/ classFileName := Smalltalk fileNameForClass:aClass. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
348 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
349 |
^ self checkinClass:aClass fileName:(classFileName , '.st') directory:packageDir module:moduleDir logMessage:logMessage |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
350 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
351 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
352 |
" |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
353 |
SourceCodeManager checkinClass:Array |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
354 |
" |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
355 |
|
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
356 |
"Created: 6.11.1995 / 18:56:00 / cg" |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
357 |
"Modified: 9.12.1995 / 21:40:44 / cg" |
71 | 358 |
! |
359 |
||
133 | 360 |
mostRecentSourceStreamForClassNamed:aClassName |
361 |
|cls sourceInfo classFileName packageDir moduleDir| |
|
71 | 362 |
|
133 | 363 |
cls := Smalltalk classNamed:aClassName. |
364 |
cls notNil ifTrue:[ |
|
365 |
sourceInfo := self sourceInfoOfClass:cls. |
|
366 |
]. |
|
367 |
sourceInfo notNil ifTrue:[ |
|
368 |
packageDir := sourceInfo at:#directory. |
|
369 |
moduleDir := sourceInfo at:#module. "/ use the modules name as CVS module |
|
370 |
classFileName := sourceInfo at:#classFileName. |
|
371 |
] ifFalse:[ |
|
372 |
classFileName := Smalltalk fileNameForClass:aClassName. |
|
373 |
packageDir := Smalltalk sourceDirectoryNameOfClass:aClassName. |
|
374 |
moduleDir := 'stx'. |
|
375 |
]. |
|
376 |
||
377 |
packageDir isNil ifTrue:[ |
|
378 |
'SRCMGR: could not extract packageDir' errorPrintNL. |
|
379 |
^ nil |
|
380 |
]. |
|
71 | 381 |
|
382 |
^ self |
|
133 | 383 |
streamForClass:nil |
384 |
fileName:classFileName |
|
385 |
revision:#newest |
|
386 |
directory:packageDir |
|
387 |
module:moduleDir |
|
388 |
cache:false |
|
71 | 389 |
|
390 |
"Created: 6.11.1995 / 16:09:06 / cg" |
|
133 | 391 |
"Modified: 10.12.1995 / 01:09:06 / cg" |
71 | 392 |
! |
393 |
||
56
6705671acee8
source code managers (optional) These are involved, if no
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
394 |
sourceStreamFor:aClass |
58 | 395 |
"extract a classes source code and return an open readStream on it. |
396 |
The classes source code is extracted using the revision and the sourceCodeInfo, |
|
397 |
which itself is extracted from the classes packageString." |
|
398 |
||
83
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
399 |
^ self sourceStreamFor:aClass revision:nil |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
400 |
! |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
401 |
|
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
402 |
sourceStreamFor:aClass revision:aRevisionStringOrNil |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
403 |
"extract a classes source code and return an open readStream on it. |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
404 |
A revision of nil selects the current (in image) revision. |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
405 |
The classes source code is extracted using the revision and the sourceCodeInfo, |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
406 |
which itself is extracted from the classes packageString." |
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
407 |
|
96 | 408 |
|classFileName revision |
409 |
packageDir moduleDir sourceInfo revInfo| |
|
58 | 410 |
|
83
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
411 |
aRevisionStringOrNil isNil ifTrue:[ |
109 | 412 |
revision := aClass binaryRevision. |
413 |
revision isNil ifTrue:[ |
|
414 |
'SOURCEMGR: class ' , aClass name , ' has no revision string' infoPrintNL. |
|
415 |
^ nil. |
|
416 |
] |
|
83
250202dc956e
added sourceStreamFor:revision: - to access a specific (older) revision
Claus Gittinger <cg@exept.de>
parents:
77
diff
changeset
|
417 |
] ifFalse:[ |
109 | 418 |
revision := aRevisionStringOrNil |
58 | 419 |
]. |
420 |
||
95 | 421 |
sourceInfo := self sourceInfoOfClass:aClass. |
422 |
sourceInfo isNil ifTrue:[^ nil]. |
|
58 | 423 |
|
424 |
packageDir := sourceInfo at:#directory. |
|
425 |
moduleDir := sourceInfo at:#module. "/ use the modules name as CVS module |
|
96 | 426 |
classFileName := sourceInfo at:#classFileName. |
427 |
||
58 | 428 |
|
429 |
^ self |
|
109 | 430 |
streamForClass:aClass |
431 |
fileName:classFileName |
|
432 |
revision:revision |
|
433 |
directory:packageDir |
|
434 |
module:moduleDir |
|
435 |
cache:true |
|
65
098be8484211
dont cache classes of which the newest rev. has been checked out
Claus Gittinger <cg@exept.de>
parents:
64
diff
changeset
|
436 |
|
96 | 437 |
"Modified: 25.11.1995 / 17:04:38 / cg" |
58 | 438 |
! ! |
439 |
||
71 | 440 |
!AbstractSourceCodeManager class methodsFor:'source code administration'! |
59
3bb0b97dffa2
reorganized; shared methods into AbstractSCMMgr
Claus Gittinger <cg@exept.de>
parents:
58
diff
changeset
|
441 |
|
122
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
442 |
checkForExistingContainerInModule:moduleName package:dirName container:fileName |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
443 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
444 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
445 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
446 |
"Created: 9.12.1995 / 19:02:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
447 |
"Modified: 9.12.1995 / 19:43:39 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
448 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
449 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
450 |
checkForExistingModule:moduleName |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
451 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
452 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
453 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
454 |
"Created: 9.12.1995 / 19:02:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
455 |
"Modified: 9.12.1995 / 19:43:54 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
456 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
457 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
458 |
checkForExistingModule:moduleDir package:packageDir |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
459 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
460 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
461 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
462 |
"Created: 9.12.1995 / 19:02:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
463 |
"Modified: 9.12.1995 / 19:44:04 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
464 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
465 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
466 |
createContainerFor:aClass inModule:moduleName directory:dirName container:fileName |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
467 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
468 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
469 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
470 |
"Created: 9.12.1995 / 19:02:47 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
471 |
"Modified: 9.12.1995 / 19:28:15 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
472 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
473 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
474 |
createModule:moduleName |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
475 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
476 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
477 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
478 |
"Created: 9.12.1995 / 19:02:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
479 |
"Modified: 9.12.1995 / 19:53:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
480 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
481 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
482 |
createModule:module package:package |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
483 |
self subclassResponsibility. |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
484 |
^ false |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
485 |
|
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
486 |
"Created: 9.12.1995 / 19:02:23 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
487 |
"Modified: 9.12.1995 / 19:54:26 / cg" |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
488 |
! |
4dd60cb14bc6
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
121
diff
changeset
|
489 |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
490 |
revisionLogOf:aClass |
95 | 491 |
"return info about the repository container and |
492 |
the revisionlog as a collection of revision entries. |
|
493 |
Return nil on failure. |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
494 |
The returned information is a structure (IdentityDictionary) |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
495 |
filled with: |
95 | 496 |
#container -> the RCS container file name |
497 |
#filename -> the actual source file name |
|
498 |
#newestRevision -> the revisionString of the newest revision |
|
499 |
#numberOfRevisions -> the number of revisions in the container |
|
500 |
#revisions -> collection of per-revision info |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
501 |
|
95 | 502 |
per revision info consists of one record per revision: |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
503 |
|
95 | 504 |
#revision -> the revision string |
505 |
#author -> who checked that revision into the repository |
|
506 |
#date -> when was it checked in |
|
507 |
#state -> the RCS state |
|
508 |
#numberOfChangedLines -> the number of changed line w.r.t the previous |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
509 |
|
95 | 510 |
revisions are ordered newest first |
511 |
(i.e. the last entry is for the initial revision; the first for the most recent one) |
|
512 |
" |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
513 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
514 |
^ self |
95 | 515 |
revisionLogOf:aClass fromRevision:nil toRevision:nil |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
516 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
517 |
" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
518 |
SourceCodeManager revisionLogOf:Array |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
519 |
" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
520 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
521 |
"Created: 25.11.1995 / 11:25:02 / cg" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
522 |
"Modified: 25.11.1995 / 11:56:16 / cg" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
523 |
! |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
524 |
|
110 | 525 |
revisionLogOf:aClass fromRevision:rev1 |
526 |
"return info about the repository container and |
|
527 |
(part of) the revisionlog as a collection of revision entries. |
|
528 |
Return nil on failure. |
|
529 |
||
530 |
The returned information is a structure (IdentityDictionary) |
|
531 |
filled with: |
|
112 | 532 |
#container -> the RCS container file name |
533 |
#filename -> the actual source file name |
|
534 |
#newestRevision -> the revisionString of the newest revision |
|
535 |
#numberOfRevisions -> the number of revisions in the container |
|
536 |
#revisions -> collection of per-revision info (see below) |
|
110 | 537 |
|
112 | 538 |
for some classes, additional info is returned: |
110 | 539 |
|
112 | 540 |
#renamed -> true if the class has been renamed or copied |
541 |
and the sourceInfo is from the previous one |
|
542 |
#expectedFileName -> the filename we would expect (i.e. for the new class) |
|
110 | 543 |
|
112 | 544 |
rev1 / rev2 specify from which revisions a logEntry is wanted: |
545 |
If rev1 is nil, the first revision is the initial revision |
|
546 |
otherwise, the log starts with that revision. |
|
547 |
If rev2 is nil, the last revision is the newest revision |
|
548 |
otherwise, the log ends with that revision. |
|
549 |
If both are nil, no logEntries are extracted (i.e. only the header). |
|
110 | 550 |
|
112 | 551 |
per revision info consists of one record per revision: |
110 | 552 |
|
112 | 553 |
#revision -> the revision string |
554 |
#author -> who checked that revision into the repository |
|
555 |
#date -> when was it checked in |
|
556 |
#state -> the RCS state |
|
557 |
#numberOfChangedLines -> the number of changed line w.r.t the previous |
|
110 | 558 |
|
112 | 559 |
revisions are ordered newest first |
560 |
(i.e. the last entry is for the initial revision; the first for the most recent one) |
|
561 |
" |
|
110 | 562 |
|
563 |
^ self revisionLogOf:aClass fromRevision:rev1 toRevision:nil |
|
564 |
||
565 |
" |
|
566 |
SourceCodeManager revisionLogOf:Array fromRevision:'1.40' |
|
567 |
" |
|
568 |
||
569 |
"Created: 6.11.1995 / 18:56:00 / cg" |
|
570 |
"Modified: 7.12.1995 / 11:51:15 / cg" |
|
571 |
! |
|
572 |
||
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
573 |
revisionLogOf:aClass fromRevision:rev1 toRevision:rev2 |
95 | 574 |
"return info about the repository container and |
575 |
(part of) the revisionlog as a collection of revision entries. |
|
576 |
Return nil on failure. |
|
577 |
||
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
578 |
The returned information is a structure (IdentityDictionary) |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
579 |
filled with: |
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
580 |
#container -> the RCS container file name |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
581 |
#filename -> the actual source file name |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
582 |
#newestRevision -> the revisionString of the newest revision |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
583 |
#numberOfRevisions -> the number of revisions in the container |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
584 |
#revisions -> collection of per-revision info (see below) |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
585 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
586 |
for some classes, additional info is returned: |
96 | 587 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
588 |
#renamed -> true if the class has been renamed or copied |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
589 |
and the sourceInfo is from the previous one |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
590 |
#expectedFileName -> the filename we would expect (i.e. for the new class) |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
591 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
592 |
rev1 / rev2 specify from which revisions a logEntry is wanted: |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
593 |
If rev1 is nil, the first revision is the initial revision |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
594 |
otherwise, the log starts with that revision. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
595 |
If rev2 is nil, the last revision is the newest revision |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
596 |
otherwise, the log ends with that revision. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
597 |
If both are nil, no logEntries are extracted (i.e. only the header). |
96 | 598 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
599 |
per revision info consists of one record per revision: |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
600 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
601 |
#revision -> the revision string |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
602 |
#author -> who checked that revision into the repository |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
603 |
#date -> when was it checked in |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
604 |
#state -> the RCS state |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
605 |
#numberOfChangedLines -> the number of changed line w.r.t the previous |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
606 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
607 |
revisions are ordered newest first |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
608 |
(i.e. the last entry is for the initial revision; the first for the most recent one) |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
609 |
" |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
610 |
|
96 | 611 |
|cls sourceInfo packageDir moduleDir classFileName info| |
95 | 612 |
|
613 |
sourceInfo := self sourceInfoOfClass:aClass. |
|
614 |
sourceInfo isNil ifTrue:[^ nil]. |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
615 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
616 |
packageDir := sourceInfo at:#directory. |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
617 |
moduleDir := sourceInfo at:#module. "/ use the modules name as CVS module |
96 | 618 |
"/ classFileName := Smalltalk fileNameForClass:aClass. |
619 |
classFileName := sourceInfo at:#classFileName. |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
620 |
|
96 | 621 |
info := self |
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
622 |
revisionLogOf:aClass |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
623 |
fromRevision:rev1 |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
624 |
toRevision:rev2 |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
625 |
fileName:(classFileName , '.st') |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
626 |
directory:packageDir |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
627 |
module:moduleDir. |
96 | 628 |
|
629 |
info notNil ifTrue:[ |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
630 |
(sourceInfo includesKey:#renamed) ifTrue:[ |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
631 |
info at:#renamed put:(sourceInfo at:#renamed) |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
632 |
]. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
633 |
(sourceInfo includesKey:#expectedFileName) ifTrue:[ |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
634 |
info at:#expectedFileName put:(sourceInfo at:#expectedFileName) |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
635 |
] |
96 | 636 |
]. |
637 |
^ info |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
638 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
639 |
" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
640 |
SourceCodeManager revisionLogOf:Array fromRevision:'1.40' toRevision:'1.43' |
96 | 641 |
SourceCodeManager revisionLogOf:XtBoxNew |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
642 |
" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
643 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
644 |
"Created: 6.11.1995 / 18:56:00 / cg" |
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
645 |
"Modified: 9.12.1995 / 22:04:08 / cg" |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
646 |
! |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
647 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
648 |
revisionLogOf:cls fromRevision:rev1 toRevision:rev2 fileName:classFileName directory:packageDir module:moduleDir |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
649 |
"this must be implemented by a concrete source-code manager" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
650 |
|
87 | 651 |
self subclassResponsibility. |
73 | 652 |
|
87 | 653 |
"Created: 15.11.1995 / 18:12:51 / cg" |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
654 |
"Modified: 25.11.1995 / 11:56:38 / cg" |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
655 |
! |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
656 |
|
147 | 657 |
writeHistoryLogSince:timeGoal filterSTSources:filter to:aStream |
658 |
self writeHistoryLogSince:timeGoal filterSTSources:filter filterUser:nil to:aStream |
|
659 |
||
660 |
"Modified: 13.12.1995 / 11:03:01 / cg" |
|
661 |
! |
|
662 |
||
663 |
writeHistoryLogSince:timeGoal to:aStream |
|
664 |
self writeHistoryLogSince:timeGoal filterSTSources:true filterUser:nil to:aStream |
|
665 |
||
666 |
"Created: 13.12.1995 / 10:28:27 / cg" |
|
667 |
"Modified: 13.12.1995 / 11:00:49 / cg" |
|
668 |
! |
|
669 |
||
96 | 670 |
writeRevisionLogMessagesFrom:log to:aStream |
671 |
"helper; send the revisionlog to aStream" |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
672 |
|
138
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
673 |
self writeRevisionLogMessagesFrom:log withHeader:true to:aStream |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
674 |
|
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
675 |
"Created: 10.12.1995 / 16:51:30 / cg" |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
676 |
! |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
677 |
|
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
678 |
writeRevisionLogMessagesFrom:log withHeader:header to:aStream |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
679 |
"helper; send the revisionlog to aStream" |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
680 |
|
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
681 |
header ifTrue:[ |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
682 |
(log at:#renamed ifAbsent:false) ifTrue:[ |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
683 |
aStream nextPutAll:' Class was probably renamed; revision info is from original class.'. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
684 |
aStream cr; nextPutAll:' You may have to create a new container for it.'. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
685 |
aStream cr; cr. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
686 |
]. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
687 |
|
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
688 |
aStream nextPutAll:' Total revisions: '; nextPutAll:(log at:#numberOfRevisions) printString; cr. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
689 |
aStream nextPutAll:' Newest revision: '; nextPutAll:(log at:#newestRevision) printString; cr. |
96 | 690 |
]. |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
691 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
692 |
(log at:#revisions) do:[:entry | |
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
693 |
|logMsg| |
96 | 694 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
695 |
aStream cr. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
696 |
aStream nextPutAll:' revision '; nextPutAll:(entry at:#revision); tab. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
697 |
aStream nextPutAll:' date: '; nextPutAll:(entry at:#date); tab. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
698 |
aStream nextPutAll:' author: '; nextPutAll:(entry at:#author); tab. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
699 |
aStream cr. |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
700 |
|
127
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
701 |
logMsg := entry at:#logMessage. |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
702 |
(logMsg isEmpty or:[logMsg isBlank or:[logMsg withoutSeparators = '.']]) ifTrue:[ |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
703 |
logMsg := '*** empty log message ***' |
7686a4413407
more protocol to create containers for new classes
Claus Gittinger <cg@exept.de>
parents:
123
diff
changeset
|
704 |
]. |
138
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
705 |
aStream tab; nextPutAll:logMsg. |
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
706 |
aStream cr. |
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
707 |
]. |
96 | 708 |
|
709 |
"Created: 16.11.1995 / 13:25:30 / cg" |
|
138
386f2d831989
optional include header info in revision list
Claus Gittinger <cg@exept.de>
parents:
135
diff
changeset
|
710 |
"Modified: 10.12.1995 / 16:51:15 / cg" |
73 | 711 |
! |
712 |
||
77 | 713 |
writeRevisionLogOf:aClass fromRevision:rev1 toRevision:rev2 to:aStream |
73 | 714 |
"extract a classes log and append it to aStream." |
715 |
||
96 | 716 |
|log | |
73 | 717 |
|
96 | 718 |
log := self revisionLogOf:aClass fromRevision:rev1 toRevision:rev2. |
719 |
log isNil ifTrue:[^ false]. |
|
720 |
||
721 |
self writeRevisionLogMessagesFrom:log to:aStream. |
|
722 |
^ true |
|
73 | 723 |
|
724 |
" |
|
77 | 725 |
SourceCodeManager writeRevisionLogOf:Array fromRevision:'1.40' toRevision:'1.43' to:Transcript |
73 | 726 |
" |
727 |
||
728 |
"Created: 6.11.1995 / 18:56:00 / cg" |
|
96 | 729 |
"Modified: 25.11.1995 / 17:24:55 / cg" |
77 | 730 |
! |
731 |
||
87 | 732 |
writeRevisionLogOf:aClass to:aStream |
733 |
"extract a classes log and append it to aStream." |
|
734 |
||
735 |
^ self |
|
736 |
writeRevisionLogOf:aClass fromRevision:nil toRevision:nil to:aStream |
|
77 | 737 |
|
87 | 738 |
" |
739 |
SourceCodeManager writeRevisionLogOf:Array to:Transcript |
|
740 |
" |
|
741 |
! ! |
|
77 | 742 |
|
93
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
743 |
!AbstractSourceCodeManager class methodsFor:'documentation'! |
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
744 |
|
83042eccb8d1
revisionLogOf... extracts the log manager dependent; writeRevisionLog is now here
Claus Gittinger <cg@exept.de>
parents:
87
diff
changeset
|
745 |
version |
147 | 746 |
^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.36 1995-12-13 10:26:02 cg Exp $' |
123
9a1dff152656
dummy entries to check-for & create modules & directories
Claus Gittinger <cg@exept.de>
parents:
122
diff
changeset
|
747 |
! ! |