ajack 2004/04/08 08:00:57
Modified: python/gump engine.py
Log:
First attempt at GUMP-3 (don't use <cvs|<svn|<build on package modules/projects).
http://issues.apache.org/jira/browse/GUMP-3
Revision Changes Path
1.98 +14 -5 gump/python/gump/engine.py
Index: engine.py
===================================================================
RCS file: /home/cvs/gump/python/gump/engine.py,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- engine.py 6 Apr 2004 18:09:17 -0000 1.97
+++ engine.py 8 Apr 2004 15:00:57 -0000 1.98
@@ -227,6 +227,11 @@
# Update all the modules that have CVS repositories
for module in list:
+ if module.isPackaged():
+ # Not sure we have anything to do right now
+ # self.performModulePackageProcessing(module)
+ continue
+
if not module.hasCvs() \
and not module.hasSvn() \
and not module.hasJars(): continue
@@ -290,7 +295,12 @@
log.debug('--- Synchronizing work directories with sources')
for module in list:
-
+
+ # Packaged modules override CVS/SVN (so folks can have local
+ # Gumps that don't build everything).
+ if module.isPackaged():
+ continue
+
# If no CVS/SVN, nothing to sync
if not module.hasCvs() \
and not module.hasSvn(): continue
@@ -375,15 +385,14 @@
for project in list:
log.debug(' ------ Project: #[' + `projectNo` + '] of [' +
`projectCount` + '] : ' + project.getName())
-
-
+
# Extract stats (in case we want to do conditional processing)
stats=None
if project.hasStats():
stats=project.getStats()
if project.isPackaged():
- self.performPackageProcessing(run, project, stats)
+ self.performProjectPackageProcessing(run, project, stats)
continue
# Do this even if not ok
@@ -681,7 +690,7 @@
# Not worth crapping out over...
- def performPackageProcessing(self, run, project, stats):
+ def performProjectPackageProcessing(self, run, project, stats):
"""Perform Package Processing Actions"""
log.debug(' ------ Performing Package Processing for : '+ project.getName())
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]