[postgis-devel] Code formatting digging in

Sandro Santilli strk at kbt.io
Thu Feb 22 12:48:01 PST 2018


On Thu, Feb 22, 2018 at 10:39:16AM -0800, Paul Ramsey wrote:
> On Thu, Feb 22, 2018 at 10:36 AM, Sandro Santilli <strk at kbt.io> wrote:

> > Just to give more info: the version of astyle that QGIS ships
> > is 3.1, they just embed the full source code in qgis codebase.
> >
> > It only takes 664K:
> >
> >   664K    external/astyle/
> >
> > That'd be ~1% of the current PostGIS source code.
> > I would not be against doing the same.
> 
> Sold. I'm in.

Never make a customer wait:
https://git.osgeo.org/gitea/postgis/postgis/pulls/23

TODO:
 - review astyle configuration to our liking
 - ensure .editorconfig does not disagree with astyle
 - have bots ensure style is correct (ie: 'make astyle' doesn't change
   a thing)
 - mass-reformat !

--strk;


More information about the postgis-devel mailing list