-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add an option to create a shallow clone in gitPublishReset #57
Labels
Comments
Looks like it isn't possible with JGit at the moment... ajoberstar/grgit#155 |
Similarly an option to clone using a local reference repository for the bulk of the data transfer might help? |
Any update on whether this will be supported? |
ajoberstar
added a commit
that referenced
this issue
Apr 22, 2023
Uses the new property in grgit to allow shallow fetch. Fixes #57
@ajoberstar Thanks for this! In JUnit's build, |
marcphilipp
added a commit
to junit-team/junit5
that referenced
this issue
Apr 28, 2023
Thanks to @AfzalivE for sending the original PR adding support to grgit! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use your excellent plugins to publish documentation and Javadoc to GH Pages in the junit5 repo. As you can see in this build scan,
gitPublishReset
takes most of the time of this build that was executed by a Travis job.For our purposes a shallow clone of the single
gh-pages
branch would be sufficent to publish to our branch. This is probably not true for every project, but a configuration option that triggers the use of the grgit/JGit equivalent of--single-branch --depth=1
would really speed up our build.The text was updated successfully, but these errors were encountered: