Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/buildbot/buildbot/status/web/about.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot/buildbot/status/web/about.py')
-rw-r--r--buildbot/buildbot/status/web/about.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/buildbot/buildbot/status/web/about.py b/buildbot/buildbot/status/web/about.py
new file mode 100644
index 0000000..09748e6
--- /dev/null
+++ b/buildbot/buildbot/status/web/about.py
@@ -0,0 +1,33 @@
+
+from twisted.web import html
+from buildbot.status.web.base import HtmlResource
+import buildbot
+import twisted
+import sys
+
+class AboutBuildbot(HtmlResource):
+ title = "About this Buildbot"
+
+ def body(self, request):
+ data = ''
+ data += '<h1>Welcome to the Buildbot</h1>\n'
+ data += '<h2>Version Information</h2>\n'
+ data += '<ul>\n'
+ data += ' <li>Buildbot: %s</li>\n' % html.escape(buildbot.version)
+ data += ' <li>Twisted: %s</li>\n' % html.escape(twisted.__version__)
+ data += ' <li>Python: %s</li>\n' % html.escape(sys.version)
+ data += ' <li>Buildmaster platform: %s</li>\n' % html.escape(sys.platform)
+ data += '</ul>\n'
+
+ data += '''
+<h2>Source code</h2>
+
+<p>Buildbot is a free software project, released under the terms of the
+<a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>.</p>
+
+<p>Please visit the <a href="http://buildbot.net/">Buildbot Home Page</a> for
+more information, including documentation, bug reports, and source
+downloads.</p>
+'''
+ return data
+