From e355a90bf19921dfafb56bb3f44ca37b97c198de Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 13 Mar 2015 10:01:39 +0100 Subject: [PATCH] Added new tasks. --- TODO.md | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/TODO.md b/TODO.md index 987d342..885e31f 100644 --- a/TODO.md +++ b/TODO.md @@ -3,17 +3,44 @@ TODO Fixes and ideas for the future +## Use an in-memory database + +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. + + +## Merge users + +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 ", + match: + - "John S. ", + - "John Smith ", + - "J. Smith " + - name: "Foo Bar ", + match: + - "Foo B. " + - "Foo Bar " + + ## Per user scotch Different users have a different commit style & frequency. We should be able to define a per-user scotch. +## Automatic scotch : Use median delay between consecutive commits, per user -## Automatic scotch : Use median time between consecutive commits, per user - - def median(array) - sorted = array.sort - len = sorted.length - return (sorted[(len - 1) / 2] + sorted[len / 2]) / 2.0 - end + def median(array) + sorted = array.sort + len = sorted.length + return (sorted[(len - 1) / 2] + sorted[len / 2]) / 2.0 + end