Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel
От | Akshay Joshi |
---|---|
Тема | Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel |
Дата | |
Msg-id | CANxoLDc-wvQvV3Xbn8V8aiGaPMpM59WJc9p1ewk3Q7q1L=rr3Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel (Anthony Emengo <aemengo@pivotal.io>) |
Ответы |
Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel
|
Список | pgadmin-hackers |
Hi Hackers
As per suggestion by Dave, I have moved "Advanced" tab at the last for Server dialog. Attached is the modified patch.
On Mon, Apr 23, 2018 at 7:32 PM, Anthony Emengo <aemengo@pivotal.io> wrote:
For what it is worth, I manually verified that the feature worked, as well as looked through the code.I'd like to see end-to-end testing for regression sake, but it's hard to so at this moment.- Anthony and Joao.On Mon, Apr 23, 2018 at 5:09 AM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote: On Mon, Apr 23, 2018 at 1:30 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Thu, Apr 19, 2018 at 6:56 PM, Anthony Emengo <aemengo@pivotal.io> wrote:Hey AkshayThis patch passed our test pipelines.Did you test the feature and//or review the code and tests? Passing the tests is great, *if* the whole feature is covered (and the nature of this patch will make that quite difficult, maybe impossible to do without external infrastructure and config).Agreed, it's been difficult to write test case to test the complete feature.Anthony and VictoriaOn Thu, Apr 19, 2018 at 1:48 AM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote: Hi HackersI have implemented the SSH Tunnel support using https://pypi.org/project/sshtunnel/ python package. Added "SSH Tunnel" Tab in server dialog. This implementation supports user name /password and private/public key combination with Passphrase to crate SSH Tunnel. I have added regression test case to add server using SSH Tunnel options. It uses Paramiko (Python implementation of SSHv2 protocol) which actually drops support for Python 2.6. So I have added SUPPORT_SSH_TUNNEL parameter in config.py which checks the python version and set the flag accordingly. In case of Python 2.6, 3.0, 3.1, 3.2 and 3.3 control on the "SSH Tunnel" tab of server dialog will be disabled.Please review it, and if looks good please commit the code.--Akshay JoshiSr. Software ArchitectPhone: +91 20-3058-9517
Mobile: +91 976-788-8246--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Akshay JoshiSr. Software ArchitectPhone: +91 20-3058-9517
Mobile: +91 976-788-8246
Akshay Joshi
Sr. Software Architect

Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
Mobile: +91 976-788-8246
Вложения
В списке pgadmin-hackers по дате отправления: