Skip to content

Gitversion performance for big repositories #1208

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

Closed
tihobrazov opened this issue Apr 27, 2017 · 5 comments
Closed

Gitversion performance for big repositories #1208

tihobrazov opened this issue Apr 27, 2017 · 5 comments
Labels

Comments

@tihobrazov
Copy link

For our repo running gitversion takes about 2 mins. Recently we imported another repo with history to our main repo and now it takes up to 15 min to run gitversion. Is it possible to add lightweight mode for version generation?
Possible options:

  • add mode for skipping commits count since last version tag (so, 1.0.0-beta.1 tag will force next commit to be 1.0.0-beta.2+1 - now it counts since the beginning of branch. What is more important here is for gitversion to stop calculating any other details)
  • optimize commits-before configuration option, now it continues walking over commits, but just skips them (according to log)
@hazzik
Copy link

hazzik commented May 2, 2017

Have you tried /nofetch?

@JakeGinnivan
Copy link
Contributor

I'd love to optimise this stuff, are you able to post the full log in a gist so we can see what is slow?

Any pull requests in this area welcome.

@zpavic
Copy link

zpavic commented Feb 1, 2018

We have a similar situation with a large team and repo and GitVersion takes minutes to run and sometimes crashes. It may be exacerbated with our team workflow of personal forks, PRs, and merge commits but it still makes using GitVersion basically unworkable.

@JakeGinnivan
Copy link
Contributor

Can you post your config and log?

@stale
Copy link

stale bot commented Jun 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants