1 |
2013-04-08 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
2 |
|
3 |
* SCRAM/CMD.pm: "scram list <version>" can now match all available versions which
|
4 |
match <version>. If no version is matched for $SCRAM_ARCH then other archs are
|
5 |
also search. If SCRAM_ARCH is forced via command-line e.g. "scram -a <arch> list <ver>"
|
6 |
then <ver> is only searched for <arch>.
|
7 |
* BuildSystem/MakeInterface.pm: Cleanup gmake options. Every non-recognized
|
8 |
option is passed to gamke.
|
9 |
SCRAM/CMD.pm: Dropped --xmlb|-x "scram build" option. this was never used
|
10 |
and now we only read xml BuildFiles.
|
11 |
* SCRAM/Helper.pm: Updated "scram build" help message.
|
12 |
* SCRAM/SCRAM.pm: Dropped unused spawnarch() function. This was used in
|
13 |
old days to re-run scram for a different SCRAM_ARCH but there is no need
|
14 |
for it any more.
|
15 |
|
16 |
2013-03-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
17 |
|
18 |
* SCRAM/ScramProjectDB.pm: Search for all available arch from all the
|
19 |
scram dbs linked in too.
|
20 |
* SCRAM/CMD.pm: When requesting to create a dev area, if release is
|
21 |
not available for current SCRAM_ARCH then show a warning mesage.
|
22 |
* SCRAM/CMD.pm: As SCRAM is now arch independenct, so do not stop
|
23 |
is if scram is not available an arch.
|
24 |
* SCRAM/CMD.pm: For "scram db" command use writeable DB path.
|
25 |
* bin/scram: Override writable SCRAM DB path too is SCRAM_USERLOOKUPDB
|
26 |
is set.
|
27 |
* SCRAM/CMD.pm: Bug fix, use basename instead of dirname to get the project version
|
28 |
|
29 |
2013-03-13 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
30 |
|
31 |
* Copy tool files first in to dev area to make sure their timestamp
|
32 |
is earlier then the timestamp files in .SCRAM/<arch>/timestamp dir.
|
33 |
|
34 |
2013-03-12 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
35 |
|
36 |
* SCRAM/Plugins/DocParser.pm: Catch all error thrown while parsing the
|
37 |
tool files.
|
38 |
* Configuration/ConfigArea.pm: Use config/config_tag file to have the
|
39 |
config tag and use this tag as config checksum.
|
40 |
|
41 |
2013-02-13 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
42 |
|
43 |
* BuildSystem/ToolParser.pm,BuildSystem/ToolManager.pm,bin/chktool:
|
44 |
Avoid using SCRAM_PATH_VARIABLES environment variable.
|
45 |
|
46 |
2013-02-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
47 |
|
48 |
* BuildSystem/ToolManager.pm, BuildSystem/ToolParser.pm, SCRAM/SCRAM.pm:
|
49 |
- Treat PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, DYLD_FALLBACK_LIBRARY_PATH
|
50 |
and PYTHONPATH as path type variables for tool definition.
|
51 |
- Do not allow to set the above variables for <client><environment/></client>
|
52 |
as this can override runtime environment.
|
53 |
* bin/chktool: New tool added to test a tool definition.
|
54 |
|
55 |
2012-12-17 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
56 |
|
57 |
* Cache/CacheUtilities.pm: No more dependency on Compress::Zlib and
|
58 |
always use gzip.
|
59 |
* SCRAM/CMD.pm: Set LOCALTOP environment at the time of project setup
|
60 |
so that tools which want to set variables pointing to project area can
|
61 |
properly do so.
|
62 |
|
63 |
2012-10-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
64 |
|
65 |
* BuildSystem/Template/Plugins/PluginCore.pm: Add utility functions
|
66 |
to add default product is missing.
|
67 |
|
68 |
2012-06-22 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
69 |
|
70 |
* SCRAM/Plugins/DocParser.pm: Bug fix, properly parse <!-- -->
|
71 |
style xml comments.
|
72 |
* BuildSystem/ToolManager.pm: Remove obsolete compiler section.
|
73 |
|
74 |
2012-05-23 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
75 |
|
76 |
* SCRAM/ScramProjectDB.pm: Check for .SCRAM/arch/timestamps/self file
|
77 |
for a valid release area.
|
78 |
* SCRAM/ScramProjectDB.pm: bug fix, .SCRAM/arch/timestamps/self is
|
79 |
file not directory. This effected "scram list -e" output.
|
80 |
* SCRAM/CMD.pm: Bug fix, for "scram p <path>". <path> should be an
|
81 |
absolute.
|
82 |
|
83 |
2012-05-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
84 |
|
85 |
* CMD.pm: Command-line option --all added for "scram list"
|
86 |
to see all available projects for all archs.
|
87 |
* CMD.pm: "scram project" now can optionally talk to tag collector
|
88 |
to get the production arch for a release. This helps creating dev
|
89 |
area if project is available for multiple SCRAM_ARCHs
|
90 |
|
91 |
2012-04-26 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
92 |
|
93 |
* BuildSystem/BuildFile.pm, BuildSystem/ToolParser.pm:
|
94 |
Do not save un necessary items in ProjectCache.db
|
95 |
* SCRAM/ScramProjectDB.pm: Make use of <path>/*/etc/default-scramv1-version
|
96 |
to find out the installed arch instead of a un necessary
|
97 |
<path>/etc/scramrc/*.arch files.
|
98 |
|
99 |
2012-04-25 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
100 |
|
101 |
* SCRAM/Plugins/RuntimeEnv.pm: Convert LD_LIBRARY_PATH
|
102 |
to DYLD_FALLBACK_LIBRARY_PATH for osx SCRAM_ARCHs.
|
103 |
* BuildSystem/ToolData.pm: Do not duplicate LIBDIR/INCLUDE
|
104 |
paths in dev area if path value does not depend on release
|
105 |
location.
|
106 |
|
107 |
2012-02-13 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
108 |
|
109 |
* SCRAM/ScramProjectDB.pm, SCRAM/Helper.pm, SCRAM/CMD.pm:
|
110 |
New option -e to show only projects which actually exist.
|
111 |
* BuildSystem/BuildFile.pm, BuildSystem/Product.pm,
|
112 |
BuildSystem/ToolParser.pm: Allow multiple/nasted arch sections
|
113 |
|
114 |
2012-02-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
115 |
|
116 |
* bin/scram: Updated to have original SCRAM_ARCH value saved.
|
117 |
* BuildSystem/ToolManager.pm: Print errors on STDERR so the
|
118 |
eval `scram run -sh` can show them.
|
119 |
* Configuration/ConfigArea.pm, SCRAM/CMD.pm, SCRAM/SCRAM.pm:
|
120 |
Now scram automatically switch arch depending on area arch e.g.
|
121 |
if dev/release area has only one arch then scram will set
|
122 |
SCRAM_ARCH to match that instead of complaining.
|
123 |
* SCRAM/ScramProjectDB.pm: Regardless of SCRAM_ARCH, if release
|
124 |
is only available for one arch then do not complain and create
|
125 |
dev area for that arch.
|
126 |
|
127 |
2012-01-12 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
128 |
|
129 |
* SCRAM/CMD.pm: Allow to run "scram project <version>".
|
130 |
|
131 |
2011-10-26 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
132 |
|
133 |
* bin/scram, SCRAM/ScramProjectDB.pm: Allow seperate
|
134 |
read and write path for SCRAM link.db.
|
135 |
|
136 |
2011-10-18 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
137 |
|
138 |
* SCRAM/ScramProjectDB.pm: Allow to show patch and partial
|
139 |
build projects via "scram list" too. Make sure there are no
|
140 |
duplicate links in links.db.
|
141 |
|
142 |
2011-10-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
143 |
|
144 |
* INSTALL.txt: updated install instructions.
|
145 |
* bin/scram: cleanup, no more local login for calculating
|
146 |
SCRAM_ARCH. Updated for DB less scram. install/remove
|
147 |
commands are no more needed.
|
148 |
* PackageList.pm: Cleanup, removed the deleted perl module.
|
149 |
* BuildSystem/ToolManager.pm: Architecture cleanup.
|
150 |
* Configuration/BootStrapProject.pm: Architecture cleanup.
|
151 |
* Configuration/ConfigArea.pm: Architecture cleanup.
|
152 |
* SCRAM/CMD.pm: Architecture cleanup, cleanup unneeded
|
153 |
commands (install/remove), DB less SCRAM updates.
|
154 |
* SCRAM/Helper.pm: Cleanup unneeded commands.
|
155 |
* SCRAM/SCRAM.pm: Architecture cleanup and DB less SCRAM
|
156 |
updates.
|
157 |
* SCRAM/ScramProjectDB.pm: New DB less SCRAM updates. Now
|
158 |
SCRAM configuration is read from <cmspath>/etc/scramrc area
|
159 |
e.g. links file under this can contain path of other SCRAM
|
160 |
areas projects/<PROJECT_NAME> file can contain the relative
|
161 |
path to search under <cmspath>/<SCRAM_ARCH> for install
|
162 |
projects (e.g. CMSSW file can have cms/cmssw/CMSSW_*).
|
163 |
* Utilities/AddDir.pm: Bug fix, copy all files except '.' and
|
164 |
'..'.
|
165 |
* SCRAM/SCRAM_SITE.pm, Utilities/Architecture.pm: Removed
|
166 |
unneeded perl modules.
|
167 |
|
168 |
2011-09-05 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
169 |
|
170 |
* Cache/Cache.pm: Only search valid directories which passes
|
171 |
[a-zA-Z0-9][a-zA-Z0-9-_]* filter.
|
172 |
|
173 |
2011-01-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
174 |
|
175 |
* SCRAM/Plugins/DocParser.pm: Allowed <!-- --> style comment
|
176 |
in .xml type tool definitions and BuildFiles.
|
177 |
|
178 |
2010-12-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
179 |
|
180 |
* SCRAM/CMD.pm: Create symlinks when an external tool is changed.
|
181 |
* BuildSystem/ToolCache.pm: isdirty() support method added.
|
182 |
|
183 |
2010-12-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
184 |
|
185 |
* SCRAM/CMD.pm: Fix the timestamp of Tools.mk file.
|
186 |
* BuildSystem/ToolManager.pm: Properly create symlinks for newly
|
187 |
setup tools.
|
188 |
|
189 |
2010-10-12 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
190 |
|
191 |
* BuildSystem/Template/Plugins/PluginCore.pm: Allow arch specific flags
|
192 |
and dependency.
|
193 |
|
194 |
2010-09-30 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
195 |
* SCRAM/ScramProjectDB.pm: Allow register project path with a
|
196 |
different path.
|
197 |
* SCRAM/CMD.pm: Added -d option for "scram install" to provide
|
198 |
the install path of the project.
|
199 |
|
200 |
2010-09-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
201 |
|
202 |
* AutoToolSetup.pm: Removed file.
|
203 |
* BuildSystem/ToolManager.pm: Do not allow to setup a tool
|
204 |
interactively.
|
205 |
* BuildSystem/ToolParser.pm: Always use value from the toolfile
|
206 |
instead of looking for defaults in site/tools.conf.
|
207 |
* BuildSystem/ToolSettingValidator.pm: Do not promt use for input,
|
208 |
just exit with non-zero code when a value for a variable is missing.
|
209 |
* Configuration/BootStrapProject.pm: Cleanup for site/tools.conf
|
210 |
which is no more needed.
|
211 |
* SCRAM/CMD.pm: Cleanup for AutoToolSetup which is no more needed.
|
212 |
* SCRAM/Helper.pm: No more user interactive mode for setting up a
|
213 |
tool.
|
214 |
* SCRAM/SCRAM.pm: Cleanup for interactive mode.
|
215 |
|
216 |
2010-07-28 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
217 |
|
218 |
* Cache/Cache.pm: Re-creation of scram internals caches in case
|
219 |
they get corrupted.
|
220 |
* SCRAM/CMD.pm: Checks added to make sure that scram internal
|
221 |
caches are valid. If cache files are corrupted then re-create
|
222 |
them. Support added to unset the runtime environment
|
223 |
(scram unsetenv -csh).
|
224 |
SCRAM/Plugins/RuntimeEnv.pm: Support added for unset runtime
|
225 |
environment and skip setting runtime environment path for which
|
226 |
symlinks are created in the release/dev area.
|
227 |
|
228 |
2010-01-11 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
229 |
|
230 |
* SCRAM/CMD.pm: Fix for extra optional environment variables.
|
231 |
* SCRAM/Plugins/RuntimeEnv.pm: No more SCRAMRT_* backup environment
|
232 |
variables are created to suppose old SCRAVM V1 versions. Backup
|
233 |
environment variables are now saved with a prefix of SRT_ to avoid
|
234 |
DYLD_* warnings on Mac. Special variables for setting up the optional
|
235 |
environment are added.
|
236 |
|
237 |
2009-11-23 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
238 |
|
239 |
* SCRAM/SCRAM.pm: Warning message are now sent to STDERR so that eval
|
240 |
do not try to execute the error message itself.
|
241 |
|
242 |
2009-10-06 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
243 |
|
244 |
* BuildSystem/BuildDataStorage.pm: Make sure the BuildFile exists before
|
245 |
parsing it.
|
246 |
* SCRAM/CMD.pm: Do not read the DirCache.db if -f option is used. This
|
247 |
will allow o run "scram build -f clean" if DirCache.db is corrupted.
|
248 |
* SCRAM/Plugins/RuntimeEnv.pm: Cleanup, Runtime.db was read twice.
|
249 |
|
250 |
2009-03-18 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
251 |
|
252 |
* BuildSystem/ToolParser.pm: Fixed the interactive tool setup for variables
|
253 |
which are already set as runtime environment.
|
254 |
|
255 |
2009-02-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
256 |
|
257 |
* Cache/CacheUtilities.pm: Used Data::Dumper to store SCRAM cache which
|
258 |
is portable for different arch.
|
259 |
|
260 |
2008-09-17 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
261 |
|
262 |
* SCRAM/CMD.pm: Print an error message when --update is passed for a
|
263 |
scram project command. --update option was broken since long and now
|
264 |
scram prints an error message when this option is used.
|
265 |
* SCRAM/Helper.pm: Updated the help message for project command.
|
266 |
|
267 |
2008-09-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
268 |
|
269 |
* SCRAM/Plugins/ProjectChkSum.pm: Checksum is calculated by first sorting
|
270 |
the files names in order to get uniq chksum for different arch.
|
271 |
|
272 |
2008-09-15 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
273 |
|
274 |
* BuildSystem/Product.pm: The file="name" attrib of library/bin tag from
|
275 |
the BuildFile is saved as it is in the generated rules i.e SCRAM is not
|
276 |
going to expand *.cc in to individual file names. This will
|
277 |
automatically build newly added .cc files without updating the BuildFile.
|
278 |
|
279 |
2008-09-09 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
280 |
|
281 |
* SCRAM/Plugins/RuntimeEnv.pm: Improved env backup so that current SCRAM
|
282 |
releases should be able to correctly re-use the env backup of future
|
283 |
releases.
|
284 |
|
285 |
2008-08-27 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
286 |
|
287 |
* Cache/Cache.pm: Added hack to load SCRAM::Plugins::DirCache to do project
|
288 |
specific stuff. This will help for big library generation.
|
289 |
|
290 |
2008-08-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
291 |
|
292 |
* SCRAM/Plugins/RuntimeEnv.pm: Fix for setting env on Mac because on Mac
|
293 |
setting backups for variables like DYLD_* were causing some trouble. Fix
|
294 |
for setting up env from SCRAM V1 project first and then SCRAM V2 project.
|
295 |
|
296 |
2008-07-30 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
297 |
|
298 |
* SCRAM/SCRAM.pm: An error message printed out at stderr to inform
|
299 |
developer that the release top for his/her dev. area has been
|
300 |
removed/unusable.
|
301 |
|
302 |
2008-07-22 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
303 |
|
304 |
* SCRAM/Plugins/RuntimeEnv.pm: Now scram runtime does not wipe out the
|
305 |
new variables set b/w two scram runtimes.
|
306 |
|
307 |
2008-07-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
308 |
|
309 |
* BuildSystem/ToolManager.pm: Fixed the ordering of the tools.
|
310 |
* SCRAM/ScramProjectDB.pm: force the file permissions of SCRAM
|
311 |
DB file to be 0644.
|
312 |
|
313 |
2008-07-01 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
314 |
|
315 |
* SCRAM/CMD.pm: Bug fixed which was causing the "scram list proj vers"
|
316 |
to fail.
|
317 |
|
318 |
2008-06-25 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
319 |
|
320 |
* SCRAM/SCRAM.pm: Replaced "USE" with "use" which is a valid perl key
|
321 |
word. Due to this scram was failing when SCRAM_ARCH was not set.
|
322 |
|
323 |
2008-06-20 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
324 |
|
325 |
* SCRAM/CMD.pm: Fixed to print out proper error message when
|
326 |
"scram project name version" commnad is run with name/version which
|
327 |
does not exist.
|
328 |
|
329 |
2008-06-18 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
330 |
|
331 |
* BuildSystem/BuildDataStorage.pm,BuildSystem/TemplateInterface.pm:
|
332 |
Basic biglib support added, the changes will not break old SCRAM
|
333 |
releases.
|
334 |
|
335 |
2008-06-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
336 |
|
337 |
* SCRAM/Plugins/RuntimeEnv.pm: Do not skip LOCALRT env variable.
|
338 |
* SCRAM/SCRAM.pm: Do not set LOCALRT here, it was set by self tool,
|
339 |
make all fetal messages go to stderror, local RuntimeEnv perl module
|
340 |
dynamically so that we can pick it up from project release area too,
|
341 |
warning message added when try to create a dev area which already
|
342 |
exists.
|
343 |
|
344 |
2008-06-06 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
345 |
|
346 |
* SCRAM/Plugins/RuntimeEnv.pm,BuildSystem/MakeInterface.pm: Fixed to run
|
347 |
default gmake if "gmake" is not setup as an external tool.
|
348 |
|
349 |
2008-06-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
350 |
|
351 |
* Cache/Cache.pm: Disable the non-xml BuildFile read warning.
|
352 |
|
353 |
2008-05-21 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
354 |
|
355 |
* SCRAM/CMD.pm: Bug fix, scram setup now setup all the tools if no
|
356 |
tool name is provided on the command-line.
|
357 |
|
358 |
2008-05-15 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
359 |
|
360 |
* SCRAM/Plugins/Attic/RuntimeEnv.pm: Do not set SCRAMRT_* and *_SCRAMRT
|
361 |
backup variavles when doing "scram build" and also then do not set the
|
362 |
environment when "scram b" is called recursively.
|
363 |
|
364 |
2008-04-21 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
365 |
|
366 |
* BuildSystem/Template/Plugins/PluginCore.pm: Bug fixed for flags which
|
367 |
are arch specific.
|
368 |
* Cache/CacheUtilities.pm: Switch to use gzip if Compress::Zlib perl
|
369 |
module is not installed.
|
370 |
|
371 |
2008-04-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
372 |
|
373 |
* BuildSystem/BuildDataStorage.pm: Fixed the bug when package level
|
374 |
src directory is deleted and there is only BuildFile left in the
|
375 |
package directory.
|
376 |
|
377 |
2008-04-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
378 |
|
379 |
* SCRAM/Plugin/RuntimeEnv.pm: Cleanup.
|
380 |
* BuildSystem/MakeInterface.pm: Run with full path to avoid picking
|
381 |
it up from /usr/bin area.
|
382 |
|
383 |
2008-04-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
384 |
|
385 |
* SCRAM/Plugin/RuntimeEnv.pm: Now saves the tools runtime in
|
386 |
.SCRAM/<arch>/RuntimeEnvCache.db.gz file. Every time an external tool
|
387 |
is changes (ToolCache.db.gz) file changes then this
|
388 |
RuntimeEnvCache.db.gz file will be update too.
|
389 |
It also now prints a warning message when it tries to setup
|
390 |
runtime environment on top of a already set SCRAM V1 environment.
|
391 |
* Configuration/ConfigArea.pm: Do not copy RuntimeEnvCache.db.gz
|
392 |
when creating a developer area.
|
393 |
|
394 |
2008-04-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
395 |
|
396 |
* SCRAM/Plugin/RuntimeEnv.pm: Newly added module for setting runtime
|
397 |
environment.
|
398 |
* SCRAM/SCRAM.pm, SCRAM/CMD.pm: Fixed to use new SCRAM::Plugin::RuntimeEnv
|
399 |
for setting up the runtime environment.
|
400 |
Now scram runtime behaviour is
|
401 |
like this e.g for PATH runtime variable
|
402 |
- At first "scramv1 runtime -csh", it will
|
403 |
- backup all the env variables it is going to modify with
|
404 |
the values set by scram
|
405 |
PATH => PATH_SCRAMRT=<values_set_by_scram>
|
406 |
- backup all the env variables with their initial values
|
407 |
PATH => SCRAMRT_PATH=<init_value_of_PATH>
|
408 |
- set the env variable with new values
|
409 |
PATH=<values_set_by_scram>:${SCRAMRT_PATH}
|
410 |
- Now if you make changes in env after doing "scram runtime"
|
411 |
PATH=<your_new_changes1>:${PATH}
|
412 |
PATH=${PATH}:<your_new_changes2>
|
413 |
- Next time when you do "scramv1 run" then it will set
|
414 |
- PATH_SCRAMRT=<values_set_by_scram>
|
415 |
- SCRAMRT_PATH=<value of ${PATH} with ${PATH_SCRAMRT} removed from it>
|
416 |
- PATH=<values_set_by_scram>:${SCRAMRT_PATH}
|
417 |
So in this case you will end up with
|
418 |
PATH=<values_set_by_scram>:<your_new_changes1>:<init_value_of_PATH>:<your_new_changes2>
|
419 |
In case if the initial environment was set by SCRAM V1_x or V0_X then
|
420 |
the next "scram runtime" will behave as old SCRAM i.e. changes you
|
421 |
made after first "scram runtime" will be lost.
|
422 |
|
423 |
2008-03-13 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
|
424 |
|
425 |
* bin/scram: Make use of --arch <arch> to properly switch to a different
|
426 |
scramdb.
|
427 |
* SCRAM/Plugins/ProjectChkSum.pm: New perl module for generating
|
428 |
checksum for a project config directory.
|
429 |
* PackageList.pm: Updated according to the removed perl modules.
|
430 |
* ActiveDoc/ActiveDoc.pm: Code cleanup.
|
431 |
* ActiveDoc/Parse.pm, ActiveDoc/SimpleDoc.pm: Updated to properly parse
|
432 |
XML and non-XML based files.
|
433 |
* ActiveDoc/SimpleURLDoc.pm: Code cleanup (no more tool caching)
|
434 |
* BuildSystem/ToolCache.pm: Code cleanup (no more tool caching) and no
|
435 |
more raw tool data storage.
|
436 |
* BuildSystem/ToolManager.pm: Code cleanup (no more tool caching),
|
437 |
always read tools for config/toolbox/<arch>. No need to provide tool
|
438 |
version while setting up tool.
|
439 |
* BuildSystem/ToolParser.pm: Code cleanup, only support single tool
|
440 |
version.
|
441 |
* Cache/Cache.pm: Code for converting non-XML BuildFiles to XML-based
|
442 |
files moved for CMD.pm.
|
443 |
* Cache/CacheUtilities.pm: SCRAM internal caches are now zipped (much
|
444 |
smaller size <500KB)
|
445 |
* Configuration/BootStrapProject.pm: Easy bootstraping project area, no
|
446 |
more requirements.xml files needed.
|
447 |
* Configuration/ConfigArea.pm: Code cleanup and multiple arch dev
|
448 |
support.
|
449 |
* SCRAM/AutoToolSetup.pm: Cod ecleanup and updates for multiple arch dev
|
450 |
support.
|
451 |
* SCRAM/CMD.pm: Code cleanup, multiple arch support, convertion of
|
452 |
non-XML BuildFiles to XML-based BuildFile.
|
453 |
* SCRAM/Helper.pm: updated help messages.
|
454 |
* SCRAM/ProdSymLinks.pm: Allowed environement variables to be used in
|
455 |
key too i.e. $(SCRAM_ARCH}:/tmp/${HOME} possible.
|
456 |
* SCRAM/SCRAM.pm: Code cleanup (merged code from ScramFunctions.pm).
|
457 |
* SCRAM/ScramProjectDB.pm: Cleanup, no more reading of
|
458 |
.SCRAM/Environment file when doing "scramv1 list".
|
459 |
* Utilities/AddDir.pm: Some new utility functions added.
|
460 |
* Utilities/CVSmodule.pm, Utilities/DataItem.pm, Utilities/HashDB.pm,
|
461 |
Utilities/IndexedFileStore.pm, Utilities/SCRAMUtils.pm,
|
462 |
Utilities/SVNmodule.pm, URL/*.pm: Removed perl modules.
|