bglusman / debt_ceiling

Get a grip on your technical debt
MIT License
84 stars 7 forks source link

Connect #28 historical analysis #29

Closed bglusman closed 8 years ago

bglusman commented 9 years ago

Add archeological_dig clas and DebtCeiling.dig feature for historical debt analysis.

bglusman commented 9 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?

bglusman commented 8 years ago

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?

pboling commented 8 years ago

@bglusman This is begging to be a SAAS product that would store the history, just like CodeClimate does. Have you given that any thought?