Skip to content

Gitversion performance for big repositories #1208

Closed

Description

@tihobrazov

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)

Activity

  1. hazzik commented on May 2, 2017

    @hazzik

    Have you tried /nofetch?

  2. JakeGinnivan commented on May 14, 2017

    @JakeGinnivan
    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.

  3. zpavic commented on Feb 1, 2018

    @zpavic

    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.

  4. JakeGinnivan commented on Feb 5, 2018

    @JakeGinnivan
    Contributor

    Can you post your config and log?

  5. stale commented on Jun 29, 2019

    @stale

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions