ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/ChangeLog
Revision: 1.29
Committed: Wed Feb 13 11:44:13 2013 UTC (12 years, 2 months ago) by muzaffar
Branch: MAIN
CVS Tags: V2_2_4
Changes since 1.28: +5 -0 lines
Log Message:
avoid using SCRAM_PATH_VARIABLES env variable

File Contents

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