Skip to content

Commit 6016259

Browse files
committed
Improve pypy branch query, set WEBSITE_NAME and project name in template
1 parent 9f75a70 commit 6016259

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

codespeed/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""Default settings for Codespeed"""
33

44
## General default options ##
5-
WEBSITE_NAME = "MySpeedSite" # This name will be used in the reports RSS feed
5+
WEBSITE_NAME = "PyPy's Speed Center" # This name will be used in the reports RSS feed
66

77
DEF_ENVIRONMENT = None #Name of the environment which should be selected as default
88

codespeed/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ def get_home_data(request):
945945
pp_branch = Branch.objects.get(name="default", project=pp_exe.project)
946946
# Fetch PyPy tagged revisions
947947
pp_taggedrevs = Revision.objects.filter(
948-
project=pp_exe.project
948+
branch=pp_branch
949949
).exclude(tag="").order_by('date')
950950
data['tagged_revs'] = [rev.tag for rev in pp_taggedrevs]
951951
pp_results = {}

example/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
22
<html>
33
<head>
4-
<title>{% block title %}MyProject's Speed Center{% endblock %}</title>
5-
<meta name="description" content="A performance analysis tool for software projects. It shows performance regresions and allows competing applications or implementations">
4+
<title>{% block title %}PyPy's Speed Center{% endblock %}</title>
5+
<meta name="description" content="A performance analysis tool for the PyPy project. It shows performance regresions and improvements and allows comparison to other implementations">
66
<meta name="keywords" content="performance, test, interpreter, plots, charts">
77
<meta http-equiv="content-type" content="text/html;charset=utf-8">
88
<link href="{{ STATIC_URL }}css/main.css" rel="stylesheet" type="text/css">

0 commit comments

Comments
 (0)