Re: moving from contrib to bin - Mailing list pgsql-hackers

From Andres Freund
Subject Re: moving from contrib to bin
Date
Msg-id 20150117130834.GA23811@alap3.anarazel.de
Whole thread Raw
In response to Re: moving from contrib to bin  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: moving from contrib to bin
Re: moving from contrib to bin
Re: moving from contrib to bin
Re: moving from contrib to bin
List pgsql-hackers
On 2015-01-17 13:16:18 +0100, Andres Freund wrote:
> I'd also like to see patches that primarily move code around as git diff
> -M -C style diffs (can also be passed to format-patch). That will show
> the file move and then additionally the changes that have been made in
> addition to the rename. There's no sane way the current diffs can be
> reviewed without applying them to a tree.

Btw, this also avoids many trivial kind of conflicts... Which renames
generally are very prone to.


Rebased (fair amount of trivial conflicts due to the copyright year
bump) and attached as -MC style format-patch. If you look at the content
of the patches you can see that the diff makes more sense now.

Observations:
1) Are we sure it's a good idea to rely on pgxs.mk in src/bin programs?
2) I removed a stray 'port.c' and some whitespace as a fixup commit (git
   rebase --autosquash ...) from the pg_upgrade_support commit
3) pg_upgrade tests didn't run due to a /src/ to much in the path to
   pg_regress
4) I have doubts that it's ok to integrate the tests in src/bin just the
   way they were done in contrib.
5) Doing the msvc support for all intermediate commits in a separate
   commit strikes me as a bad idea. Essentially that makes the split
   pretty pointless.
6) Similarly I'd much rather see the doc movement in the same commit as
   the actually moved utility. Then we can start applying this one by one
   on whatever we have agreement.
7) Are we sure that the authors in the affected contrib modules are ok
   with their authorship notice being removed? I don't think Ants, Bruce
   or Simon have a problem with that, but ...
8) Why did you remove Peter as the git author?

I've also pushed the git tree of these changes to
http://git.postgresql.org/gitweb/?p=users/andresfreund/postgres.git;a=summary
branch move-contrib-bins-to-bin

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: TABLESAMPLE patch
Next
From: Robert Haas
Date:
Subject: Re: Safe memory allocation functions