Author: | Matt Good |
---|---|
Date: | 2007-02-25 |
Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Our mission is to help developers write great software while staying out of the way.
Next Python web framework?
Common tools for managing software projects
Problem: Information is scattered across different systems
Provide a consistent/integrated interface to this project information
Wiki syntax used throughout Trac
Wiki's key feature is linking
Different organizations have different needs
Write extensions in Python
Existing macros and plugins at http://trac-hacks.org
Save as "plugins/whoami.py"
from trac.wiki.macros import WikiMacroBase
class WhoAmIMacro(WikiMacroBase):
""" Usage: `[[WhoAmI]]` """
def render_macro(self, formatter,
name, content):
user = formatter.req.authname
return 'You are: ' + user