-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improves GitVersion speed #4016
Improves GitVersion speed #4016
Conversation
Ignores commits before 2020 for GitVersion calculations, thus speeding up builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - We should make a note somewhere that this is a tasks that should be updated once a year? It appears that we don't have any real way around limiting by date though, so this is a great solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a huge help in build times - thanks @valadas 🎉
Changing date to `2020-01-01` instead of `2019-01-01`
Ok, I played a bit with different values and it looks like there is some unavoidable overhead no matter what value, but will it still improves the very very long times though. What's odd is running just |
Sets the maximum GitVersion lookup date to january 1st 2020 thus speeding up GitVersion calculations a lot. This means GitVersion will only look at commits from this year instead of well all the project history to find tags and read commit messages, etc.