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

downloader: Migrate from JSch to MINA as the SSH backend for JGit #6030

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

sschuberth
Copy link
Member

@sschuberth sschuberth commented Nov 2, 2022

The used org.eclipse.jgit.ssh.apache.agent artifact has build-in
ssh-agent support. As of 43ff39e there should have been no need anymore
to avoid "keyboard-interactive" prompts as the CredentialsProvider is
explicit set to ORT's own AuthenticatorCredentialsProvider only.

Resolves #6029.

Signed-off-by: Sebastian Schuberth [email protected]

The used `org.eclipse.jgit.ssh.apache.agent` artifact has build-in
ssh-agent support. As of 43ff39e there should have been no need anymore
to avoid "keyboard-interactive" prompts as the `CredentialsProvider` is
explicit set to ORT's own `AuthenticatorCredentialsProvider` only.

Resolves #6029.

Signed-off-by: Sebastian Schuberth <[email protected]>
@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Base: 57.79% // Head: 58.06% // Increases project coverage by +0.27% 🎉

Coverage data is based on head (ca40652) compared to base (5788347).
Patch coverage: 40.00% of modified lines in pull request are covered.

❗ Current head ca40652 differs from pull request most recent head e9a8c59. Consider uploading reports for the commit e9a8c59 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6030      +/-   ##
============================================
+ Coverage     57.79%   58.06%   +0.27%     
  Complexity     2013     2013              
============================================
  Files           324      324              
  Lines         18761    18692      -69     
  Branches       3876     3851      -25     
============================================
+ Hits          10842    10853      +11     
+ Misses         6862     6778      -84     
- Partials       1057     1061       +4     
Flag Coverage Δ
funTest-analyzer-docker 74.66% <ø> (-0.01%) ⬇️
funTest-non-analyzer 51.00% <40.00%> (+0.05%) ⬆️
test 27.54% <40.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
downloader/src/main/kotlin/vcs/Git.kt 74.33% <40.00%> (+5.16%) ⬆️
.../src/main/kotlin/managers/utils/PythonInspector.kt 69.60% <0.00%> (+19.98%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sschuberth sschuberth marked this pull request as ready for review November 2, 2022 18:53
@sschuberth sschuberth requested a review from a team as a code owner November 2, 2022 18:53
@sschuberth sschuberth merged commit d356454 into main Nov 7, 2022
@sschuberth sschuberth deleted the jsch-to-mina branch November 7, 2022 09:17
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.

Configure JGit to use Apache MINA as the SSH client instead of JSch
2 participants