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

feat: use a git cache to speed up clones #275

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

nornagon
Copy link
Member

@nornagon nornagon commented Apr 3, 2024

Instead of re-cloning the entire repo every time we make a backport, keep a local cache and clone from that instead.

Hopefully should make things faster, especially for large repos.

@nornagon nornagon requested a review from a team as a code owner April 3, 2024 21:31
Copy link
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat. Added some comments about raw git commands we may no longer need to be doing.

src/operations/init-repo.ts Outdated Show resolved Hide resolved
src/operations/init-repo.ts Outdated Show resolved Hide resolved
@codebytere codebytere merged commit 65c107e into electron:main Apr 8, 2024
3 checks passed
@nornagon nornagon deleted the git-cache branch April 8, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants