Re: Adding commit details to SGML release notes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding commit details to SGML release notes
Дата
Msg-id 1486.1440797558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Adding commit details to SGML release notes  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Adding commit details to SGML release notes  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Bruce Momjian wrote:
>> To simplify the creation of the release note with the commit tag as an
>> SGML comment, I think src/tools/git_changelog should be modified to
>> output this string.  The format "trunc" feature was added in git 1.8.3. 
>> Is that old enough for everyone?

> Since it's only needed by people preparing the release notes, I would
> guess it's okay --- evidently Tom was able to use it.

Well, that's only because I'm running a hand-installed git rather than
what RHEL6 comes with.

> Maybe an option is to use trunc when git 1.8.3 or newer is detected, and
> plain (no trunc) otherwise?

Personally I find that truncated output to be pretty unreadable, and
would strongly object to changing git_changelog so that that was the only
possible format.  However, I have no objection to making it an option
("git_changelog --short", or so), and that would dodge any concerns about
failing on git versions without the feature.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Adding commit details to SGML release notes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Adding commit details to SGML release notes