ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/ChangeLog
Revision: 1.1.2.32
Committed: Wed Jul 28 15:34:12 2010 UTC (14 years, 9 months ago) by muzaffar
Branch: SCRAM_V2_0
CVS Tags: V2_2_1, forV2_2_1
Changes since 1.1.2.31: +12 -0 lines
Log Message:
improved runtime env, new unsetenv scram command to unset the runtime env, fixed internal caches corruption problems

File Contents

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