Skip to content

Conversation

scottamplitude
Copy link
Contributor

Since there are issues handling a large # of commits due to buffer overflow, I've added an until cli option to allow exporting an analysis for limited time windows.

Use case:

  1. Analyzing over 5 months of commits causes a buffer overflow
  2. Use since flag to limit to last 5 months, export results
  3. Use since + until flag to set a new window to analyze (5-10 months ago)
  4. Rinse, repeat.

This is more of a work-around to the buffer overflow issue. Ideally, that issue should be addressed. This works in the meantime and allows for analyzing different historical windows.

@simonrenoult
Copy link
Owner

Looks good to me. Since it's a new flag, could you also add an example in the readme::usage section?

@scottamplitude
Copy link
Contributor Author

scottamplitude commented Aug 26, 2021

I added the following:

-u, --until [until] limit analysis to commits older in age than date

Under usage, right.... Ok, let me fix that.

To go along with the new option listed under usage
@scottamplitude
Copy link
Contributor Author

@simonrenoult I added a few examples of since/until usage in addition to the readme::usage flag option I previously added. Let me know if you want anything else!

@simonrenoult simonrenoult merged commit bcd03d4 into simonrenoult:master Sep 6, 2021
@simonrenoult
Copy link
Owner

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants