Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXSJU-0002ol-6A for pgadmin-hackers@arkaria.postgresql.org; Mon, 25 Jun 2018 14:17:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fXSJS-0000HU-Bi for pgadmin-hackers@arkaria.postgresql.org; Mon, 25 Jun 2018 14:17:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXSJR-0000HN-Vd for pgadmin-hackers@lists.postgresql.org; Mon, 25 Jun 2018 14:17:50 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fXSJL-0000ss-2V for pgadmin-hackers@postgresql.org; Mon, 25 Jun 2018 14:17:48 +0000 Received: by mail-wr0-x242.google.com with SMTP id a12-v6so13891493wro.1 for ; Mon, 25 Jun 2018 07:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O8nu3bSU23kDDLgP+AlRywQ9po5AfX8L8FHFAdFDQfo=; b=PWDvTT/2i303rlBCkPmHN8hkJsOpLb6hPK7VgsNzMb6a4rMVXwdpPEwmyayvrmdYO2 C/oDoTKWk7ZmnSrHbZ0fv621s7MkqX/BrkYVkpAtAB9sozFS2RF18DFXLabbRnsc9qxE 5od2ff2KHKEkju4qI3TKx5xqb+s0O3JGabR0PffgukoWQUSKVms2JeImiM673lR4ZEhV VmXIADxiUGWOdXLGdk6nGtKPlu2AkGWMzqGn4L7W9kUP4CxyrEPhOTYfBmluoX9LyzaL 2ProFb2MpD05NGrIPwe399Gu74pqtSpUZbALoH9T3Y7qZb61Nz7MWflx/zQML8dMrhxV RVEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O8nu3bSU23kDDLgP+AlRywQ9po5AfX8L8FHFAdFDQfo=; b=iqHJydjeF56bbVzgKnj5NKS+cVyRi2efmBTpJh9oJx9YtYf3mnWvwdBDgGlRTO5aAZ +EK0Lgd9xHqgsV3vfPGstfZQkeIqQcOtyPnqMb/5Pi1Ke0B9IMPHDpSZHPsZwr2K8EFm qu75WLx1BwlxeMs8yLbIEmFz903yOk98bNZeaBZjZwTQj5qQtMfpOnirwdCcDJpYQQ+p Db1nOlEObVwKdVky+vNip6P3U2ZOvZBqBZWuLfYmrM/4O1V0j4DbFjhYLIh9NPbfvgiT Uq2BTbAnPQeeYo6wYAO6qEieNPSpYKMHY5mX2jlXy/jesWr6+891R9mlxTXR8cACexM9 RNpA== X-Gm-Message-State: APt69E1KYfGvm18l0IlwOv/0YQtOTEzChXvVPBA9LmxhsMj7VecnJYeN Rgn9+aWWzmjeHzAYHNFlc2DOIZOhyzb7WVRqrbI5rQ== X-Google-Smtp-Source: AAOMgpdn8Zz+XBWPXZGSNBGET1gbBOtBWLxRf1+uG+zgvBQoKboTOsFYP/4z4j5lgHA/Yj0Zextmjd3nj+2sph7q3i8= X-Received: by 2002:adf:f0cb:: with SMTP id x11-v6mr10831713wro.49.1529936261568; Mon, 25 Jun 2018 07:17:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:2907:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 07:17:40 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Mon, 25 Jun 2018 15:17:40 +0100 Message-ID: Subject: Re: [pgAdmin4][Patch] - RM #3309 - Backup does not work with --format=d To: Khushboo Vashi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000668a3a056f780b66" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000668a3a056f780b66 Content-Type: text/plain; charset="UTF-8" Hi On Mon, Jun 25, 2018 at 1:23 PM, Khushboo Vashi < khushboo.vashi@enterprisedb.com> wrote: > Hi, > > Please find the attached patch for RM #3309 - Backup does not work with > --format=d. > > Fixes in the patch : > > 1. Format = directory fix for Backup and Restore utilities > 2. Test cases for format = directory > 2. File manager fix - The selected directory was not properly populated in > the text box > The patch disables the file picker button if you select Directory format. This seems like poor behaviour; I think we need to modify the dialogue to allow a directory to be selected. > 3. Refactoring of File manager JS file > That's somewhat more readable. Can we add tests? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --000000000000668a3a056f780b66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Mon, Jun 25, 2018 at 1:23 PM, Khushboo Vashi <= ;khush= boo.vashi@enterprisedb.com> wrote:
Hi,

Please find the attached pa= tch for RM #3309 - Backup does not work with --format=3Dd.

Fixes in the patch :

1. Format =3D direct= ory fix for Backup and Restore utilities
2. Test cases for format= =3D directory
2. File manager fix - The selected directory was n= ot properly populated in the text box

The patch disables the file picker button if you select Directory fo= rmat. This seems like poor behaviour; I think we need to modify the dialogu= e to allow a directory to be selected.
=C2=A0
3. Refactoring of File manager JS fi= le

That's somewhat more rea= dable. Can we add tests?=C2=A0

--
Dave Page
Blog: = http://pgsnake.bl= ogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com<= br>The Enterprise PostgreSQL Company
--000000000000668a3a056f780b66--