ajack 2004/04/27 15:12:29
Modified: python/gump update.py
python/gump/core engine.py
Log:
1) set --text as default for update.py (must've been left off by acident)
2) correctly increment module/project counters (for progress logging)
Revision Changes Path
1.28 +4 -1 gump/python/gump/update.py
Index: update.py
===================================================================
RCS file: /home/cvs/gump/python/gump/update.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- update.py 22 Apr 2004 22:58:15 -0000 1.27
+++ update.py 27 Apr 2004 22:12:28 -0000 1.28
@@ -60,6 +60,9 @@
# get parsed workspace definition
workspace=WorkspaceLoader().load(ws, options.isCache())
+ # Ensure we use text, not forrest...
+ options.setText(1)
+
# The Run Details...
run=GumpRun(workspace,ps,options)
1.6 +8 -5 gump/python/gump/core/engine.py
Index: engine.py
===================================================================
RCS file: /home/cvs/gump/python/gump/core/engine.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- engine.py 26 Apr 2004 16:13:56 -0000 1.5
+++ engine.py 27 Apr 2004 22:12:28 -0000 1.6
@@ -219,9 +219,11 @@
#log.debug('Modules to update:')
moduleCount=len(list)
- moduleNo=1
+ moduleNo=0
# Update all the modules that have CVS repositories
for module in list:
+
+ moduleNo+=1
if module.isPackaged():
# Not sure we have anything to do right now
@@ -368,9 +370,11 @@
# build all projects this project depends upon, then the project itself
projectCount=len(list)
- projectNo=1
+ projectNo=0
for project in list:
-
+
+ projectNo+=1
+
log.info(' Project: #[' + `projectNo` + '] of [' + `projectCount` + ']
: ' + project.getName())
# Extract stats (in case we want to do conditional processing)
@@ -436,8 +440,7 @@
if project.isFailed():
log.warn('Failed to build project #[' + `projectNo` + '] [' +
project.getName() + '], state:' \
+ project.getStateDescription())
-
- projectNo+=1
+
# Incremental documentation...
documenter=run.getOptions().getDocumenter()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]