Re: Adding commit details to SGML release notes

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Adding commit details to SGML release notes
Date: 2015-08-28 21:27:06
Message-ID: 20150828212706.GG2912@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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(at)pobox(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-08-28 21:32:38 Re: Adding commit details to SGML release notes
Previous Message Bruce Momjian 2015-08-28 21:12:00 Adding commit details to SGML release notes

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-08-28 21:32:38 Re: Adding commit details to SGML release notes
Previous Message Bruce Momjian 2015-08-28 21:12:00 Adding commit details to SGML release notes