Re: Adding commit details to SGML release notes - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Adding commit details to SGML release notes
Date
Msg-id 20150828212706.GG2912@alvherre.pgsql
Whole thread Raw
In response to Adding commit details to SGML release notes  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Adding commit details to SGML release notes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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?

Hmm, that's pretty new actually,

commit edca4152560522a431a51fc0a06147fc680b5b18
Author:     Junio C Hamano <gitster@pobox.com>
AuthorDate: Fri May 24 11:34:46 2013 -0700
CommitDate: Fri May 24 11:34:46 2013 -0700
   Git 1.8.3


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

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

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Adding commit details to SGML release notes
Next
From: Tom Lane
Date:
Subject: Re: Adding commit details to SGML release notes