Re: Preliminary results for proposed new pgindent implementation
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>, Stephen Frost <sfrost@snowman.net>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Piotr Stefaniak <postgres@piotr-stefaniak.me>
Date: 2017-06-17T21:41:40Z
Lists: pgsql-hackers
On 6/16/17 10:51, Tom Lane wrote: > So I'm back to the position that we ought to stick the indent > code under src/tools/ in our main repo. Is anyone really > seriously against that? I think it would be better to have it separate. Other than for reasons of principle and general modularity of the world, I would like this to be available separately for separate download, packaging, etc. to it can be applied to extension projects without having to download and build (a specific version of) PostgreSQL. The code formatting in extension projects is, um, questionable. In fact, if it's a better indent period, I would like to package it for the general public. If the vote is to put it into the tree, I would request not to do it in PG10. At this point, we should be winding things down and not open up new areas of activity. There is a chance that if this goes in (or anywhere else), there will be a stream of requests along the lines of: doesn't build on Windows, doesn't build on AIX, doesn't build on PowerPC, doesn't build on this other Windows variant, the tests don't run, the tests don't run on Windows, it doesn't build in vpath, it doesn't work on the buildfarm, and so on. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Manually un-break a few URLs that pgindent used to insist on splitting.
- 780b3a4c43fd 10.0 landed
-
Remove entab and associated detritus.
- 81f056c7256f 10.0 landed
-
Phase 3 of pgindent updates.
- 382ceffdf7f6 10.0 landed
-
Phase 2 of pgindent updates.
- c7b8998ebbf3 10.0 landed
-
Initial pgindent run with pg_bsd_indent version 2.0.
- e3860ffa4dd0 10.0 landed
-
Adjust pgindent script to use pg_bsd_indent 2.0.
- 8ff6d4ec7840 10.0 landed
-
Final pgindent run with old pg_bsd_indent (version 1.3).
- 9ef2dbefc7fb 10.0 landed