Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4800935ybb; Tue, 7 Apr 2020 14:59:41 -0700 (PDT) X-Google-Smtp-Source: APiQypIdacaHDzKqDd1jahq+7tmraxagyFZQPl+N8o66QaZRcsBfZLdBYyHfXem9KY5qxwvcbiI/ X-Received: by 2002:aca:d705:: with SMTP id o5mr224669oig.67.1586296781764; Tue, 07 Apr 2020 14:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586296781; cv=none; d=google.com; s=arc-20160816; b=WLYyD5rzzR5mYPRhv3gpcD7DAnYULhOtfRt3mAY7v265d2qFFGVT3G62Q4dv8riMOq BtizmVM3wLvxM+6zmd5dJEdTqrKvVGp7eGziivcpgQt4uzevC1TlSSIpGbniEj+7KxhB nheO6ZKr3K6rarr+qRadkHNNfK/vNJJN+ptaox4N/FCzVxjPE9IJuo1rtEv893saq6sp lTDzbXWH3xbnMVUL546JzURE5rY4XLE1ZsbbvIhGbAaUyENLxtIbrs5/9eVqR5Sux3ka QDqoSdSue8Nz1kntxEUzrHujR4Ua+xCoMIjWlzJ83e6UwUuHJy0WmQOoUlypVzaaaO8F aGLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=UronUOVKjLCjMLMNDQDOvJPe4xIxETfFdX8JWnEKcLY=; b=FczXqGVOg/s9kHywJGEoBXNm/6in60oX8a3YLO+p/MlBmLLi3jwjJZwqFPbKbr63xv QubPBK49WTv6XlWvbVMv8Tx3vc7DTOdAy+oYB+1B9Hs/A45RA2sCBwls+1v/AQ89Yz9s Akp6UTDak/rkTNZ5+eSrEvGGQm077r0OFnU7d5JcTECaRWr8DbEY0AyzdXfF+2b/D2C6 7UXtrRVsjvFROfPGZRi6C2qxBmSYhWzfHVFQjpO0fCBxwgbgz9oMLl93iwsAHntsKDJN 65GdnjYklH4h4OmeuYujIjs07OuqyVq0UQToq0EGh/DWBj9R8TAu5ZyNZiC0MmF0t0Cr UcAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y19si1095277oie.128.2020.04.07.14.59.28; Tue, 07 Apr 2020 14:59:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbgDGV6U (ORCPT + 99 others); Tue, 7 Apr 2020 17:58:20 -0400 Received: from smtprelay0012.hostedemail.com ([216.40.44.12]:46180 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726380AbgDGV6U (ORCPT ); Tue, 7 Apr 2020 17:58:20 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id B51C6180A733B; Tue, 7 Apr 2020 21:58:19 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2110:2393:2553:2559:2562:2689:2693:2828:2899:3138:3139:3140:3141:3142:3354:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6119:6691:7903:9010:10004:10400:10429:10430:10431:10848:11232:11658:11914:12296:12297:12660:12663:12740:12760:12895:13069:13072:13138:13141:13230:13231:13311:13357:13439:14096:14097:14181:14659:14721:14777:19903:19997:21080:21433:21451:21611:21627:21660:21819:30003:30022:30026:30029:30054:30079:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: crime20_65b1ec1fcad57 X-Filterd-Recvd-Size: 2834 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Tue, 7 Apr 2020 21:58:18 +0000 (UTC) Message-ID: <2afc201cea5fd59829ce818041b4290a0ec5bb8c.camel@perches.com> Subject: Re: get_maintainer.pl sends bogus addresses to git send-email From: Joe Perches To: Jeff King Cc: Olaf Hering , linux-kernel@vger.kernel.org, git@vger.kernel.org Date: Tue, 07 Apr 2020 14:56:19 -0700 In-Reply-To: <20200407174449.GA1884106@coredump.intra.peff.net> References: <20200407154046.GA15368@aepfle.de> <20200407170257.GA1844923@coredump.intra.peff.net> <2e6975d606846c834a387c07ee11cdce52356586.camel@perches.com> <20200407174449.GA1884106@coredump.intra.peff.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-04-07 at 13:44 -0400, Jeff King wrote: > On Tue, Apr 07, 2020 at 10:18:41AM -0700, Joe Perches wrote: > > > On Tue, 2020-04-07 at 13:02 -0400, Jeff King wrote: > > > On Tue, Apr 07, 2020 at 05:40:46PM +0200, Olaf Hering wrote: > > > > > > > For me sending patches via git send-email fails because email address > > > > conversion is failing. Something appends a ')' to x86/lkml@kernel.org. > > > > I suspect the double '))' in MAINTAINERS is confusing the command. > > > > I tried to send the trivial patch from v5.0 and v5.6 tag. > > > > > > > > Is this a failure in ./scripts/get_maintainer.pl, > > > > or is this something git does internally? > > > > I'm sure others use such command on a daily basis, so likely something on > > > > my end became broken at some point in the past. > > > > > > It's a bug in send-email's hand-rolled address parser, which was fixed > > > in bd869f67b9 (send-email: add and use a local copy of Mail::Address, > > > 2018-01-05). Upgrade to Git v2.17.0 or newer. > > > > Not really. > > You need to add --norolestats on the get_maintainer command line > > > > git send-email expects bare email addresses, not ones annotated > > with additional content. > > I agree that dropping them from the output is even better, if you'd > never want them to be sent. > > Syntactically they are rfc822 comments, and send-email _should_ be able > to handle them (and does in recent versions). I'm not certain that comments are allowed _after_ a tld in an email address. In any case, I guess it's a good thing I used parentheses for the get_maintainer rolestats block. > > linux-kernel@vger.kernel.org (open list) > > In this one, I think that the comment will be used as the name field, > since there isn't one. I think that slightly unexpected as the name field is not required. cheers, Joe