You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/01/31 16:06:00 UTC

[jira] [Resolved] (SSHD-797) Provide SSHD-based JGIT TransportProtocol implementation(s)

     [ https://issues.apache.org/jira/browse/SSHD-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor resolved SSHD-797.
---------------------------------
       Resolution: Implemented
    Fix Version/s: 1.8.0

Turns out the existing code already has {{GitSshdSessionFactory}} that can be used as a drop-in replacement for the default _jgit_ {{SshdSessionFactory}}. However, it is pretty inefficient when it comes to issue several commands as it creates a new {{SshClient}} instance for each {{GitSshdSession}}. The code improvement involves providing the capability to re-use an externally provided client instance (and even a {{ClientSession}} instance for that matter - although this has some (documented) side-effects). See [GIT support|https://github.com/apache/mina-sshd#git-support] section in the {{README}} file.

> Provide SSHD-based JGIT TransportProtocol implementation(s)
> -----------------------------------------------------------
>
>                 Key: SSHD-797
>                 URL: https://issues.apache.org/jira/browse/SSHD-797
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.7.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>            Priority: Major
>              Labels: git, jgit
>             Fix For: 1.8.0
>
>
> See:
> * {{org.eclipse.jgit.transport.Transport.register(TransportProtocol)}}
> * {{TransportSftp}}, {{TransportGitSsh}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)