Skip to content

Commit

Permalink
report/templates/bisect: add disclaimer paragraph
Browse files Browse the repository at this point in the history
Add a paragraph to the bisection report email template to explain that
this is the result of an automated bisection so there may not be
anything wrong with the "breaking" commit it has found.

Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
  • Loading branch information
gctucker committed Nov 16, 2018
1 parent 87d1aba commit 921b9d1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/utils/report/templates/bisect.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,28 @@
}
pre {
display: inline;
}
div.disclaimer {
background-color: #eeeeee;
width: 480px;
padding: 2px 8px 2px 8px;
font-size: 0.8em;
}
</style>
<title>{{ subject_str }}</title>
</head>
<body>
<div class="disclaimer">
<p>
This automated bisection report was sent to you on the basis that you
may be involved with the breaking commit it has found. No manual
investigation has been done to verify it, and the root cause of the
problem may be somewhere else.
</p>
<p>
Hope this helps!
</p>
</div>
<p>
<h1>{{ subject_str }}</h1>
<table>
Expand Down
8 changes: 8 additions & 0 deletions app/utils/report/templates/bisect.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis *
* that you may be involved with the breaking commit it has *
* found. No manual investigation has been done to verify it, *
* and the root cause of the problem may be somewhere else. *
* Hope this helps! *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

{{ subject_str }}

Good: {{ good }}
Expand Down

0 comments on commit 921b9d1

Please sign in to comment.