Closed ben-wckdrzr closed 2 years ago
Thanks -- I'll take a look in a few days when I get back home.
Hi, thanks for the review
I’m not sure I agree having the limit with the days_to_keep is right, although it probably does read better.
I see the main use-case for this is when I have a flurry of changes on one day (more than the limit), but then decide I wan’t to quickly get back to yesterday, or earlier. In this use case we are likely exempting all versions beyond the limit.
That said, I feel like I wanted it as you say, until I realised this implementation was significantly simpler, although I’m now not convinced of the benefit of a more complex approach…
To my mind, this is a good first version approach, that could be build upon in a later version.
Potentially a better name than ‘days_to_keep’ would make all the above clearer??
Ben
Sounds good - updated and tested 👍
v2.2.0 is out now -- sorry it took a while.
This seems like the best way to implement this option, will leave all versions within the days-to-keep range, and keep the limited number of versions from before that.
Let me know if you think it should be different.
All tested and working for me.
This change is