-
Notifications
You must be signed in to change notification settings - Fork 653
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
Compiling projects with GitVersionTask (5.0.1) is incredibly slow on detached head #1868
Comments
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions. |
I would try to figure out why your repository is in a detached |
Sometimes developers just checkout a remote branch (without creating a local branch) for testing, or reviewing etc. so versioning in this instance is not critical. However the GitVersion behavior I described in the summary is definitely less than ideal. |
As far as I can understand, it is not a design-goal of GitVersion to work on detached |
The issue is not that it isn't producing a valid version number - it's that it is taking an inordinate amount of time, which is a bit inconvenient to say the least. You already remarked on this point in the linked issue:
Which sounds to me like something that could be resolved. |
I agree it both should and could be resolved, but my point is that both ensuring detached |
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions. |
Perhaps related to #694
Compiling a solution with 20+ projects all referencing the GitVersionTask nuget package basically never completes due to GitVersion taking so long.
This is the exception produced by GitVersion:
GitVersion.exe took 10 seconds or so to execute which is also much longer than usual and no version number was computed....
Is there a way to configure this behaviour? This is my GitVersion.yml:
The text was updated successfully, but these errors were encountered: