Skip to content

Support cloning private repositories#1306

Merged
jerbly merged 4 commits into
open-telemetry:mainfrom
jerbly:gix-with-credential-helpers
Mar 24, 2026
Merged

Support cloning private repositories#1306
jerbly merged 4 commits into
open-telemetry:mainfrom
jerbly:gix-with-credential-helpers

Conversation

@jerbly

@jerbly jerbly commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

Added --allow-git-credentials global flag to use default git open options instead of isolated mode when cloning repositories, enabling system credential helpers (e.g. osxkeychain, manager, libsecret) for private repository access.

@jerbly
jerbly requested a review from a team as a code owner March 21, 2026 00:33
@codecov

codecov Bot commented Mar 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.2%. Comparing base (d2fcac8) to head (10d42cf).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/weaver_common/src/vdir.rs 85.7% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1306   +/-   ##
=====================================
  Coverage   81.2%   81.2%           
=====================================
  Files        111     111           
  Lines       9371    9377    +6     
=====================================
+ Hits        7615    7620    +5     
- Misses      1756    1757    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jsuereth jsuereth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving this for now, so we can enable a critical use case

Comment thread crates/weaver_common/src/vdir.rs Outdated
fs_capabilities: None,
},
open::Options::isolated(),
open::Options::default(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be a flag in weaver?

@lquerel lquerel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jerbly
jerbly merged commit 51fa749 into open-telemetry:main Mar 24, 2026
26 checks passed
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