Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/buildbot/buildbot/status/web/about.py
blob: 09748e60f474d202fb0e06a89c7a06d916e65c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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