Fixes and ideas for the future
The goal is to be able to keep associations & be able to make request on them, without having to maintain various data structures.
I imagine i could just use ActiveRecords for Ranges & Commit but i fear its the impact on the code. I would like to keep the codebase as clean as possible.
Set-up a config file, either global or per repository With id => names associations, so we can merge users who commit with various names/emails/etc
- name: "John Smith <[email protected]>",
match:
- "John S. <[email protected]>",
- "John Smith <[email protected]>",
- "J. Smith <[email protected]>"
- name: "Foo Bar <[email protected]>",
match:
- "Foo B. <[email protected]>"
- "Foo Bar <[email protected]>"
Different users have a different commit style & frequency. We should be able to define a per-user scotch.
def median(array)
sorted = array.sort
len = sorted.length
return (sorted[(len - 1) / 2] + sorted[len / 2]) / 2.0
end