Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVRHt-0003rP-6F for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:34:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVRHs-0000Vj-JW for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:34:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVRGa-0007UA-AA for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 21:32:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVRGX-0006gn-HV for pgsql-hackers@postgresql.org; Fri, 28 Aug 2015 21:32:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t7SLWcLp001487; Fri, 28 Aug 2015 17:32:38 -0400 From: Tom Lane To: Alvaro Herrera cc: Bruce Momjian , Andres Freund , PostgreSQL-development Subject: Re: Adding commit details to SGML release notes In-reply-to: <20150828212706.GG2912@alvherre.pgsql> References: <20150828211200.GE21830@momjian.us> <20150828212706.GG2912@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 28 Aug 2015 18:27:06 -0300" Date: Fri, 28 Aug 2015 17:32:38 -0400 Message-ID: <1486.1440797558@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera 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