Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVQwQ-0002p3-FX for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:12:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZVQwP-0003fr-Sw for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Aug 2015 21:12:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZVQwP-0003fg-3S for pgsql-hackers@postgreSQL.org; Fri, 28 Aug 2015 21:12:05 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZVQwM-0004h7-2L for pgsql-hackers@postgreSQL.org; Fri, 28 Aug 2015 21:12:03 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1ZVQwK-0004XJ-HQ; Fri, 28 Aug 2015 17:12:00 -0400 Date: Fri, 28 Aug 2015 17:12:00 -0400 From: Bruce Momjian To: Andres Freund Cc: PostgreSQL-development Subject: Adding commit details to SGML release notes Message-ID: <20150828211200.GE21830@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Tue, Jun 30, 2015 at 07:00:45PM +0000, Andres Freund wrote: > Improve 9.5 release notes. > > 1) Add sgml comments referencing commits. This is useful to search for > missing items etc. > > The comments containing the commit notes are an excerpt from: > git log --date=short \ > --pretty='format:%cd [%h] %<(8,trunc)%cN: %<(48,trunc)%s%n%n%w(,4,4)%b%n' \ > $(git merge-base origin/master upstream/REL9_4_STABLE)..origin/master 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? I am not going to need this until the 9.6 release notes. Should I add it or someone else? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers