pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Pg Committers <pgsql-committers@postgresql.org>
Subject: Re: Tips on committing
Date: Fri, 29 Jun 2018 21:23:13 +0900
Message-ID: <20180629122313.GC8939@paquier.xyz> (raw)
In-Reply-To: <CAH2-Wz=BkTRfYB9az=G3roKR7d=ob0kDhEkvL8oDPn1XKYDeyg@mail.gmail.com>
References: <CAH2-WzktkdJ4GCU=0aMpQ6KiC8pv-zsOy-Mc0m4isS7BP-9Z2Q@mail.gmail.com>
	<20180628165214.fwx7r7xbnballusn@alvherre.pgsql>
	<CAH2-Wz=BkTRfYB9az=G3roKR7d=ob0kDhEkvL8oDPn1XKYDeyg@mail.gmail.com>

On Thu, Jun 28, 2018 at 10:52:42AM -0700, Peter Geoghegan wrote:
> On Thu, Jun 28, 2018 at 9:52 AM, Alvaro Herrera
> I'll try to do that, but I'd still recommend personalizing it. A lot
> of the stuff in there is specific to my own workflow and tool
> preferences, and my own personal working style. I don't really use a
> template in the same way Bruce does, for example, because most of that
> stuff is taken care of by my text editor having a "gitcommit" syntax.
> 
> I find it useful to have a routine checklist for things like
> committing, because it frees up a little space in my head for other
> things. I do the same thing when preparing for a trip.

Yes, that's a good idea.  In order to run the tests, I have a dedicated
alias:
alias pgcheck='cd $HOME/postgres && make check-world -j 4 PROVE_FLAGS='\''-j 4'\''
This does not work with 9.5 and older versions though as parallel build
is broken in those cases, and also checking that parallel build is not
broken is a good routine to have in my opinion.

I would also recommend that people use PG_TEST_EXTRA='ssl ldap kerberos'
in their environment so as no tests are skipped.  We have seen the SSL
test suite broken silently a couple of times since its introduction...
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (21+ messages)  latest in thread

Message-ID: <20180629122313.GC8939@paquier.xyz>
Permalink:  ../20180629122313.GC8939@paquier.xyz/
Also on:    postgresql.org/message-id/20180629122313.GC8939@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pg@bowt.ie, alvherre@2ndquadrant.com, bruce@momjian.us, pgsql-hackers@postgresql.org
  Subject: Re: Tips on committing
  In-Reply-To: <20180629122313.GC8939@paquier.xyz>
  References: <CAH2-WzktkdJ4GCU=0aMpQ6KiC8pv-zsOy-Mc0m4isS7BP-9Z2Q@mail.gmail.com> <20180628165214.fwx7r7xbnballusn@alvherre.pgsql> <CAH2-Wz=BkTRfYB9az=G3roKR7d=ob0kDhEkvL8oDPn1XKYDeyg@mail.gmail.com> <20180629122313.GC8939@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox