unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: rpluim@gmail.com, emacs-devel@gnu.org
Subject: Re: master e714b31 3/6: Merge from origin/emacs-28
Date: Wed, 17 Nov 2021 17:59:48 -0800	[thread overview]
Message-ID: <CADwFkmkbxXmJYNfSfwgC3YXm9B=gLu0xX2uxFCjVrm08bnuZkQ@mail.gmail.com> (raw)
In-Reply-To: <83ilwqzxo5.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

> I tried to point out the downsides: the change is not really trivial,
> and therefore will have fallout, as always happens with such changes.
> And we will have to deal with that fallout.  Of course, since we are
> always overly optimistic and hope there will be no unintended
> consequences, we always tend to underestimate the downsides.

I understand your general concern, as with any code change, but I don't
agree with the conclusion that we must not make this particular change.

I expect that there will be fallout only in code that assumes that an
etc/NEWS file exists.  (Creating the symlink on GNU/Linux is mostly just
convenience and not a proper solution, IMO.)

I think I covered most such cases in my patch, but of course I might
have missed a few.  Having reviewed many (most? all?) such cases in our
tree though, I very seriously doubt that any of it will be hard to
change.  It is a trivial case of: point it to NEWS.NN if NEWS doesn't
exist.  You can see some examples in my latest patch.  Any such changes
should be small and localized.

Once we cut the emacs-29 branch, gitmerge.el may or may not need more
changes.  I think there is plenty of time to test it though, and I
intend to do so if and when this lands on master.  From my cursory
reading, this will take at most a small amount of effort, as it just
involves skipping some special handling that is no longer needed.

> For non-problems such as this one, changes like this are just waste of
> time and energy.  VCS is a tool, a means to an end; let's not make
> changes in our code and create opportunity for subtle bugs just
> because people rarely make VCS-related mistakes.

This is just one thread of many that we have had about the issues this
has caused over the years.  We would arrive at the exact same conclusion
whether or not this latest incident had happened or not.  In fact, we
discussed it just the other week as well, in the thread where Glenn said
he won't be doing the merges.  Sweeping it under the rug by calling it a
"non-problem" is no solution at all.

The real reasons for wanting to fix this real problem are:

- It destroys our git history for the NEWS.NN file every time we cut a
  release branch.

- It makes merging hard and error-prone.

- It really is an abuse of git when we could instead use it to our
  advantage.  (There is no need to maintain custom code for a "merge"
  that still leaves history broken when we could just let git do it.)

I propose that instead of fixing bugs in a fundamentally broken and
wrong solution, we just do the right thing.  We will have fewer bugs to
fix in the long run, and there are important advantages.



  reply	other threads:[~2021-11-18  1:59 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211106092430.31690.17236@vcs0.savannah.gnu.org>
     [not found] ` <20211106092433.20A2420A22@vcs0.savannah.gnu.org>
2021-11-10 15:55   ` master e714b31 3/6: Merge from origin/emacs-28 Robert Pluim
2021-11-10 16:41     ` Stefan Monnier
2021-11-10 17:12     ` Eli Zaretskii
2021-11-10 17:18       ` Robert Pluim
2021-11-10 18:24         ` Juri Linkov
2021-11-10 18:37           ` Juri Linkov
2021-11-10 18:53             ` Eli Zaretskii
2021-11-10 19:06               ` Juri Linkov
2021-11-10 19:13                 ` Eli Zaretskii
2021-11-10 18:46         ` Eli Zaretskii
2021-11-10 17:49       ` Stefan Kangas
2021-11-10 18:47         ` Eli Zaretskii
2021-11-10 19:19           ` Stefan Kangas
2021-11-10 19:36             ` Eli Zaretskii
2021-11-10 19:50               ` Dmitry Gutov
2021-11-10 20:09               ` Stefan Kangas
2021-11-11  7:23             ` Michael Albinus
2021-11-10 19:37           ` Stefan Kangas
2021-11-11  1:24     ` Lars Ingebrigtsen
2021-11-17  4:04       ` Stefan Kangas
2021-11-17  7:11         ` Eli Zaretskii
2021-11-17  7:56           ` Lars Ingebrigtsen
2021-11-17  9:58             ` Eli Zaretskii
2021-11-17 14:03             ` Eli Zaretskii
2021-11-18  1:59               ` Stefan Kangas [this message]
2021-11-18  8:07                 ` Eli Zaretskii
2021-11-18  9:25                   ` Lars Ingebrigtsen
2021-11-18 11:10                     ` Eli Zaretskii
2021-11-18 16:27                       ` Dmitry Gutov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkmkbxXmJYNfSfwgC3YXm9B=gLu0xX2uxFCjVrm08bnuZkQ@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=rpluim@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).