ajack 2003/12/03 15:02:40 Modified: python/gump/utils __init__.py python/gump/output rss.py python/gump/document forrest.py Log: 1) Docs tweak 2) RSS fixed (thanks to Sam @ http://feedvalidator.org/) Revision Changes Path 1.9 +2 -2 jakarta-gump/python/gump/utils/__init__.py Index: __init__.py =================================================================== RCS file: /home/cvs/jakarta-gump/python/gump/utils/__init__.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- __init__.py 3 Dec 2003 19:19:51 -0000 1.8 +++ __init__.py 3 Dec 2003 23:02:40 -0000 1.9 @@ -236,12 +236,12 @@ return elapsedString def secsToDate(secs): - if -1 == secs: return 'Unset' + if -1 == secs: return '-' return time.strftime(setting.datetimeformat, \ time.localtime(secs)) def secsToTime(secs): - if -1 == secs: return 'Unset' + if -1 == secs: return '-' return time.strftime(setting.timeformat, \ time.localtime(secs)) 1.11 +3 -2 jakarta-gump/python/gump/output/rss.py Index: rss.py =================================================================== RCS file: /home/cvs/jakarta-gump/python/gump/output/rss.py,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- rss.py 3 Dec 2003 04:29:05 -0000 1.10 +++ rss.py 3 Dec 2003 23:02:40 -0000 1.11 @@ -236,7 +236,7 @@ def __init__(self): self.gumpImage=Image('http://jakarta.apache.org/gump/images/bench.png', \ 'Jakarta Gump', \ - 'http://jakarta.apache.org/') + 'http://jakarta.apache.org/gump/') def syndicate(self,run): @@ -287,7 +287,7 @@ s=project.getStats() datestr=time.strftime('%Y-%m-%d') - timestr=time.strftime('%H%M') + timestr=time.strftime('%H:%M:%S') content='Project ' + project.getName() \ + ' : ' \ @@ -310,6 +310,7 @@ project.getModule().getName() + ":" + project.getName(), \ ('%sT%s%s') % (datestr,timestr,TZ)) + # Generate changes if not s.currentState == STATE_NONE and \ not s.currentState == STATE_UNSET: projectRSS.addItem(item) 1.28 +7 -1 jakarta-gump/python/gump/document/forrest.py Index: forrest.py =================================================================== RCS file: /home/cvs/jakarta-gump/python/gump/document/forrest.py,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- forrest.py 3 Dec 2003 19:27:53 -0000 1.27 +++ forrest.py 3 Dec 2003 23:02:40 -0000 1.28 @@ -732,6 +732,9 @@ descriptionSection.createParagraph().createRaw(description) + if module.isPackaged(): + document.createNote('This is a packaged module, not Gumped.') + stateSection=document.createSection('State') stateList=stateSection.createList() stateList.createEntry("State: " + module.getStateDescription()) @@ -877,7 +880,10 @@ description=' (No project URL provided.)' projectsSection.createParagraph().createRaw(description) - + + if project.isPackaged(): + document.createNote('This is a packaged project, not Gumped.') + stateSection=document.createSection('State') stateList=stateSection.createList()
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]