ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/ChangeLog
Revision: 1.1.2.31
Committed: Tue Jan 12 08:02:23 2010 UTC (15 years, 4 months ago) by muzaffar
Branch: SCRAM_V2_0
CVS Tags: V2_2_0, sm100112
Changes since 1.1.2.30: +9 -0 lines
Log Message:
improved env, fix for mac env and option to set the optional runtime environment

File Contents

# User Rev Content
1 muzaffar 1.1.2.31 2010-01-11 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
2    
3     * SCRAM/CMD.pm: Fix for extra optional environment variables.
4     * SCRAM/Plugins/RuntimeEnv.pm: No more SCRAMRT_* backup environment
5     variables are created to suppose old SCRAVM V1 versions. Backup
6     environment variables are now saved with a prefix of SRT_ to avoid
7     DYLD_* warnings on Mac. Special variables for setting up the optional
8     environment are added.
9    
10 muzaffar 1.1.2.30 2009-11-23 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
11    
12     * SCRAM/SCRAM.pm: Warning message are now sent to STDERR so that eval
13     do not try to execute the error message itself.
14    
15 muzaffar 1.1.2.29 2009-10-06 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
16    
17     * BuildSystem/BuildDataStorage.pm: Make sure the BuildFile exists before
18     parsing it.
19     * SCRAM/CMD.pm: Do not read the DirCache.db if -f option is used. This
20     will allow o run "scram build -f clean" if DirCache.db is corrupted.
21     * SCRAM/Plugins/RuntimeEnv.pm: Cleanup, Runtime.db was read twice.
22    
23 muzaffar 1.1.2.28 2009-03-18 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
24    
25     * BuildSystem/ToolParser.pm: Fixed the interactive tool setup for variables
26     which are already set as runtime environment.
27    
28 muzaffar 1.1.2.27 2009-02-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
29    
30     * Cache/CacheUtilities.pm: Used Data::Dumper to store SCRAM cache which
31     is portable for different arch.
32    
33 muzaffar 1.1.2.26 2008-09-17 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
34    
35     * SCRAM/CMD.pm: Print an error message when --update is passed for a
36     scram project command. --update option was broken since long and now
37     scram prints an error message when this option is used.
38     * SCRAM/Helper.pm: Updated the help message for project command.
39    
40 muzaffar 1.1.2.25 2008-09-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
41    
42     * SCRAM/Plugins/ProjectChkSum.pm: Checksum is calculated by first sorting
43     the files names in order to get uniq chksum for different arch.
44    
45 muzaffar 1.1.2.23 2008-09-15 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
46 muzaffar 1.1.2.25
47 muzaffar 1.1.2.23 * BuildSystem/Product.pm: The file="name" attrib of library/bin tag from
48     the BuildFile is saved as it is in the generated rules i.e SCRAM is not
49     going to expand *.cc in to individual file names. This will
50 muzaffar 1.1.2.24 automatically build newly added .cc files without updating the BuildFile.
51 muzaffar 1.1.2.23
52 muzaffar 1.1.2.22 2008-09-09 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
53    
54     * SCRAM/Plugins/RuntimeEnv.pm: Improved env backup so that current SCRAM
55     releases should be able to correctly re-use the env backup of future
56     releases.
57    
58 muzaffar 1.1.2.21 2008-08-27 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
59    
60     * Cache/Cache.pm: Added hack to load SCRAM::Plugins::DirCache to do project
61     specific stuff. This will help for big library generation.
62    
63 muzaffar 1.1.2.20 2008-08-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
64    
65     * SCRAM/Plugins/RuntimeEnv.pm: Fix for setting env on Mac because on Mac
66     setting backups for variables like DYLD_* were causing some trouble. Fix
67     for setting up env from SCRAM V1 project first and then SCRAM V2 project.
68    
69     2008-07-30 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
70    
71     * SCRAM/SCRAM.pm: An error message printed out at stderr to inform
72     developer that the release top for his/her dev. area has been
73     removed/unusable.
74    
75 muzaffar 1.1.2.19 2008-07-22 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
76    
77     * SCRAM/Plugins/RuntimeEnv.pm: Now scram runtime does not wipe out the
78     new variables set b/w two scram runtimes.
79    
80 muzaffar 1.1.2.18 2008-07-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
81    
82     * BuildSystem/ToolManager.pm: Fixed the ordering of the tools.
83     * SCRAM/ScramProjectDB.pm: force the file permissions of SCRAM
84     DB file to be 0644.
85    
86 muzaffar 1.1.2.17 2008-07-01 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
87    
88     * SCRAM/CMD.pm: Bug fixed which was causing the "scram list proj vers"
89     to fail.
90    
91 muzaffar 1.1.2.16 2008-06-25 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
92    
93     * SCRAM/SCRAM.pm: Replaced "USE" with "use" which is a valid perl key
94     word. Due to this scram was failing when SCRAM_ARCH was not set.
95    
96 muzaffar 1.1.2.15 2008-06-20 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
97    
98     * SCRAM/CMD.pm: Fixed to print out proper error message when
99     "scram project name version" commnad is run with name/version which
100     does not exist.
101    
102 muzaffar 1.1.2.14 2008-06-18 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
103    
104     * BuildSystem/BuildDataStorage.pm,BuildSystem/TemplateInterface.pm:
105     Basic biglib support added, the changes will not break old SCRAM
106     releases.
107    
108 muzaffar 1.1.2.13 2008-06-16 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
109 muzaffar 1.1.2.11
110 muzaffar 1.1.2.12 * SCRAM/Plugins/RuntimeEnv.pm: Do not skip LOCALRT env variable.
111     * SCRAM/SCRAM.pm: Do not set LOCALRT here, it was set by self tool,
112     make all fetal messages go to stderror, local RuntimeEnv perl module
113     dynamically so that we can pick it up from project release area too,
114     warning message added when try to create a dev area which already
115     exists.
116    
117     2008-06-06 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
118    
119 muzaffar 1.1.2.11 * SCRAM/Plugins/RuntimeEnv.pm,BuildSystem/MakeInterface.pm: Fixed to run
120     default gmake if "gmake" is not setup as an external tool.
121    
122 muzaffar 1.1.2.10 2008-06-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
123    
124     * Cache/Cache.pm: Disable the non-xml BuildFile read warning.
125    
126 muzaffar 1.1.2.9 2008-05-21 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
127    
128     * SCRAM/CMD.pm: Bug fix, scram setup now setup all the tools if no
129     tool name is provided on the command-line.
130    
131 muzaffar 1.1.2.8 2008-05-15 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
132    
133     * SCRAM/Plugins/Attic/RuntimeEnv.pm: Do not set SCRAMRT_* and *_SCRAMRT
134     backup variavles when doing "scram build" and also then do not set the
135     environment when "scram b" is called recursively.
136    
137 muzaffar 1.1.2.6 2008-04-21 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
138    
139     * BuildSystem/Template/Plugins/PluginCore.pm: Bug fixed for flags which
140     are arch specific.
141 muzaffar 1.1.2.7 * Cache/CacheUtilities.pm: Switch to use gzip if Compress::Zlib perl
142     module is not installed.
143 muzaffar 1.1.2.6
144 muzaffar 1.1.2.5 2008-04-14 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
145    
146     * BuildSystem/BuildDataStorage.pm: Fixed the bug when package level
147     src directory is deleted and there is only BuildFile left in the
148     package directory.
149    
150 muzaffar 1.1.2.4 2008-04-07 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
151    
152     * SCRAM/Plugin/RuntimeEnv.pm: Cleanup.
153     * BuildSystem/MakeInterface.pm: Run with full path to avoid picking
154     it up from /usr/bin area.
155    
156 muzaffar 1.1.2.2 2008-04-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
157    
158 muzaffar 1.1.2.3 * SCRAM/Plugin/RuntimeEnv.pm: Now saves the tools runtime in
159     .SCRAM/<arch>/RuntimeEnvCache.db.gz file. Every time an external tool
160     is changes (ToolCache.db.gz) file changes then this
161     RuntimeEnvCache.db.gz file will be update too.
162     It also now prints a warning message when it tries to setup
163     runtime environment on top of a already set SCRAM V1 environment.
164     * Configuration/ConfigArea.pm: Do not copy RuntimeEnvCache.db.gz
165     when creating a developer area.
166    
167     2008-04-02 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
168    
169 muzaffar 1.1.2.2 * SCRAM/Plugin/RuntimeEnv.pm: Newly added module for setting runtime
170     environment.
171     * SCRAM/SCRAM.pm, SCRAM/CMD.pm: Fixed to use new SCRAM::Plugin::RuntimeEnv
172     for setting up the runtime environment.
173     Now scram runtime behaviour is
174     like this e.g for PATH runtime variable
175     - At first "scramv1 runtime -csh", it will
176     - backup all the env variables it is going to modify with
177     the values set by scram
178     PATH => PATH_SCRAMRT=<values_set_by_scram>
179     - backup all the env variables with their initial values
180     PATH => SCRAMRT_PATH=<init_value_of_PATH>
181     - set the env variable with new values
182     PATH=<values_set_by_scram>:${SCRAMRT_PATH}
183     - Now if you make changes in env after doing "scram runtime"
184     PATH=<your_new_changes1>:${PATH}
185     PATH=${PATH}:<your_new_changes2>
186     - Next time when you do "scramv1 run" then it will set
187     - PATH_SCRAMRT=<values_set_by_scram>
188     - SCRAMRT_PATH=<value of ${PATH} with ${PATH_SCRAMRT} removed from it>
189     - PATH=<values_set_by_scram>:${SCRAMRT_PATH}
190     So in this case you will end up with
191     PATH=<values_set_by_scram>:<your_new_changes1>:<init_value_of_PATH>:<your_new_changes2>
192     In case if the initial environment was set by SCRAM V1_x or V0_X then
193     the next "scram runtime" will behave as old SCRAM i.e. changes you
194     made after first "scram runtime" will be lost.
195    
196 muzaffar 1.1.2.1 2008-03-13 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>
197    
198     * bin/scram: Make use of --arch <arch> to properly switch to a different
199     scramdb.
200     * SCRAM/Plugins/ProjectChkSum.pm: New perl module for generating
201     checksum for a project config directory.
202     * PackageList.pm: Updated according to the removed perl modules.
203     * ActiveDoc/ActiveDoc.pm: Code cleanup.
204     * ActiveDoc/Parse.pm, ActiveDoc/SimpleDoc.pm: Updated to properly parse
205     XML and non-XML based files.
206     * ActiveDoc/SimpleURLDoc.pm: Code cleanup (no more tool caching)
207     * BuildSystem/ToolCache.pm: Code cleanup (no more tool caching) and no
208     more raw tool data storage.
209     * BuildSystem/ToolManager.pm: Code cleanup (no more tool caching),
210     always read tools for config/toolbox/<arch>. No need to provide tool
211     version while setting up tool.
212     * BuildSystem/ToolParser.pm: Code cleanup, only support single tool
213     version.
214     * Cache/Cache.pm: Code for converting non-XML BuildFiles to XML-based
215     files moved for CMD.pm.
216     * Cache/CacheUtilities.pm: SCRAM internal caches are now zipped (much
217     smaller size <500KB)
218     * Configuration/BootStrapProject.pm: Easy bootstraping project area, no
219     more requirements.xml files needed.
220     * Configuration/ConfigArea.pm: Code cleanup and multiple arch dev
221     support.
222     * SCRAM/AutoToolSetup.pm: Cod ecleanup and updates for multiple arch dev
223     support.
224     * SCRAM/CMD.pm: Code cleanup, multiple arch support, convertion of
225     non-XML BuildFiles to XML-based BuildFile.
226     * SCRAM/Helper.pm: updated help messages.
227     * SCRAM/ProdSymLinks.pm: Allowed environement variables to be used in
228     key too i.e. $(SCRAM_ARCH}:/tmp/${HOME} possible.
229     * SCRAM/SCRAM.pm: Code cleanup (merged code from ScramFunctions.pm).
230     * SCRAM/ScramProjectDB.pm: Cleanup, no more reading of
231     .SCRAM/Environment file when doing "scramv1 list".
232     * Utilities/AddDir.pm: Some new utility functions added.
233     * Utilities/CVSmodule.pm, Utilities/DataItem.pm, Utilities/HashDB.pm,
234     Utilities/IndexedFileStore.pm, Utilities/SCRAMUtils.pm,
235     Utilities/SVNmodule.pm, URL/*.pm: Removed perl modules.