I'd like to propose the attached patch to reporter.a.o so that people
don't keep submitting the same mailing list stats, quarter after
quarter, a year after that part of the reporter is broken.
Thoughts?
Index: source/generators.js
===================================================================
--- source/generators.js (revision 1907541)
+++ source/generators.js (working copy)
@@ -455,7 +455,7 @@
// Append header IF there is data, otherwise nah.
if (txt.length > 0) {
txt = "<a href='statistics?%s' target='_blank' class='btn btn-warning
btn-sm'>See full metrics (new tab)</a><br/>".format(project) + txt;
- txt = "<h5>Potentially useful observations on community
health:</h5><ul>" + txt + "</ul>";
+ txt = "<h5>Please note that this part of the report is broken. Patches
welcome:</h5><ul>" + txt + "</ul>";
txt += "<div class='card' style='padding: 4px;'><b>PLEASE DON'T COPY
THESE METRICS INTO THE REPORT ALONE!</b><p>While these metrics might offer
insights into the wellbeing of the project, what the board of directors
<b<really</b> wants to see is the <b>story</b> behind these
metrics.</p><p>Please take some time to explain why these metrics are the way
they are, and what this means for the project. If you are unsure how to do
this, please take a look at some of the examples provided above (click the
button!).</div>";
}
return txt;
Index: wizard.js
===================================================================
--- wizard.js (revision 1907541)
+++ wizard.js (working copy)
@@ -1669,7 +1669,7 @@
// Append header IF there is data, otherwise nah.
if (txt.length > 0) {
txt = "<a href='statistics?%s' target='_blank' class='btn btn-warning
btn-sm'>See full metrics (new tab)</a><br/>".format(project) + txt;
- txt = "<h5>Potentially useful observations on community
health:</h5><ul>" + txt + "</ul>";
+ txt = "<h5>Please note that this part of the report is broken. Patches
welcome:</h5><ul>" + txt + "</ul>";
txt += "<div class='card' style='padding: 4px;'><b>PLEASE DON'T COPY
THESE METRICS INTO THE REPORT ALONE!</b><p>While these metrics might offer
insights into the wellbeing of the project, what the board of directors
<b<really</b> wants to see is the <b>story</b> behind these
metrics.</p><p>Please take some time to explain why these metrics are the way
they are, and what this means for the project. If you are unsure how to do
this, please take a look at some of the examples provided above (click the
button!).</div>";
}
return txt;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]