Re: moving from contrib to bin

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: moving from contrib to bin
Дата
Msg-id CAB7nPqTC4TeyiDA6eHPg9QbzzHyb50jmn02NgReDQUjDxiiseg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: moving from contrib to bin  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: moving from contrib to bin  (Michael Paquier <michael.paquier@gmail.com>)
Re: moving from contrib to bin  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Jan 17, 2015 at 10:08 PM, Andres Freund <andres@2ndquadrant.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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ali Akbar
Дата:
Сообщение: Re: [REVIEW] Re: Fix xpath() to return namespace definitions
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: moving from contrib to bin