Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJkhq-0001nz-Nc for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jan 2023 00:29:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pJkhn-0005x6-Ty for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jan 2023 00:28:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJkhn-0005vm-Kj for pgsql-hackers@lists.postgresql.org; Mon, 23 Jan 2023 00:28:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJkhf-0002LY-To for pgsql-hackers@postgresql.org; Mon, 23 Jan 2023 00:28:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 30N0SgN31502505; Sun, 22 Jan 2023 19:28:42 -0500 From: Tom Lane To: Andres Freund cc: Jelte Fennema , Peter Geoghegan , Bruce Momjian , Magnus Hagander , Alvaro Herrera , Stephen Frost , Noah Misch , Jesse Zhang , PostgreSQL-development Subject: Re: run pgindent on a regular basis / scripted manner In-reply-to: <20230123001518.6hxyiczhn4kadvmf@awork3.anarazel.de> References: <1097305.1674334785@sss.pgh.pa.us> <20230121224312.qmwpagrebidr6hi7@awork3.anarazel.de> <20230122094957.x542ojaqgi4lalq4@awork3.anarazel.de> <20230122223806.3sgew6qswhsczae7@awork3.anarazel.de> <1495023.1674430107@sss.pgh.pa.us> <20230123001518.6hxyiczhn4kadvmf@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 22 Jan 2023 16:15:18 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1502503.1674433722.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 22 Jan 2023 19:28:42 -0500 Message-ID: <1502504.1674433722@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > I think I've proposed this before, but I still think that as long as we = rely > on pg_bsd_indent, we should have it be part of our source tree and > automatically built. It's no wonder that barely anybody indents their > patches, given that it requires building pg_bsd_ident in a separate repo= (but > referencing our sourc etree), putting the binary in path, etc. Hmm ... right offhand, the only objection I can see is that the pg_bsd_indent files use the BSD 4-clause license, which is not ours. However, didn't UCB grant a blanket exception years ago that said that people could treat that as the 3-clause license? If we could get past the license question, I agree that doing what you suggest would be superior to the current situation. regards, tom lane