Re: pgsql: make dist uses git archive

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: make dist uses git archive
Дата
Msg-id CAD5tBcLm3OoT0F=ZjR5HzsEgy6m=sNUzURQYxwxnASp8w0iVcA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: make dist uses git archive  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: pgsql: make dist uses git archive  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-committers


On Tue, Mar 26, 2024 at 3:20 AM Peter Eisentraut <peter@eisentraut.org> wrote:
On 25.03.24 23:20, Andrew Dunstan wrote:
> The problem occurs because except in vpath mode the buildfarm operates
> on a copy of the code, and for efficiency reasons we don't copy the ,git
> directory.
>
> The simplest fix is probably to change the machine's config to use a
> vpath build.
>
> In the config file change the undef here to a 1:
>
> 'use_vpath' => undef,
>
> That worked for me in a quick test.

Note that "make dist" doesn't work with vpath in backbranches. :-/


Ugh.

OK, plan B :

In the Module's setup code, right after the "die", put

symlink("$buildroot/$branch/pgsql/.git","$pgsql/.git");

cheers

andrew


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: pg_createsubscriber: creates a new logical replica from a standb
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: make dist uses git archive