Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] [egit-dev] Bug 520927: moving away from JSch

Looking for further clarification...

I've got a desktop Java application that I've built using JGit as a key library within, and JSch within that. That is, I'm extensively using the techniques described here:

https://www.codeaffine.com/2014/12/09/jgit-authentication/

You've mentioned in your email that you're not going to replace JSch with Apache MINA anytime soon. How does this relate to use of JschConfigSessionFactory and related APIs? Given the numerous reported problems with JSch that I'm learning about from these links, should I be planning on some form of migration within my own source code? Is there now a "ApacheMINAConfigSessionFactory" replacement?

Thanks for your work on the project, it's much appreciated.

--
Dave Musicant


On 11/18/18 12:08 PM, Thomas Wolf wrote:
Let's clarify this before this gets out of hand.

For EGit the plan is indeed to switch the default at some point and use Apache MINA sshd exclusively.
The Eclipse platform will also move away from JSch. See bug 540727: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540727 .
I hope a lot of the code developed now for JGit can eventually be moved there.

For the JGit command-line tools using Apache MINA sshd exclusively is an option, but 
for now, JSch is still the default. Don't know if we want to switch.

For the JGit core library, I had *not* planned to replace JSch with Apache MINA anytime soon.
JGit is a library, and its users may use different versions of Apache MINA sshd (like Gerrit) or,
like Randall points out, not have the ability to use Apache MINA sshd at all.

Such concerns were the reason why I did this all in a completely separate bundle that
people may use or not.

Cheers,

  Thomas

On 18 Nov 2018, at 18:47 , Randall S. Becker <rsbecker@xxxxxxxxxxxxx> wrote:

Thomas,

Apache Mina SSHD is not available on the HPE NonStop platform to my
knowledge. My team is generally responsible for ports, and I would have
heard about this one being done. So it's not a capability issue between the
two, it is an availability issue.

Randall

-----Original Message-----
From: Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
Sent: November 18, 2018 12:43
To: Randall S. Becker <rsbecker@xxxxxxxxxxxxx>
Cc: Thomas Wolf <thomas.wolf@xxxxxxxxxx>; EGit developer discussion
<egit-dev@xxxxxxxxxxx>; JGit Developers list <jgit-dev@xxxxxxxxxxx>
Subject: Re: [egit-dev] Bug 520927: moving away from JSch

Randall,

On Nov 18, 2018, at 18:32, Randall S. Becker <rsbecker@xxxxxxxxxxxxx>
wrote:

From a headless perspective, JGit is used on platforms that do not
support either EGit or the specific sshd implementation being integrated
here.

Can you clarify the specific limitations around Apache Mina SSHD in
comparison to JSch?

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/




_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jgit-dev


Back to the top