Skip to content

Gitversion performance for big repositories #1208

@tihobrazov

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)

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