From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Andres Freund <andres(at)2ndquadrant(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: moving from contrib to bin |
Date: | 2015-01-18 12:05:29 |
Message-ID: | CAB7nPqTC4TeyiDA6eHPg9QbzzHyb50jmn02NgReDQUjDxiiseg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Jan 17, 2015 at 10:08 PM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> Observations:
> 1) Are we sure it's a good idea to rely on pgxs.mk in src/bin programs?
Yeah, this seems like a bad dependency, PGXS being made for contrib
modules... So corrected in the patch attached (the headers of the
Makefiles are improved as well to be consistent with the other
utilities, btw there is code duplication in each Makefile if we do not
use PGXS stuff in src/bin).
> 4) I have doubts that it's ok to integrate the tests in src/bin just the
> way they were done in contrib.
Are you referring to the tests of pg_upgrade?
> 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.
Well, sure. The split was done just to facilitate review with stuff to
be applied directly on top of what Peter already did. And note that I
agree as well that everything should be done in a single commit.
Separating things would break build on a platform or another if a
build is done based on an intermediate state of this work, that would
not be nice.
> 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 ...
Yeah, agreed that I have really too aggressive with what I did. Let's
CC all the authors on this thread and get directly their permission to
process then. Some people may accept, other no, so let's see.
> 8) Why did you remove Peter as the git author?
I applied on my local repo this series of patches after some bash-ing
without preserving any meta data, so the author name has just been
changed on the way, and then ran a simple git format to generate the
whole set once again. Well, sorry if this was confusing, but let's be
clear anyway: I have no intention to make mine the work of Peter (or
any other people).
> 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
That's helpful. I just picked it up and built the patch attached that
can be applied on top of it, correcting the Makefiles and the
reference to the authors in the docs.
FWIW, my branch, based on yours is here:
https://github.com/michaelpq/postgres/tree/contrib_to_bin
Regards,
--
Michael
Attachment | Content-Type | Size |
---|---|---|
0001-Fix-Makefiles-and-re-add-author-references.patch | text/x-diff | 13.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2015-01-18 12:18:59 | Re: moving from contrib to bin |
Previous Message | Ali Akbar | 2015-01-18 11:05:05 | Re: [REVIEW] Re: Fix xpath() to return namespace definitions |