Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVRBD-0003X4-1T for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:27:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVRBB-0005Wk-DB for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:27:21 +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 1ZVRBA-0005Wd-NG for pgsql-hackers@postgreSQL.org; Fri, 28 Aug 2015 21:27:20 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZVRB5-0006an-VG for pgsql-hackers@postgreSQL.org; Fri, 28 Aug 2015 21:27:19 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.169.63]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id A33B24010B3; Fri, 28 Aug 2015 14:27:08 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id CF05015E6; Fri, 28 Aug 2015 18:27:06 -0300 (CLT) Date: Fri, 28 Aug 2015 18:27:06 -0300 From: Alvaro Herrera To: Bruce Momjian Cc: Andres Freund , PostgreSQL-development Subject: Re: Adding commit details to SGML release notes Message-ID: <20150828212706.GG2912@alvherre.pgsql> References: <20150828211200.GE21830@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150828211200.GE21830@momjian.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.5 (--) 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 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 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers