Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Sam Ravnborg
Hi Andrew. > The patch assumes that we have > > - if ($file_emails) { > - my @poss_addr = $text =~ m$[A-Za-z_-_\"\' > \,\.\+-]*\s*[\,]*\s*[\(\<\{]{0,1}[A-Za-z0-9_\.\+-]+\@[A-Za-z0-9\.-]+\.[A-Za-z0-9]+[\)\>\}]{0,1}$g; > - push(@file_emails, clean_file_emails(@poss_

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Joe Perches
On Mon, 2020-04-27 at 13:04 -0700, Andrew Morton wrote: > On Sun, 26 Apr 2020 23:33:02 -0700 Joe Perches wrote: > > > On Mon, 2020-04-27 at 07:57 +0200, Sam Ravnborg wrote: > > > Hi Joe. > > > > Hi Sam. > > > > > On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > > > > .yaml files c

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-27 Thread Andrew Morton
On Sun, 26 Apr 2020 23:33:02 -0700 Joe Perches wrote: > On Mon, 2020-04-27 at 07:57 +0200, Sam Ravnborg wrote: > > Hi Joe. > > Hi Sam. > > > On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > > > .yaml files can contain maintainer/author addresses and it seems > > > unlikely or unne

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-26 Thread Joe Perches
On Mon, 2020-04-27 at 07:57 +0200, Sam Ravnborg wrote: > Hi Joe. Hi Sam. > On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > > .yaml files can contain maintainer/author addresses and it seems > > unlikely or unnecessary that individual MAINTAINER file section > > entries for each .ya

Re: [PATCH] get_maintainer: Add email addresses from .yaml files

2020-04-26 Thread Sam Ravnborg
Hi Joe. On Sun, Apr 26, 2020 at 10:40:52PM -0700, Joe Perches wrote: > .yaml files can contain maintainer/author addresses and it seems > unlikely or unnecessary that individual MAINTAINER file section > entries for each .yaml file will be created. > > So dd the email addresses found in .yaml fil