Skip to content
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

perf(clone): clone faster without blobs #472

Merged
merged 1 commit into from
Nov 2, 2021
Merged

perf(clone): clone faster without blobs #472

merged 1 commit into from
Nov 2, 2021

Conversation

yajo
Copy link
Member

@yajo yajo commented Nov 2, 2021

When git 2.27 or newer is installed, we can add --filter=blob:none to avoid getting useless information from the git server. This makes clone much faster if your template has a big history.

Close #450 (it does not exactly fix it, but maybe makes it irrelevant).

@yajo yajo added this to the v6.0.0 milestone Nov 2, 2021
@yajo yajo self-assigned this Nov 2, 2021
@yajo yajo enabled auto-merge (rebase) November 2, 2021 08:28
@yajo yajo disabled auto-merge November 2, 2021 08:28
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2021

Codecov Report

Merging #472 (3549241) into master (080e3f6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 3549241 differs from pull request most recent head a56ae8e. Consider uploading reports for the commit a56ae8e to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #472   +/-   ##
=======================================
  Coverage   96.16%   96.17%           
=======================================
  Files          39       39           
  Lines        2530     2535    +5     
=======================================
+ Hits         2433     2438    +5     
  Misses         97       97           
Flag Coverage Δ
unittests 96.17% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
copier/vcs.py 96.87% <100.00%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 080e3f6...a56ae8e. Read the comment docs.

@yajo yajo force-pushed the filter-blob-none branch from 14a2bda to 3549241 Compare November 2, 2021 08:41
When git 2.27 or newer is installed, we can add `--filter=blob:none` to avoid getting useless information from the git server. This makes clone much faster if your template has a big history.

Close #450 (it does not exactly fix it, but maybe makes it irrelevant).
@yajo yajo force-pushed the filter-blob-none branch from 3549241 to a56ae8e Compare November 2, 2021 19:09
@yajo yajo enabled auto-merge (rebase) November 2, 2021 19:09
@yajo yajo merged commit 3fd8226 into master Nov 2, 2021
@yajo yajo deleted the filter-blob-none branch November 2, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache git templates locally
2 participants