Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] eapply: Drop -s option for patch.
Date: Sat, 14 Dec 2019 16:22:16
Message-Id: CAJ0EP43unWh5EOYP9Byy2X_ZJnTRuMkmM5FW0pKgX7GNTrAf3Q@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] eapply: Drop -s option for patch. by Mike Gilbert
1 On Sat, Dec 14, 2019 at 8:12 AM Mike Gilbert <floppym@g.o> wrote:
2 >
3 > On Sat, Dec 14, 2019 at 3:41 AM Michał Górny <mgorny@g.o> wrote:
4 > >
5 > > On Fri, 2019-12-13 at 17:15 -0500, Mike Gilbert wrote:
6 > > > On Fri, Dec 13, 2019 at 4:42 PM Michał Górny <mgorny@g.o> wrote:
7 > > > > On Fri, 2019-12-13 at 16:37 -0500, Mike Gilbert wrote:
8 > > > > > On Fri, Dec 13, 2019 at 3:36 PM Michał Górny <mgorny@g.o> wrote:
9 > > > > > > Just like 'many of the proposals lately', developers are going to be
10 > > > > > > the ones disabling it (because they don't care), and users will be the
11 > > > > > > ones enabling it (because they do care), just to learn that developers
12 > > > > > > don't care and go complaining to the mailing lists that users dare
13 > > > > > > report issues they don't care about.
14 > > > > >
15 > > > > > I care if the patch is actually broken, which the warning doesn't
16 > > > > > really tell me. It's just not a very reliable indicator, and will
17 > > > > > produce false-positives frequently.
18 > > > > >
19 > > > >
20 > > > > You can also take less context into the patch and use -F0. Then you'll
21 > > > > have the same effect, no warnings to bother you and no pretending that
22 > > > > the patch applies when it doesn't.
23 > > >
24 > > > That really doesn't help me. My point is that I don't want to touch
25 > > > the patch unless it is actually necessary to do so.
26 > > >
27 > >
28 > > Then make patches with -U0.
29 >
30 > As others have already stated, I might not be the one making the patch
31 > in the first place.
32 >
33 > Your position seems to be that ignoring any amount of context is bad,
34 > and I simply don't agree with that. If you can show me that it is
35 > causing an epidemic of broken patches to be applied erroneously, you
36 > might change my mind. Otherwise, please stop with the non-solutions
37 > you keep throwing at me.
38
39 After giving it some further thought, I suppose I'm overreacting to
40 this a bit. Most patches won't be affected by this anyway.