forked from cms-sw/SCRAM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
565 lines (430 loc) · 23.2 KB
/
ChangeLog
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
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
test comment not for merge
test comment not for merge2
Different comment
2015-06-18 Shahzad Muzaffar <[email protected]>
* New filter 'ifversion' supported for toolfiles. Conditional
flags can be set/remove based on a tool version e.g. in root 6 tool
file one can have the following to disable capabilities
<ifversion name="^[6-9]\.">
<flag NO_CAPABILITIES="yes"/>
</ifversion>
2015-01-21 Shahzad Muzaffar <[email protected]>
* In non-interactive mode do not read the releases.map file and
ignore all release checks.
2014-11-25 Shahzad Muzaffar <[email protected]>
* Use system cp for copying directories to avoid couple of extra stats
on the file system.
* Do not copy un-necessary stuff from release in to dev area.
* Document/man pages updated for scram control flags.
2014-10-27 Shahzad Muzaffar <[email protected]>
* Makefile: Newly added makefile for building and installing SCRAM
* docs: Added scram manual pages
* SCRAM/Helper.pm: Drop scram helpers module and use man scram as
replacement.
* SCRAM/SiteConfig.pm: New module to configure scram for sites e.g.
disabling accessing release information via internet.
* SCRAM/SCRAM.pm, SCRAM/CMD.pm: New 'scram config <key>[=<value>]'
command to show/set site specific parameters; check for deprecated
releases and refuse to create dev area is a release has been deprecated
SCRAM/Plugin/CMSSW.pm: Code cleanup; release deprecated checks; do not
access releases.map file from internet is release-checks (site
specific) parameter is set.
* SCRAM/ScramProjectDB.pm: Do not create dev area if release is
deprecated.
2014-09-03 Shahzad Muzaffar <[email protected]>
* BuildSystem/ToolManager.pm, BuildSystem/ToolCache.pm: Do not setup local tool
if the tool's definition is not changed w.r.t the tool in the release area.
pass --force|-f option to "scram setup" force the local tool setup.
* SCRAM/CMD.pm: Update symlinks under external/<arch> if a local tool is setup.
2014-08-29 Shahzad Muzaffar <[email protected]>
ActiveDoc/Parse.pm: Make sure that scram also ignore the comment at first line.
2014-08-05 Shahzad Muzaffar <[email protected]>
* bin/scram: Drop unused scram --force|-f support.
* BuildSystem/BuildFile.pm: New BuildFile tags release and
compiler added e.g. <release name="regexp"></release>
* SCRAM/CMD.pm, SCRAM/Helper.pm, SCRAM/SCRAM.pm, SCRAM/ScramProjectDB.pm:
Added --force|-f flag for "scram project" command to disable checking
for production architecture for a release.
* Utilities/Verbose.pm: Send verbose errors.
* CMSSW.pm: Look for state=IB in releases.map file for IBs
default/production arch.
2014-05-05 Shahzad Muzaffar <[email protected]>
* SCRAM/SCRAM.pm: Use $CMS_PATH/common/cmsos to find out the OS
* SCRAM/CMD.pm: Printout warning message if
- developer area is created for a non-production arch
- developer area arch and OS does not match
* SCRAM/CMD.pm: ARCH/OS mismatch check added for "scram build"
- Do not allow to build/compile if ARCH and OS mismatch
- "scram build --ignore-arch" to remove the mismatch restriction.
* PackageList: Fix List of classes for verbosity.
2014-05-02 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm: Prefer domainname-links.db over links.db.
* Plugins/CMSSW.pm: Use https://cmssdt.cern.ch/SDT/releases.map instead of
Tag Collector to get the release archs.
2013-12-11 Shahzad Muzaffar <[email protected]>
* BuildSystem/BuildFile.pm: Print error messages for unknown attributes
or missing files attribute for test/plugsin BuildFiles.
* BuildSystem/MakeInterface.pm: Exit with non-zero code even with -k option.
At the end of build print an error message to show that there were some build
errors.
* SCRAM/Plugins/RuntimeEnv.pm: For scram runtime command, always set PATH which
forces the shell to discard it cache and re-search for binaries again. This will
avoid running rehash (tcsh) or force setting PATH (bash).
2013-07-26 Shahzad Muzaffar <[email protected]>
* Configuration/ConfigArea.pm: Fixed logic for searching the arch of a release
area. This allows to have + char in path.
2013-05-27 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: For project tool e.g. cmssw, convert any
DYLD_LIBRARY_PATH in to LD_LIBRARY_PATH.
2013-04-08 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: "scram list <version>" can now match all available versions which
match <version>. If no version is matched for $SCRAM_ARCH then other archs are
also search. If SCRAM_ARCH is forced via command-line e.g. "scram -a <arch> list <ver>"
then <ver> is only searched for <arch>.
* BuildSystem/MakeInterface.pm: Cleanup gmake options. Every non-recognized
option is passed to gamke.
SCRAM/CMD.pm: Dropped --xmlb|-x "scram build" option. this was never used
and now we only read xml BuildFiles.
* SCRAM/Helper.pm: Updated "scram build" help message.
* SCRAM/SCRAM.pm: Dropped unused spawnarch() function. This was used in
old days to re-run scram for a different SCRAM_ARCH but there is no need
for it any more.
2013-03-14 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm: Search for all available arch from all the
scram dbs linked in too.
* SCRAM/CMD.pm: When requesting to create a dev area, if release is
not available for current SCRAM_ARCH then show a warning mesage.
* SCRAM/CMD.pm: As SCRAM is now arch independenct, so do not stop
is if scram is not available an arch.
* SCRAM/CMD.pm: For "scram db" command use writeable DB path.
* bin/scram: Override writable SCRAM DB path too is SCRAM_USERLOOKUPDB
is set.
* SCRAM/CMD.pm: Bug fix, use basename instead of dirname to get the project version
2013-03-13 Shahzad Muzaffar <[email protected]>
* Copy tool files first in to dev area to make sure their timestamp
is earlier then the timestamp files in .SCRAM/<arch>/timestamp dir.
2013-03-12 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/DocParser.pm: Catch all error thrown while parsing the
tool files.
* Configuration/ConfigArea.pm: Use config/config_tag file to have the
config tag and use this tag as config checksum.
2013-02-13 Shahzad Muzaffar <[email protected]>
* BuildSystem/ToolParser.pm,BuildSystem/ToolManager.pm,bin/chktool:
Avoid using SCRAM_PATH_VARIABLES environment variable.
2013-02-07 Shahzad Muzaffar <[email protected]>
* BuildSystem/ToolManager.pm, BuildSystem/ToolParser.pm, SCRAM/SCRAM.pm:
- Treat PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, DYLD_FALLBACK_LIBRARY_PATH
and PYTHONPATH as path type variables for tool definition.
- Do not allow to set the above variables for <client><environment/></client>
as this can override runtime environment.
* bin/chktool: New tool added to test a tool definition.
2012-12-17 Shahzad Muzaffar <[email protected]>
* Cache/CacheUtilities.pm: No more dependency on Compress::Zlib and
always use gzip.
* SCRAM/CMD.pm: Set LOCALTOP environment at the time of project setup
so that tools which want to set variables pointing to project area can
properly do so.
2012-10-16 Shahzad Muzaffar <[email protected]>
* BuildSystem/Template/Plugins/PluginCore.pm: Add utility functions
to add default product is missing.
2012-06-22 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/DocParser.pm: Bug fix, properly parse <!-- -->
style xml comments.
* BuildSystem/ToolManager.pm: Remove obsolete compiler section.
2012-05-23 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm: Check for .SCRAM/arch/timestamps/self file
for a valid release area.
* SCRAM/ScramProjectDB.pm: bug fix, .SCRAM/arch/timestamps/self is
file not directory. This effected "scram list -e" output.
* SCRAM/CMD.pm: Bug fix, for "scram p <path>". <path> should be an
absolute.
2012-05-07 Shahzad Muzaffar <[email protected]>
* CMD.pm: Command-line option --all added for "scram list"
to see all available projects for all archs.
* CMD.pm: "scram project" now can optionally talk to tag collector
to get the production arch for a release. This helps creating dev
area if project is available for multiple SCRAM_ARCHs
2012-04-26 Shahzad Muzaffar <[email protected]>
* BuildSystem/BuildFile.pm, BuildSystem/ToolParser.pm:
Do not save un necessary items in ProjectCache.db
* SCRAM/ScramProjectDB.pm: Make use of <path>/*/etc/default-scramv1-version
to find out the installed arch instead of a un necessary
<path>/etc/scramrc/*.arch files.
2012-04-25 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: Convert LD_LIBRARY_PATH
to DYLD_FALLBACK_LIBRARY_PATH for osx SCRAM_ARCHs.
* BuildSystem/ToolData.pm: Do not duplicate LIBDIR/INCLUDE
paths in dev area if path value does not depend on release
location.
2012-02-13 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm, SCRAM/Helper.pm, SCRAM/CMD.pm:
New option -e to show only projects which actually exist.
* BuildSystem/BuildFile.pm, BuildSystem/Product.pm,
BuildSystem/ToolParser.pm: Allow multiple/nasted arch sections
2012-02-07 Shahzad Muzaffar <[email protected]>
* bin/scram: Updated to have original SCRAM_ARCH value saved.
* BuildSystem/ToolManager.pm: Print errors on STDERR so the
eval `scram run -sh` can show them.
* Configuration/ConfigArea.pm, SCRAM/CMD.pm, SCRAM/SCRAM.pm:
Now scram automatically switch arch depending on area arch e.g.
if dev/release area has only one arch then scram will set
SCRAM_ARCH to match that instead of complaining.
* SCRAM/ScramProjectDB.pm: Regardless of SCRAM_ARCH, if release
is only available for one arch then do not complain and create
dev area for that arch.
2012-01-12 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Allow to run "scram project <version>".
2011-10-26 Shahzad Muzaffar <[email protected]>
* bin/scram, SCRAM/ScramProjectDB.pm: Allow seperate
read and write path for SCRAM link.db.
2011-10-18 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm: Allow to show patch and partial
build projects via "scram list" too. Make sure there are no
duplicate links in links.db.
2011-10-14 Shahzad Muzaffar <[email protected]>
* INSTALL.txt: updated install instructions.
* bin/scram: cleanup, no more local login for calculating
SCRAM_ARCH. Updated for DB less scram. install/remove
commands are no more needed.
* PackageList.pm: Cleanup, removed the deleted perl module.
* BuildSystem/ToolManager.pm: Architecture cleanup.
* Configuration/BootStrapProject.pm: Architecture cleanup.
* Configuration/ConfigArea.pm: Architecture cleanup.
* SCRAM/CMD.pm: Architecture cleanup, cleanup unneeded
commands (install/remove), DB less SCRAM updates.
* SCRAM/Helper.pm: Cleanup unneeded commands.
* SCRAM/SCRAM.pm: Architecture cleanup and DB less SCRAM
updates.
* SCRAM/ScramProjectDB.pm: New DB less SCRAM updates. Now
SCRAM configuration is read from <cmspath>/etc/scramrc area
e.g. links file under this can contain path of other SCRAM
areas projects/<PROJECT_NAME> file can contain the relative
path to search under <cmspath>/<SCRAM_ARCH> for install
projects (e.g. CMSSW file can have cms/cmssw/CMSSW_*).
* Utilities/AddDir.pm: Bug fix, copy all files except '.' and
'..'.
* SCRAM/SCRAM_SITE.pm, Utilities/Architecture.pm: Removed
unneeded perl modules.
2011-09-05 Shahzad Muzaffar <[email protected]>
* Cache/Cache.pm: Only search valid directories which passes
[a-zA-Z0-9][a-zA-Z0-9-_]* filter.
2011-01-14 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/DocParser.pm: Allowed <!-- --> style comment
in .xml type tool definitions and BuildFiles.
2010-12-07 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Create symlinks when an external tool is changed.
* BuildSystem/ToolCache.pm: isdirty() support method added.
2010-12-02 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Fix the timestamp of Tools.mk file.
* BuildSystem/ToolManager.pm: Properly create symlinks for newly
setup tools.
2010-10-12 Shahzad Muzaffar <[email protected]>
* BuildSystem/Template/Plugins/PluginCore.pm: Allow arch specific flags
and dependency.
2010-09-30 Shahzad Muzaffar <[email protected]>
* SCRAM/ScramProjectDB.pm: Allow register project path with a
different path.
* SCRAM/CMD.pm: Added -d option for "scram install" to provide
the install path of the project.
2010-09-07 Shahzad Muzaffar <[email protected]>
* AutoToolSetup.pm: Removed file.
* BuildSystem/ToolManager.pm: Do not allow to setup a tool
interactively.
* BuildSystem/ToolParser.pm: Always use value from the toolfile
instead of looking for defaults in site/tools.conf.
* BuildSystem/ToolSettingValidator.pm: Do not promt use for input,
just exit with non-zero code when a value for a variable is missing.
* Configuration/BootStrapProject.pm: Cleanup for site/tools.conf
which is no more needed.
* SCRAM/CMD.pm: Cleanup for AutoToolSetup which is no more needed.
* SCRAM/Helper.pm: No more user interactive mode for setting up a
tool.
* SCRAM/SCRAM.pm: Cleanup for interactive mode.
2010-07-28 Shahzad Muzaffar <[email protected]>
* Cache/Cache.pm: Re-creation of scram internals caches in case
they get corrupted.
* SCRAM/CMD.pm: Checks added to make sure that scram internal
caches are valid. If cache files are corrupted then re-create
them. Support added to unset the runtime environment
(scram unsetenv -csh).
SCRAM/Plugins/RuntimeEnv.pm: Support added for unset runtime
environment and skip setting runtime environment path for which
symlinks are created in the release/dev area.
2010-01-11 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Fix for extra optional environment variables.
* SCRAM/Plugins/RuntimeEnv.pm: No more SCRAMRT_* backup environment
variables are created to suppose old SCRAVM V1 versions. Backup
environment variables are now saved with a prefix of SRT_ to avoid
DYLD_* warnings on Mac. Special variables for setting up the optional
environment are added.
2009-11-23 Shahzad Muzaffar <[email protected]>
* SCRAM/SCRAM.pm: Warning message are now sent to STDERR so that eval
do not try to execute the error message itself.
2009-10-06 Shahzad Muzaffar <[email protected]>
* BuildSystem/BuildDataStorage.pm: Make sure the BuildFile exists before
parsing it.
* SCRAM/CMD.pm: Do not read the DirCache.db if -f option is used. This
will allow o run "scram build -f clean" if DirCache.db is corrupted.
* SCRAM/Plugins/RuntimeEnv.pm: Cleanup, Runtime.db was read twice.
2009-03-18 Shahzad Muzaffar <[email protected]>
* BuildSystem/ToolParser.pm: Fixed the interactive tool setup for variables
which are already set as runtime environment.
2009-02-16 Shahzad Muzaffar <[email protected]>
* Cache/CacheUtilities.pm: Used Data::Dumper to store SCRAM cache which
is portable for different arch.
2008-09-17 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Print an error message when --update is passed for a
scram project command. --update option was broken since long and now
scram prints an error message when this option is used.
* SCRAM/Helper.pm: Updated the help message for project command.
2008-09-16 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/ProjectChkSum.pm: Checksum is calculated by first sorting
the files names in order to get uniq chksum for different arch.
2008-09-15 Shahzad Muzaffar <[email protected]>
* BuildSystem/Product.pm: The file="name" attrib of library/bin tag from
the BuildFile is saved as it is in the generated rules i.e SCRAM is not
going to expand *.cc in to individual file names. This will
automatically build newly added .cc files without updating the BuildFile.
2008-09-09 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: Improved env backup so that current SCRAM
releases should be able to correctly re-use the env backup of future
releases.
2008-08-27 Shahzad Muzaffar <[email protected]>
* Cache/Cache.pm: Added hack to load SCRAM::Plugins::DirCache to do project
specific stuff. This will help for big library generation.
2008-08-14 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: Fix for setting env on Mac because on Mac
setting backups for variables like DYLD_* were causing some trouble. Fix
for setting up env from SCRAM V1 project first and then SCRAM V2 project.
2008-07-30 Shahzad Muzaffar <[email protected]>
* SCRAM/SCRAM.pm: An error message printed out at stderr to inform
developer that the release top for his/her dev. area has been
removed/unusable.
2008-07-22 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: Now scram runtime does not wipe out the
new variables set b/w two scram runtimes.
2008-07-16 Shahzad Muzaffar <[email protected]>
* BuildSystem/ToolManager.pm: Fixed the ordering of the tools.
* SCRAM/ScramProjectDB.pm: force the file permissions of SCRAM
DB file to be 0644.
2008-07-01 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Bug fixed which was causing the "scram list proj vers"
to fail.
2008-06-25 Shahzad Muzaffar <[email protected]>
* SCRAM/SCRAM.pm: Replaced "USE" with "use" which is a valid perl key
word. Due to this scram was failing when SCRAM_ARCH was not set.
2008-06-20 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Fixed to print out proper error message when
"scram project name version" commnad is run with name/version which
does not exist.
2008-06-18 Shahzad Muzaffar <[email protected]>
* BuildSystem/BuildDataStorage.pm,BuildSystem/TemplateInterface.pm:
Basic biglib support added, the changes will not break old SCRAM
releases.
2008-06-16 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm: Do not skip LOCALRT env variable.
* SCRAM/SCRAM.pm: Do not set LOCALRT here, it was set by self tool,
make all fetal messages go to stderror, local RuntimeEnv perl module
dynamically so that we can pick it up from project release area too,
warning message added when try to create a dev area which already
exists.
2008-06-06 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/RuntimeEnv.pm,BuildSystem/MakeInterface.pm: Fixed to run
default gmake if "gmake" is not setup as an external tool.
2008-06-02 Shahzad Muzaffar <[email protected]>
* Cache/Cache.pm: Disable the non-xml BuildFile read warning.
2008-05-21 Shahzad Muzaffar <[email protected]>
* SCRAM/CMD.pm: Bug fix, scram setup now setup all the tools if no
tool name is provided on the command-line.
2008-05-15 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugins/Attic/RuntimeEnv.pm: Do not set SCRAMRT_* and *_SCRAMRT
backup variavles when doing "scram build" and also then do not set the
environment when "scram b" is called recursively.
2008-04-21 Shahzad Muzaffar <[email protected]>
* BuildSystem/Template/Plugins/PluginCore.pm: Bug fixed for flags which
are arch specific.
* Cache/CacheUtilities.pm: Switch to use gzip if Compress::Zlib perl
module is not installed.
2008-04-14 Shahzad Muzaffar <[email protected]>
* BuildSystem/BuildDataStorage.pm: Fixed the bug when package level
src directory is deleted and there is only BuildFile left in the
package directory.
2008-04-07 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugin/RuntimeEnv.pm: Cleanup.
* BuildSystem/MakeInterface.pm: Run with full path to avoid picking
it up from /usr/bin area.
2008-04-02 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugin/RuntimeEnv.pm: Now saves the tools runtime in
.SCRAM/<arch>/RuntimeEnvCache.db.gz file. Every time an external tool
is changes (ToolCache.db.gz) file changes then this
RuntimeEnvCache.db.gz file will be update too.
It also now prints a warning message when it tries to setup
runtime environment on top of a already set SCRAM V1 environment.
* Configuration/ConfigArea.pm: Do not copy RuntimeEnvCache.db.gz
when creating a developer area.
2008-04-02 Shahzad Muzaffar <[email protected]>
* SCRAM/Plugin/RuntimeEnv.pm: Newly added module for setting runtime
environment.
* SCRAM/SCRAM.pm, SCRAM/CMD.pm: Fixed to use new SCRAM::Plugin::RuntimeEnv
for setting up the runtime environment.
Now scram runtime behaviour is
like this e.g for PATH runtime variable
- At first "scramv1 runtime -csh", it will
- backup all the env variables it is going to modify with
the values set by scram
PATH => PATH_SCRAMRT=<values_set_by_scram>
- backup all the env variables with their initial values
PATH => SCRAMRT_PATH=<init_value_of_PATH>
- set the env variable with new values
PATH=<values_set_by_scram>:${SCRAMRT_PATH}
- Now if you make changes in env after doing "scram runtime"
PATH=<your_new_changes1>:${PATH}
PATH=${PATH}:<your_new_changes2>
- Next time when you do "scramv1 run" then it will set
- PATH_SCRAMRT=<values_set_by_scram>
- SCRAMRT_PATH=<value of ${PATH} with ${PATH_SCRAMRT} removed from it>
- PATH=<values_set_by_scram>:${SCRAMRT_PATH}
So in this case you will end up with
PATH=<values_set_by_scram>:<your_new_changes1>:<init_value_of_PATH>:<your_new_changes2>
In case if the initial environment was set by SCRAM V1_x or V0_X then
the next "scram runtime" will behave as old SCRAM i.e. changes you
made after first "scram runtime" will be lost.
2008-03-13 Shahzad Muzaffar <[email protected]>
* bin/scram: Make use of --arch <arch> to properly switch to a different
scramdb.
* SCRAM/Plugins/ProjectChkSum.pm: New perl module for generating
checksum for a project config directory.
* PackageList.pm: Updated according to the removed perl modules.
* ActiveDoc/ActiveDoc.pm: Code cleanup.
* ActiveDoc/Parse.pm, ActiveDoc/SimpleDoc.pm: Updated to properly parse
XML and non-XML based files.
* ActiveDoc/SimpleURLDoc.pm: Code cleanup (no more tool caching)
* BuildSystem/ToolCache.pm: Code cleanup (no more tool caching) and no
more raw tool data storage.
* BuildSystem/ToolManager.pm: Code cleanup (no more tool caching),
always read tools for config/toolbox/<arch>. No need to provide tool
version while setting up tool.
* BuildSystem/ToolParser.pm: Code cleanup, only support single tool
version.
* Cache/Cache.pm: Code for converting non-XML BuildFiles to XML-based
files moved for CMD.pm.
* Cache/CacheUtilities.pm: SCRAM internal caches are now zipped (much
smaller size <500KB)
* Configuration/BootStrapProject.pm: Easy bootstraping project area, no
more requirements.xml files needed.
* Configuration/ConfigArea.pm: Code cleanup and multiple arch dev
support.
* SCRAM/AutoToolSetup.pm: Cod ecleanup and updates for multiple arch dev
support.
* SCRAM/CMD.pm: Code cleanup, multiple arch support, convertion of
non-XML BuildFiles to XML-based BuildFile.
* SCRAM/Helper.pm: updated help messages.
* SCRAM/ProdSymLinks.pm: Allowed environement variables to be used in
key too i.e. $(SCRAM_ARCH}:/tmp/${HOME} possible.
* SCRAM/SCRAM.pm: Code cleanup (merged code from ScramFunctions.pm).
* SCRAM/ScramProjectDB.pm: Cleanup, no more reading of
.SCRAM/Environment file when doing "scramv1 list".
* Utilities/AddDir.pm: Some new utility functions added.
* Utilities/CVSmodule.pm, Utilities/DataItem.pm, Utilities/HashDB.pm,
Utilities/IndexedFileStore.pm, Utilities/SCRAMUtils.pm,
Utilities/SVNmodule.pm, URL/*.pm: Removed perl modules.