-
Notifications
You must be signed in to change notification settings - Fork 0
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
DLPX-88137 Upgrade sshj with Raul's mod dlpx73623 #7
DLPX-88137 Upgrade sshj with Raul's mod dlpx73623 #7
Conversation
0e7617b
to
6a2ae6e
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## DLPX-88137-on-0.36.0 #7 +/- ##
==========================================================
+ Coverage 68.46% 68.56% +0.10%
- Complexity 1398 1417 +19
==========================================================
Files 207 208 +1
Lines 7423 7492 +69
Branches 629 638 +9
==========================================================
+ Hits 5082 5137 +55
- Misses 2009 2021 +12
- Partials 332 334 +2
☔ View full report in Codecov by Sentry. |
@rasantel @lschetanrao Is there any hope of upstreaming our fix so that we don't have to maintain this fork? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for ab pre push and dx test with new version of sshj and manual testing to confirmation on app-gate.
@sebroy Our fix converts the buffer class to a circular buffer only for the parts that we use, so there are now two classes - the old one used in other parts of sshj and the new one. I was hoping to find time to complete the conversion and get rid of the old buffer before submitting, but in practice there's always something else taking my time. Finishing the conversion is not necessarily trivial because of the impact throughout the entire library. I suppose I could submit the partial conversion and see what happens. |
@sebroy By the way, I already upstreamed another race condition fix, hierynomus#851, which allowed us to be able to upgrade sshj again. |
@rasantel that's excellnt, thank you. |
JIRA : https://delphix.atlassian.net/browse/DLPX-88137
Problem
Updating sshj with custom changes.
Solution
This PR contains following changes
Published the JAR on artifactory as version 0.36.0-dlpx73623. https://artifactory.delphix.com/ui/repos/tree/General/appstack-internal-services/com/hierynomus/sshj/0.36.0-dlpx73623/sshj-0.36.0-dlpx73623.jar
Published the POM file by copying the pom from https://repo1.maven.org/maven2/com/hierynomus/sshj/0.36.0/sshj-0.36.0.pom and replacing the version from 0.36.0 to 0.36.0-dlpx73623