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: double clone against AzDo to reduce libgit2 memory footprint #7941

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

klesh
Copy link
Contributor

@klesh klesh commented Aug 22, 2024

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
24 checks passed
@klesh klesh deleted the feat-gitext-memopt branch August 22, 2024 11:42
Copy link

🤖 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 added a commit that referenced this pull request Aug 22, 2024
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