Re: pgAgent 4.0 patch - Mailing list pgadmin-hackers

From Dave Page
Subject Re: pgAgent 4.0 patch
Date
Msg-id CA+OCxozkh2UU-r1Wa-yo9_0t8G4ee5PhV8b3isfX8KWKwoZqTQ@mail.gmail.com
Whole thread Raw
In response to Re: pgAgent 4.0 patch  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Responses Re: pgAgent 4.0 patch  (Paresh More <paresh.more@enterprisedb.com>)
List pgadmin-hackers
Thanks, committed with those changes.

Paresh; can you please create some pgAgent 4.0 installers (PG not EPAS Bitrock installers) from git head for Fahar to test?

Once he's happy with them, I'll tag and build the community packages.

Thanks!

On Tue, Jun 5, 2018 at 5:07 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Mon, Jun 4, 2018 at 10:04 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

Can you review the attached please Ashesh?
Hi Dave,

Due to the wrong pattern in '.gitignore', it was ignoring the new file 'sql/pgagent--3.4--4.0.sql'.
We should ignore only the '*.sql' in the root directory.
Something like this.
$ git diff .gitignore
diff --git a/.gitignore b/.gitignore
index 9883354..40fe7a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,12 @@ CPackSourceConfig.cmake
 Makefile
 cmake_install.cmake
 install_manifest.txt
-pgagent
+# Ignore 'pgagent' & 'pgagent.control' in root directory only.
+/pgagent
+!/*/pgagent
 pgagent.control
+!/*/pgagent.control
 *.log
-*.sql
+# Ignore '*.sql' files in root directory only.
+/*.sql
+!/*/*.sql

And, I am getting the following warning applying the patch.
$ git apply ~/Downloads/pgagent-4.0-update.diff
/Users/asheshvashi/Downloads/pgagent-4.0-update.diff:320: trailing whitespace.
//
warning: 1 line adds whitespace errors.

Otherwise - it looks good to me.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi 


Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAgent commit: Updates for 4.0 release
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][RM#3307]User interface unable to connect to databaserunning on port range 1-1024