From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gg+nCMcFTWC/DAAAWB0awg (envelope-from ) for ; Sat, 13 Mar 2021 13:34:47 -0500 Received: by simark.ca (Postfix, from userid 112) id 138461EF78; Sat, 13 Mar 2021 13:34:47 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 601701E789 for ; Sat, 13 Mar 2021 13:34:46 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E137B3857C70; Sat, 13 Mar 2021 18:34:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E137B3857C70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1615660485; bh=dH1ksZejz5AddzGT+S0gLk6fJ6/AUxNXszldZcRn3xg=; h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Lq9vEh+WF3eLtk8kTLgMOzbxWvqz+d6jTYu673rOsK0gVD9zvw2OCBaszeESVdnfI D7sB0HkN82dEtRD5pz5CdijsRTlpIM4d6XWkQpJUEtd6GbjjnZJUQ2DUmq1gl3mjgB e4MUEqTuGQxNvUAmUepF8odJFrrlutuNW9F8LxjU= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id E98623857C70 for ; Sat, 13 Mar 2021 18:34:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E98623857C70 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39540) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL962-0006af-5L; Sat, 13 Mar 2021 13:34:42 -0500 Received: from pool-96-233-64-159.bstnma.fios.verizon.net ([96.233.64.159]:44186 helo=pdslaptop.home.arpa) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lL961-0002a4-0P; Sat, 13 Mar 2021 13:34:41 -0500 Message-ID: <5fef4259b3b645179173fb9891f4a7221213ed13.camel@gnu.org> Subject: Re: sim: replacing ChangeLog files with online git logs To: Mike Frysinger , Eli Zaretskii Date: Sat, 13 Mar 2021 13:34:40 -0500 In-Reply-To: References: <83ft0zjys1.fsf@gnu.org> <83lfarhwjq.fsf@gnu.org> <83eegjhuuq.fsf@gnu.org> Organization: GNU's Not UNIX! Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Paul Smith via Gdb Reply-To: psmith@gnu.org Cc: gdb@sourceware.org Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" On Sat, 2021-03-13 at 13:21 -0500, Mike Frysinger via Gdb wrote: > > > the hard & bikeshed part is what form does the log take. do you > > > just want the default `git log` output ? > > There's a Gnulib script which will produce the form that matches > > the ChangeLog format. > > there's actually multiple gnulib scripts. which one are you > referring to ? gitlog-to-changelog ? I have no interest in getting in the middle of the discussion on what is appropriate or not, but FYI this is the text I add to the maintainer version of the makefile for GNU make, if it helps (the gl2cl-date variable holds the oldest date to be included in the ChangeLog). ## ---------------------- ## ## Generating ChangeLog. ## ## ---------------------- ## gl2cl-date := 2013-10-10 gl2cl := $(GNULIBDIR)/build-aux/gitlog-to-changelog # Rebuild the changelog whenever a new commit is added ChangeLog: .check-git-HEAD if test -f '$(gl2cl)'; then \ '$(gl2cl)' --since='$(gl2cl-date)' > '$@'; \ else \ echo "WARNING: $(gl2cl) is not available. No $@ generated."; \ fi .check-git-HEAD: FORCE sha="`git rev-parse HEAD`"; \ test -f '$@' && [ "`cat '$@' 2>/dev/null`" = "$$sha" ] \ || echo "$$sha" > '$@' .PHONY: FORCE FORCE:;@: