The reason to ask for the size of remote repository is to use heuristics coded in the git plugin to make an optimal choice of git implementation ("git" or "jgit"). (There is a positive correlation between size of a repository and performance of certain git operations)
Concerns:
- Would plugins like
github-branch-source-plugin or
gitlab-branch-source-plugin be interested in implementing this extension point?
- As a starting point, I would like to contribute an implementation of this extension point on
github-branch-source-plugin if they agree to it. I would like to know the right place within the plugin where I can do this. (This would speed up the process)
Thanks,
Rishabh Budhouliya