ajack       2004/05/21 13:22:24

  Modified:    python/gump/document/xdocs Tag: MultiRunner documenter.py
  Log:
  Test/Fix/Test/Fix...
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.7   +11 -21    gump/python/gump/document/xdocs/Attic/documenter.py
  
  Index: documenter.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/document/xdocs/Attic/documenter.py,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- documenter.py     21 May 2004 19:34:26 -0000      1.1.2.6
  +++ documenter.py     21 May 2004 20:22:23 -0000      1.1.2.7
  @@ -519,15 +519,15 @@
               syndRow=definitionTable.createRow()
               syndRow.createData('Definition')
               syndRow.createData().createLink('workspace_defn.html','XML')
  -                            
  -        self.documentSummary(document,self.workspace.getProjectSummary())        
  +                                
           self.documentAnnotations(document,self.workspace)
           #self.documentXML(document,self.workspace)
           
           detailsSection=document.createSection('Details')
                       
           detailsTable=detailsSection.createTable()
  -        detailsTable.createEntry("State : ", self.workspace.getStateDescription()) 
  +        detailsTable.createEntry("State : ", 
  +                self.workspace.getStateDescription()) 
   
           e = secsToElapsedTimeString(self.workspace.getElapsedSecs())
           if e : detailsTable.createEntry("Elapsed Time : ", e)
  @@ -1021,8 +1021,7 @@
           # module_todos.xml
           #
           document=XDocDocument('Modules with issues',
  -                    self.resolver.getFile(self.workspace,'module_todos'),)          
  
  -        self.documentSummary(document, self.workspace.getProjectSummary())
  +                    self.resolver.getFile(self.workspace,'module_todos'),)   
           
           modulesSection=document.createSection('Modules with TODOs')               
           modulesSection.createParagraph("""These are the modules that need 'fixing', 
or contained projects that need fixing.
  @@ -1084,8 +1083,7 @@
           # module_fixes.xml
           #
           document=XDocDocument('Modules with fixes',
  -                    self.resolver.getFile(self.workspace,'module_fixes'),)          
  
  -        self.documentSummary(document, self.workspace.getProjectSummary())
  +                    self.resolver.getFile(self.workspace,'module_fixes'),)     
           
           modulesSection=document.createSection('Modules recently fixed')           
           modulesSection.createParagraph("""These are the modules that were 'fixed' 
(state changed to success), or contained projects that were fixed, within %s runs.
  @@ -1143,9 +1141,7 @@
           # Modules.xml
           #
           document=XDocDocument( 'All Modules',        \
  -            self.resolver.getFile(self.workspace,'modules'))
  -        
  -        self.documentSummary(document, self.workspace.getProjectSummary())
  +            self.resolver.getFile(self.workspace,'modules'))        
           
           modulesSection=document.createSection('All Modules')
           modulesTable=modulesSection.createTable(['Name','Module State','Project 
State(s)','Elapsed','FOG Factor'])
  @@ -1526,16 +1522,10 @@
           #document=XDocDocument('Module Details : ' + module.getName(),       \
           #            self.resolver.getFile(module, \
           #                            'index_details', \
  -        #                                '.xml'))
  -            
  -        detailSection=document.createSection('Module Details')
  -        detailList=detailSection.createList()
  -        detailList.createEntry("State: " + module.getStateDescription())
  -        if not module.getReason() == REASON_UNSET:
  -            detailList.createEntry("Reason: ", module.getReasonDescription())
  -        if module.cause and not module==module.cause:
  -             self.insertTypedLink( module.cause, module, detailList.createEntry( 
"Root Cause: ")) 
  +        #                                '.xml'))            
                
  +        detailsSection=document.createSection('Details')
  +        
           if module.hasRepository():
               
               repoSection=detailSection.createSection('Repository')
  @@ -2307,7 +2297,7 @@
                           
                           # Do the transfer..
                           copyfile(output,displayedOutput)                        
  -                        
outputSection.createParagraph().createLink(outputBaseName,'Output File')
  +                        
outputSection.createParagraph().createLink(outputBaseName,'Complete Output File')
                           
                       else: 
                           #
  @@ -2424,7 +2414,7 @@
                           
                               # Do the transfer..
                               copyfile(output,displayedOutput)                        
  -                            
outputSection.createParagraph().createLink(outputBaseName,'Output File')
  +                            
outputSection.createParagraph().createLink(outputBaseName,'Complete File')
                           else:
                               outputSource=outputSection.createSource()    
                               o=None
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to