Re: [pgAdmin4][Patch]: RM #3232 Backup with incorrect path stays in broken state

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM #3232 Backup with incorrect path stays in broken state
Date: 2018-10-22 07:04:01
Message-ID: CAM9w-_nWhtaSj6dMzixPN9Q2H57OR7=5KD50xaBFVAwR_TSAGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Akshay,

Looks good to me.

On Fri, Oct 19, 2018 at 7:00 PM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Hackers,
>
> I have fixed RM #3232 Backup with incorrect path stays in broken state.
> Attached patch file contains following:
>
> - Fix for RM #3232, in case user provide wrong path then
> "Backup/Restore/Maintenance/ImportExport" utility won't start and user
> will get an pop up for file not found.
> - Correct the logic for "Backup/Restore/Maintenance/ImportExport" test
> cases, it is failing when default binary path is not set in the test_
> config.json file. It should be skipped if path not provided.
> - Skip all the test cases for "Backup/Restore/Maintenance/ImportExport"
> if respective utility files are not found on the given path.
> - Added "Stop Process" button to stop the
> Utility("Backup/Restore/Maintenance/ImportExport") process. To support
> this I used "*psutil*" python package to terminate the process. psutil
> is a cross platform package.
> - Modify Jasmin test cases.
>
> I have tested the patch on OSX, Linux and Windows. Please review it.
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2018-10-22 07:06:38 pgAdmin 4 commit: Ensure that Utilities(Backup/Restore/Maintenence/Impo
Previous Message Khushboo Vashi 2018-10-22 06:05:50 Re: [pgAdmin4][Patch]: RM #1513 - Unable to do max selection to drop tables/sequences/functions