Skip to content

Commit

Permalink
* Updat the README with the new setting variables
Browse files Browse the repository at this point in the history
* Small CSS adjustments to the repots table caption
  • Loading branch information
tobami committed Jan 20, 2011
1 parent b66f0c7 commit 8da73d2
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,24 @@ The layout will stay exactly the same for any image with a height of 48px (any w
The file `speedcenter/codespeed/settings.py` can contain customizations of several parameters (the file includes comments with full examples).

General settings:

* defaultexecutable: in the Changes view, a random executable is chosen as default. It that doesn't suite you, you can specify here which one should be selected. You need to specify its id (since the name alone is not unique).
* defaultbaseline: Defines which baseline option will be chosen as default in the Timeline and Changes views.
* defaultenvironment: Defines which environment should be selected as default in the Changes and Timeline views.

* website_name: The RSS results feed will use this parameter as the site name
* def_baseline: Defines which baseline option will be chosen as default in the Timeline and Changes views.
* def_environment: Defines which environment should be selected as default in the Changes and Timeline views.
* change_threshold
* trend_threshold

Changes view settings:
* def_executable: in the Changes view, a random executable is chosen as default. It that doesn't suite you, you can specify here which one should be selected. You need to specify its id (since the name alone is not unique).
Comparison view settings:

* charttype: Chooses the default chart type (normal bars, stacked bars or relative bars)
* normalization: Defines whether normalization should be enabled as default in the Comparison view.
* orientation: horizontal or vertical
* comp_executables: per default all executables will be checked. When there are a large number of tags or executables, it is better to only select a few so that the plots are not too cluttered.

## Getting help
For help regarding the configuration of Codespeed, or to share any ideas or suggestions you may have, please post on Codespeed's "discussion group":http://groups.google.com/group/codespeed

## Reporting bugs

If you find any bug in Codespeed please report it on "https://github.com/tobami/codespeed/issues":https://github.com/tobami/codespeed/issues
2 changes: 1 addition & 1 deletion speedcenter/codespeed/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
## General default options ##
website_name = "MySpeedSite"
website_name = "MySpeedSite" # This name will be used in the reports RSS feed

def_environment = None #Name of the environment which should be selected as default

Expand Down
2 changes: 1 addition & 1 deletion speedcenter/media/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ table.tablesorter, table.info, table.revision, table.reports {
/*table.reports {
border-width: 2px;
}*/
table.reports caption { font-size: 110%; }
table.reports caption { font-size: 100%; font-weight: bold; margin-bottom: 2px; }
table.reports caption a { color: black; }
table.reports caption a img {
border: 0; vertical-align: middle; height: 14px; margin-bottom: 1px; }
Expand Down
2 changes: 1 addition & 1 deletion speedcenter/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
</div>
{% block footer %}
<div class="footer">powered by <a href="https://github.com/tobami/codespeed/">Codespeed</a> and <a href="http://www.djangoproject.com/">Django</a></div>
<div class="footer">Powered by <a href="https://github.com/tobami/codespeed/">Codespeed</a>, <a href="http://www.djangoproject.com/">Django</a> and <a href="http://www.python.org">Python</a></div>
{% endblock %}
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion speedcenter/templates/codespeed/reports.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if reports|length %}
<table class="reports">
<caption>Latest runs <a href="/feeds/latest/"><img src="media/images/rss.png" /></a></caption>
<caption>Latest Results <a href="/feeds/latest/"><img src="media/images/rss.png" alt="RSS feed" title="Subscribe to the results RSS feed" /></a></caption>
<tbody>
{% for report in reports %} <tr class="status-{{ report.colorcode }}">
<td><label title="lessisbetter" style="display:none;">rev={{ report.revision.commitid }}&exe= {{ report.executable.id }}&env={{ report.environment.name }}</label>{{ report.revision }}</td><td>{{ report.executable }}@{{ report.environment}}</td>
Expand Down

0 comments on commit 8da73d2

Please sign in to comment.