Re: [HACKERS] show precise repos version for dev builds?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] show precise repos version for dev builds?
Дата
Msg-id CAB7nPqRD7GjuhqDwBcwb3qeexMi22wBmCgxhh=42n3_Jq=4Jag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] show precise repos version for dev builds?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sat, Oct 14, 2017 at 4:47 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> Mmph.  I understand the desire to identify the exact commit used for a
> build somehow, but something whose output depends on whether or not I
> left a branch lying around locally doesn't seem that great.

Similarly to Peter, I prefer a minimum amount of information so I tend
to just use `git rev-parse --short HEAD` with --extra-version for my
own builds. Looking at the timestamp of the files installed is enough
to know when you worked on them, and when testing a patch and
committing it on a local branch before compiling you can know easily
where you left things off. git branch --contains is also useful to get
from which branch is commit from.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [HACKERS] pg_control_recovery() return value when not in recovery
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] pg_control_recovery() return value when not in recovery