ajack 2004/05/14 15:54:32
Modified: . gumpy.py
python/gump/document/forrest documenter.py
python/gump/model workspace.py
Log:
1) Put any ids but 'All' into bold.
2) Don't freeze the stats after 1 build.
3) Some pointless whitespace changes I can't seem to help myself from doing...
Revision Changes Path
1.35 +1 -0 gump/gumpy.py
Index: gumpy.py
===================================================================
RCS file: /home/cvs/gump/gumpy.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- gumpy.py 12 May 2004 19:36:03 -0000 1.34
+++ gumpy.py 14 May 2004 22:54:31 -0000 1.35
@@ -18,6 +18,7 @@
# $Header$
"""
+
This is the commandline entrypoint into Python Gump,
used *primarily* by nightly cron jobs.
1.35 +7 -2 gump/python/gump/document/forrest/documenter.py
Index: documenter.py
===================================================================
RCS file: /home/cvs/gump/python/gump/document/forrest/documenter.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- documenter.py 13 May 2004 23:29:47 -0000 1.34
+++ documenter.py 14 May 2004 22:54:31 -0000 1.35
@@ -656,6 +656,7 @@
#
document=XDocDocument('Gump Build Log', \
self.resolver.getFile(workspace,'buildLog'))
+
self.documentSummary(document, workspace.getProjectSummary())
#
@@ -1928,9 +1929,13 @@
dependencyRow.createData(depend.getInheritenceDescription())
# Ids
- ids = depend.getIds() or 'All'
- dependencyRow.createData(ids)
+ ids = depend.getIds()
+ if ids: # Make these stand out
+ dependencyRow.createData().createStrong(ids)
+ else:
+ dependencyRow.createData('All')
+
# State Icon
self.insertStateIcon(project,referencingObject,dependencyRow.createData())
1.48 +3 -3 gump/python/gump/model/workspace.py
Index: workspace.py
===================================================================
RCS file: /home/cvs/gump/python/gump/model/workspace.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- workspace.py 22 Apr 2004 22:58:16 -0000 1.47
+++ workspace.py 14 May 2004 22:54:32 -0000 1.48
@@ -529,18 +529,18 @@
# Get a summary of states for each project
def getProjectSummary(self,summary=None):
- if hasattr(self,'summary'): return self.summary
+ #if hasattr(self,'summary'): return self.summary
if not summary:
summary=ProjectSummary()
- # Subordinates are modules, get their simmary
+ # Subordinates are modules, get their summary
# information into this summary
for module in self.getModules():
module.getProjectSummary(summary)
# Store for later...
- self.summary = summary
+ #self.summary = summary
return summary
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]