Adds author and ttitle to testmerged prs feedback (#41651)

* readds testmerge feedback call

* typo

* adds author and title to testmerged prs feedback
This commit is contained in:
Jordie
2018-11-28 23:07:03 -05:00
committed by Emmett Gaines
parent f7af2995d1
commit df18d96902
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -14,7 +14,8 @@ SUBSYSTEM_DEF(blackbox)
"explosion" = 2,
"time_dilation_current" = 3,
"science_techweb_unlock" = 2,
"round_end_stats" = 2) //associative list of any feedback variables that have had their format changed since creation and their current version, remember to update this
"round_end_stats" = 2,
"testmerged_prs" = 2) //associative list of any feedback variables that have had their format changed since creation and their current version, remember to update this
/datum/controller/subsystem/blackbox/Initialize()
triggertime = world.time
@@ -308,7 +309,7 @@ Versioning
if(!SSdbcore.Connect())
return
sqlname = sanitizeSQL(sqlname)
sqlkey = sanitizeSQL(sqlkey)
sqljob = sanitizeSQL(sqljob)
+1 -1
View File
@@ -28,7 +28,7 @@
for(var/line in testmerge)
var/datum/tgs_revision_information/test_merge/tm = line
msg += "Test merge active of PR #[tm.number] commit [tm.commit]"
SSblackbox.record_feedback("nested tally", "testmerged_prs", 1, list("[tm.number]", "[tm.commit]"))
SSblackbox.record_feedback("associative", "testmerged_prs", 1, list("number" = "[tm.number]", "commit" = "[tm.commit]", "title" = "[tm.title]", "author" = "[tm.author]"))
if(commit && commit != originmastercommit)
msg += "HEAD: [commit]"