Closed bglusman closed 8 years ago
@SeanMarcia since you were interested in/suggested the debt clock idea (#2) hopefully this will be of some interest to you... it needs refactoring, cleanup and tests (I think I want to use open3/popen3 instead of simply shelling out to git, as the warnings when failing to show git notes get noisy), but this is a surprisingly usable v1... it should only take a long time to run once, then be fairly fast afterwards, and can hook into the output data structure from DebtCeiling.dig
with #results
method to get all the historical debt scores. We can work on visualizing that with JS or whatever.. maybe a project for DCamp?
Note to self/others: since the main usecase for this historical data might be on a CI server, it will git clone the repo everytime and blow away any git notes created.... so we should probably also support Redis, by checking if Redis gem is installed and some config present, and if so cache data there instead?
@bglusman This is begging to be a SAAS product that would store the history, just like CodeClimate does. Have you given that any thought?
Add
archeological_dig
clas andDebtCeiling.dig
feature for historical debt analysis.