pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Adding commit details to SGML release notes
Date: Fri, 28 Aug 2015 17:32:38 -0400
Message-ID: <1486.1440797558@sss.pgh.pa.us> (raw)
In-Reply-To: <20150828212706.GG2912@alvherre.pgsql>
References: <E1ZA0lx-0006FM-PU@gemulon.postgresql.org>
	<20150828211200.GE21830@momjian.us>
	<20150828212706.GG2912@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


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



view thread (7+ messages)  latest in thread

Message-ID: <1486.1440797558@sss.pgh.pa.us>
Permalink:  ../1486.1440797558@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1486.1440797558@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, bruce@momjian.us, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: Adding commit details to SGML release notes
  In-Reply-To: <1486.1440797558@sss.pgh.pa.us>
  References: <E1ZA0lx-0006FM-PU@gemulon.postgresql.org> <20150828211200.GE21830@momjian.us> <20150828212706.GG2912@alvherre.pgsql> <1486.1440797558@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox