Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-03 Thread Michael Orlitzky
On Wed, 2021-03-03 at 13:09 +0100, Ulrich Mueller wrote: > > > > > > On Tue, 02 Mar 2021, Michael Orlitzky wrote: > > > Are you volunteering to fix all the tools to support the new format > > > correctly? > > The PMS says that KEYWORDS is whitespace-separated. Probably only > > repoman/pkgcheck

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-03 Thread Ulrich Mueller
> On Tue, 02 Mar 2021, Michael Orlitzky wrote: >> Are you volunteering to fix all the tools to support the new format >> correctly? > The PMS says that KEYWORDS is whitespace-separated. Probably only > repoman/pkgcheck would require trivial changes. No, there are other tools as well, e.g.

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Patrick McLean
On Mon, 1 Mar 2021 22:54:45 -0500 Matt Turner wrote: > tl;dr: In app-portage/gentoolkit-0.5.1 there's a new tool I wrote, > called merge-driver-ekeyword that can automatically resolve git merge > conflicts involving the KEYWORDS=... line in ebuilds. > > To use the merge driver, configure your

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Matt Turner
On Tue, Mar 2, 2021 at 3:12 PM Michael Orlitzky wrote: > > On Tue, 2021-03-02 at 14:02 -0500, Matt Turner wrote: > > On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky wrote: > > > why don't we just enforce putting each > > > keyword on a separate line instead, so

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Matt Turner
On Tue, Mar 2, 2021 at 2:36 PM Alessandro Barbieri wrote: > > Il Mar 2 Mar 2021, 20:03 Matt Turner ha scritto: >> >> On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky wrote: >> > why don't we just enforce putting each >> > keyword on a separate line instead, so

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Michał Górny
On Tue, 2021-03-02 at 15:16 -0500, Michael Orlitzky wrote: > On Tue, 2021-03-02 at 20:42 +0100, Michał Górny wrote: > > > > Are you volunteering to fix all the tools to support the new format > > correctly? > > > > When you already spend all day fixing other peoples' software, this > doesn't

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Michael Orlitzky
On Tue, 2021-03-02 at 20:42 +0100, Michał Górny wrote: > > Are you volunteering to fix all the tools to support the new format > correctly? > When you already spend all day fixing other peoples' software, this doesn't sound that scary. The PMS says that KEYWORDS is whitespace-separated.

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Michael Orlitzky
On Tue, 2021-03-02 at 14:02 -0500, Matt Turner wrote: > On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky wrote: > > why don't we just enforce putting each > > keyword on a separate line instead, so that we don't have this problem > > in the first place? > > Why

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Michał Górny
On Tue, 2021-03-02 at 00:10 -0500, Michael Orlitzky wrote: > On Mon, 2021-03-01 at 22:54 -0500, Matt Turner wrote: > > tl;dr: In app-portage/gentoolkit-0.5.1 there's a new tool I wrote, > > called merge-driver-ekeyword that can automatically resolve git merge > > conflicts involving the

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Brian Evans
On 3/2/2021 2:36 PM, Alessandro Barbieri wrote: Il Mar 2 Mar 2021, 20:03 Matt Turner > ha scritto: On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky mailto:m...@gentoo.org>> wrote: >                                 why don't we just enforce putting each

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Alessandro Barbieri
Il Mar 2 Mar 2021, 20:03 Matt Turner ha scritto: > On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky wrote: > > why don't we just enforce putting each > > keyword on a separate line instead, so that we don't have this problem > > in the first place? > > Why don't

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Matt Turner
On Tue, Mar 2, 2021 at 12:11 AM Michael Orlitzky wrote: > why don't we just enforce putting each > keyword on a separate line instead, so that we don't have this problem > in the first place? Why don't we change 30 thousand ebuilds rather than use this script?

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Matt Turner
On Tue, Mar 2, 2021 at 6:11 AM Wolfgang E. Sanyer wrote: > Git diff has --color-word, doesn't this suggest that it has the capability of > identifying these word-by-word changes? No, git diff has that feature. That doesn't imply that the default merge driver has that feature. > Is there

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-02 Thread Wolfgang E. Sanyer
Git diff has --color-word, doesn't this suggest that it has the capability of identifying these word-by-word changes? Is there perhaps a merge option that is being overlooked? El mar., 2 de marzo de 2021 12:21 a. m., Sam James escribió: > > > On 2 Mar 2021, at 05:10, Michael Orlitzky wrote: >

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-01 Thread Sam James
> On 2 Mar 2021, at 05:10, Michael Orlitzky wrote: > > On Mon, 2021-03-01 at 22:54 -0500, Matt Turner wrote: >> tl;dr: In app-portage/gentoolkit-0.5.1 there's a new tool I wrote, >> called merge-driver-ekeyword that can automatically resolve git merge >> conflicts involving the KEYWORDS=...

Re: [gentoo-dev] New tool: merge-driver-ekeyword automatically resolves git merge conflicts involving KEYWORDS=...

2021-03-01 Thread Michael Orlitzky
On Mon, 2021-03-01 at 22:54 -0500, Matt Turner wrote: > tl;dr: In app-portage/gentoolkit-0.5.1 there's a new tool I wrote, > called merge-driver-ekeyword that can automatically resolve git merge > conflicts involving the KEYWORDS=... line in ebuilds. > > Since the KEYWORDS=... assignment is a