From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Generating the ChangeLog files from the commit messages Date: Thu, 20 Nov 2014 09:50:48 +0700 Message-ID: References: <21606.10799.112099.788101@a1i15.kph.uni-mainz.de> <1753218.Ot8JCqssfN@descartes> <546AABCF.8030705@cs.ucla.edu> <9xioico2nm.fsf@fencepost.gnu.org> <83k32s9zm5.fsf@gnu.org> <546BC2C6.50909@cs.ucla.edu> <546D3287.7070802@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416451873 24589 80.91.229.3 (20 Nov 2014 02:51:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2014 02:51:13 +0000 (UTC) Cc: Emacs developers , "rms@gnu.org" , Stefan Monnier To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 20 03:51:06 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrHpq-0001Ow-8D for ged-emacs-devel@m.gmane.org; Thu, 20 Nov 2014 03:51:06 +0100 Original-Received: from localhost ([::1]:33272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrHpp-0001LP-U8 for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2014 21:51:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrHpb-0001LJ-So for emacs-devel@gnu.org; Wed, 19 Nov 2014 21:50:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrHpb-0001iI-4d for emacs-devel@gnu.org; Wed, 19 Nov 2014 21:50:51 -0500 Original-Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]:54478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrHpZ-0001hk-Qa; Wed, 19 Nov 2014 21:50:49 -0500 Original-Received: by mail-ie0-f172.google.com with SMTP id ar1so1957587iec.3 for ; Wed, 19 Nov 2014 18:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Jrf1rrHGuUSwWQ8h1WHlqWvWfsJ5nIBHjfnvIujMk3Y=; b=x+n8ZiQq6x5X7obdVp6CMrdBm5wn9e5n8JoItUogC+1CMrfkZ7J5uDA/zIUE+ciiLN LAhY04SE76f7FCnxwF373OjMjUj6syyYJnxTerIP7BQ5R/6nIza/SXoE8DeQl1uWo59w ryIxhybOyUfC7L1sdw6rZzECOFKHrqhhxzQyJkTCFLt1uOAPCNKavqq/EvzbmPHe2IV6 RG3PHbmI1x6Sfqnyd67wZiBJfkuAf0SvGgrxMMtjQWMR8gKbx412diPv3VoPTYU8nt2G PKJJm3KBBdn/HXxtcNg4O5QdGkEWV7rHetJ29hhGwKwpHSfUDGz9i2RX2109JGAL2sz2 rRnA== X-Received: by 10.107.132.210 with SMTP id o79mr5039613ioi.50.1416451848640; Wed, 19 Nov 2014 18:50:48 -0800 (PST) Original-Received: by 10.107.48.3 with HTTP; Wed, 19 Nov 2014 18:50:48 -0800 (PST) In-Reply-To: <546D3287.7070802@cs.ucla.edu> X-Google-Sender-Auth: __jFmwkda9FNnrOk-PL0plbHQtg X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177840 Archived-At: On Thu, Nov 20, 2014 at 6:15 AM, Paul Eggert wrote: > In Bug#19113 I just now proposed patches to generate the ChangeLogs > combined. This was easier, as it's what other GNU projects do and I borro= wed > their code. If someone would like to change the generation procedure to > tease out various subdirectories' changes, please feel free. (There's no > rush to do this, as the procedure matters only when making a new release.= ) > Other comments are welcome too. I glanced through the gitlog-to-changelog script, and it appears to pass all arguments after =E2=80=9C--=E2=80=9D to git log. git log accepts a= s arguments, among other things, zero or more file or subdirectory paths to limit the log to. To disambiguate paths from branch heads and tags, one adds another =E2=80=9C--=E2=80=9D in between. Example: =E2=80=A6/emacs $ gitlog-to-changelog --since=3D2014-11-18 -- foo -- lisp should generate a changelog from the commits reachable from the branch head =E2=80=9Cfoo=E2=80=9D authored on or after 2014-11-18 and touching any= files in the subdirectory =E2=80=9Clisp=E2=80=9D. (I have not tried this.)