Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
pgsql-hackers@postgresql.org
Date: 2017-05-17T18:44:31Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2017-05-17 13:35:22 -0400, Tom Lane wrote:
>> Not sure about actually incorporating it into our repo. Doing so would
>> make it easier for people to use, for sure, and the license seems to be
>> regular 3-clause BSD, so that angle is OK. But do we want to be carrying
>> around another 150K of source code?
> 150k? Isn't it like 3-4k?
The version we're using now is
$ tar xfz ~/archive/pg_bsd_indent-1.3.tar.gz
$ wc pg_bsd_indent/*
38 122 928 pg_bsd_indent/Makefile
107 831 4835 pg_bsd_indent/README
508 1743 11988 pg_bsd_indent/args.c
569 2727 14732 pg_bsd_indent/indent.1
1288 5677 37815 pg_bsd_indent/indent.c
101 671 4251 pg_bsd_indent/indent_codes.h
367 2376 15206 pg_bsd_indent/indent_globs.h
685 2781 18045 pg_bsd_indent/io.c
634 2709 17017 pg_bsd_indent/lexi.c
306 1133 8019 pg_bsd_indent/netbsd.patch
366 1659 10953 pg_bsd_indent/parse.c
478 2427 15199 pg_bsd_indent/pr_comment.c
5447 24856 158988 total
(Note I was counting bytes not LOC.)
I've not looked at FreeBSD's version, but I'll bet a nickel it's bigger.
regards, tom lane
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
-
Re-run pgindent.
- 651902deb155 10.0 landed
-
Preventive maintenance in advance of pgindent run.
- c079673dcb7f 10.0 cited