Slide 7
Slide 7 text
function randomMergeMessage() {
var message = [
"[name] = [nice_word], [thanks_word].",
"Nice PR [name] - [thanks_word].",
"[nice_word] [name] - [thanks_word].",
"Very [nice_word] [thanks_word] for the PR!",
"[nice_word]! [thanks_word] [name].",
"[thanks_word] [name].",
"Looks [nice_word] [thanks_word] [name]."]
return { title: "", comment: message.random(), close: true, merge:true}
}
// Add the thanks / nice / [name] to a comment
function parseMessage(message) {
var thanks = ["thanks", "thanks a lot", "cool work", "nice work"].random()
var nice = ["awesome", "cool", "brilliant", "beautiful", "great",
"good"].random()
message = message.replace("[name]", "@" + authorName)
message = message.replace("[nice_word]", nice)
message = message.replace("[thanks_word]", thanks)
return message.sentenceCase()
}
Thursday, 13 June 13
Commits break
originally spec validation was done in all ruby via tracis
Git tag checks etc
So many commiters meant people would update other people's pods
Cocoapods updates
New versions broke all specs
0.17 took a long time & Lots of broken specs
Travis fails
Which is ok, just have to lint manually, which I can get Keith to do
Time involved
Running PRs took about an hour of my time a day
Now it's more like 15
Smiley Keith
Fabio vs OSS
Stats:
Number of contributors last month 341
Number Commits 670
10 PRs a day