Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@mips.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: GDB <gdb@sourceware.org>, GDB Patches <gdb-patches@sourceware.org>
Subject: Re: Stop updating ChangeLog?
Date: Tue, 06 Feb 2018 21:02:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.00.1802062040590.3553@tp.orcam.me.uk> (raw)
In-Reply-To: <CAH=s-PMDK233mPHHecHbrRky3QyaWYLem8KyujWm+E6M+N1WOQ@mail.gmail.com>

Hi Yao,

>  #1 Are ChangeLog files useful in GDB releases to various people
>  who build GDB releases?
>  #2 Are ChangeLog files useful in GDB repo to various GDB
>  developers?
> 
> a) If answers are Yes/Yes, we keep unchanged,
> b) If answers are No/No, we don't need to write changelog entries in
> git commit log, nor updating ChangeLog file,
> c) If answer are Yes/No, developers still have to write changelog
> entries in git commit log, and we can generate ChangeLog on
> release from git log.
> d) If answers are No/Yes, get use to git to get the information from
> git log instead of ChangeLog,

 For me it's No/Yes for two reasons:

1. It is often cheaper in terms of computation or I/O to run `grep' on
   local ChangeLog files than on output from `git', which in turn means
   you get results sooner.  I know it's a weak argument, but still.

2. More importantly, many times I found writing a ChangeLog entry the last 
   reflection point when I realised the solution wasn't actually the right 
   one.  This is because at that point you need to give individual changes
   another thought, and then actually look at them from a different angle, 
   to have them properly expressed in ChangeLog-speak.  I expect that at 
   least some people have had a similar experience and I'd like to keep 
   that opportunity.

I reckon we had a discussion before (at the last GNU Tools Cauldron 
perhaps?) where we concluded that we ought to work towards having a GIT 
commit hook extracting embedded ChangeLog entries from the commit 
description and adding them to actual ChangeLog files automagically.  I 
would be in favour to that.  Although myself I have developed a work flow 
which makes pasting ChangeLog entries into files from a commit description 
very little involving, I still find ChangeLog file conflicts a problem 
with backports.

 FWIW,

  Maciej


  parent reply	other threads:[~2018-02-06 21:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 16:00 Yao Qi
2018-02-05 16:30 ` Simon Marchi
2018-02-05 17:23 ` Dmitry Samersoff
2018-02-05 19:04 ` Joseph Myers
2018-02-05 21:56   ` Yao Qi
2018-02-05 22:32     ` Joseph Myers
2018-02-06  7:34       ` Joel Brobecker
2018-02-06 18:57         ` Dennis Clarke
2018-02-06 19:55           ` Simon Marchi
2018-02-07  3:32             ` Joel Brobecker
2018-02-05 19:08 ` John Baldwin
2018-02-06 21:02 ` Maciej W. Rozycki [this message]
2018-02-07  9:11   ` Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.1802062040590.3553@tp.orcam.me.uk \
    --to=macro@mips.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox