Skip to content

feat: double clone against AzDo to reduce libgit2 memory footprint - #7941

Merged
klesh merged 1 commit into
mainfrom
feat-gitext-memopt
Aug 22, 2024
Merged

klesh merged 1 commit into
mainfrom
feat-gitext-memopt

Conversation

@klesh

@klesh klesh commented Aug 22, 2024 •

Copy link
Copy Markdown
Contributor

Summary

This PR introduces a new mechanism to address the limitations of git hosting services that do not support shallow cloning, such as Azure DevOps. Specifically, it performs a secondary shallow clone locally to reduce the number of commits collected, optimizing the overall process.

Additional Enhancements:

Refactors the clone logic to enhance code readability.
Fixes the SSL verification issue, ensuring secure and reliable connections.

Does this close any open issues?

Related to #7842

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. component/plugins This issue or PR relates to plugins pr-type/feature-development This PR is to develop a new feature pr-type/refactor This PR refactors existing features labels Aug 22, 2024
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Aug 22, 2024
@klesh
klesh merged commit 9390452 into main Aug 22, 2024
@klesh
klesh deleted the feat-gitext-memopt branch August 22, 2024 11:42
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Target: #release-v1.0 cherry pick finished successfully 🎉!

@github-actions github-actions Bot added the bot/auto-cherry-pick-completed auto cherry pick completed label Aug 22, 2024
klesh pushed a commit that referenced this pull request Aug 22, 2024
…7941) (#7944)

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot/auto-cherry-pick-completed auto cherry pick completed component/plugins This issue or PR relates to plugins lgtm This PR has been approved by a maintainer needs-cherrypick-v1.0 pr-type/feature-development This PR is to develop a new feature pr-type/refactor This PR refactors existing features size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants