* Non-ascii mantainers @ 2015-12-01 17:10 Michal Suchanek 2015-12-01 17:19 ` Joe Perches 2015-12-01 17:20 ` Al Viro 0 siblings, 2 replies; 8+ messages in thread From: Michal Suchanek @ 2015-12-01 17:10 UTC (permalink / raw) To: Linux Kernel Mailing List Hello, there are non-ascii characters in output of scripts/get_maintainer.pl If output of said script is used as --to in git format-patch the patch is rejected by this list. I am not sure if weeding out non-ascii maintainers is even feasible. scripts/get_maintainer.pl uses the MAINTAINERS file and git log. While non-ascii in MAINTAINERS file can be replaced I am not sure how many git commits use non-ascii committers. Thanks Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 17:10 Non-ascii mantainers Michal Suchanek @ 2015-12-01 17:19 ` Joe Perches 2015-12-01 17:20 ` Al Viro 1 sibling, 0 replies; 8+ messages in thread From: Joe Perches @ 2015-12-01 17:19 UTC (permalink / raw) To: Michal Suchanek, Linux Kernel Mailing List On Tue, 2015-12-01 at 18:10 +0100, Michal Suchanek wrote: > there are non-ascii characters in output of scripts/get_maintainer.pl > > If output of said script is used as --to in git format-patch the patch > is rejected by this list. I've used it. It works for me with 8 bit characterz. Maybe there's something else going on. > I am not sure if weeding out non-ascii maintainers is even feasible. > scripts/get_maintainer.pl uses the MAINTAINERS file and git log. While > non-ascii in MAINTAINERS file can be replaced I am not sure how many > git commits use non-ascii committers. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 17:10 Non-ascii mantainers Michal Suchanek 2015-12-01 17:19 ` Joe Perches @ 2015-12-01 17:20 ` Al Viro 2015-12-01 17:27 ` Michal Suchanek 1 sibling, 1 reply; 8+ messages in thread From: Al Viro @ 2015-12-01 17:20 UTC (permalink / raw) To: Michal Suchanek; +Cc: Linux Kernel Mailing List On Tue, Dec 01, 2015 at 06:10:29PM +0100, Michal Suchanek wrote: > Hello, > > there are non-ascii characters in output of scripts/get_maintainer.pl > > If output of said script is used as --to in git format-patch the patch > is rejected by this list. Try to reproduce that in a UTF8 locale... ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 17:20 ` Al Viro @ 2015-12-01 17:27 ` Michal Suchanek 2015-12-01 20:13 ` Andreas Mohr 2015-12-07 9:18 ` Geert Uytterhoeven 0 siblings, 2 replies; 8+ messages in thread From: Michal Suchanek @ 2015-12-01 17:27 UTC (permalink / raw) To: Al Viro; +Cc: Linux Kernel Mailing List On 1 December 2015 at 18:20, Al Viro <viro@zeniv.linux.org.uk> wrote: > On Tue, Dec 01, 2015 at 06:10:29PM +0100, Michal Suchanek wrote: >> Hello, >> >> there are non-ascii characters in output of scripts/get_maintainer.pl >> >> If output of said script is used as --to in git format-patch the patch >> is rejected by this list. > > Try to reproduce that in a UTF8 locale... I am using UTF-8 locale since ages. The characters show correctly in my terminal. I have no problem with that. The e-mail is then just rejected by the list server. I don't really care if the maintainers are encoded or whatever. However, neither get_maintainers nor git format-patch encodes them and the listserver rejects them when not encoded. Thanks Michal <linux-kernel@vger.kernel.org>: 209.132.180.67 failed after I sent the message. Remote host said: 550 5.7.1 Content-Policy reject msg: Message headers can not have 8-bit non-ASCII characters in it; Use MIME encodings if such are needed! BF:<H 0>; S1754713AbbLARAp <linux-spi@vger.kernel.org>: 209.132.180.67 failed after I sent the message. Remote host said: 550 5.7.1 Content-Policy reject msg: Message headers can not have 8-bit non-ASCII characters in it; Use MIME encodings if such are needed! BF:<H 0>; S1755924AbbLARAp ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 17:27 ` Michal Suchanek @ 2015-12-01 20:13 ` Andreas Mohr 2015-12-03 6:55 ` Michal Suchanek 2015-12-07 9:18 ` Geert Uytterhoeven 1 sibling, 1 reply; 8+ messages in thread From: Andreas Mohr @ 2015-12-01 20:13 UTC (permalink / raw) To: Michal Suchanek; +Cc: Al Viro, linux-kernel Hi, > I don't really care if the maintainers are encoded or whatever. > However, neither get_maintainers nor git format-patch encodes them and > the listserver rejects them when not encoded. "neither ... nor" - IMHO transcoding should always be done at exactly *one* layer transition (namely prior to entering the layer which might happen to be using non-encoded same-char values as used by payload data as control chars, or which might happen to have a "reduced" encoding only requirement [think 7bit vs. 8bit], and only there, and of course also correctly [transcodes full set of control chars, and properly]). ;) So, since git-format-patch (according to git-format-patch(1)) itself declares that it does "Prepare patches for e-mail submission", it would seem that format-patch would definitely need to provide readily submittable content i.e. support submitting (i.e., generating) such content in *fully compatible* format (maybe it would not need to generate this as MIME encoding always - since there might be different encoding technologies to be chosen - but at least it should offer an encoding cmdline option, with this option then definitely defaulting to the mainstream choice, probably MIME). IOW, I would consider this to be a git-format-patch "missing crucial i18n support" bug (a bug for this should probably be filed). (and, due to my reasoning above, transcoding would *not* be the job of get_maintainers) Rather astonishing that this issue is hitting the streets in 2015 - if we aren't missing something here, that is... HTH, Andreas Mohr ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 20:13 ` Andreas Mohr @ 2015-12-03 6:55 ` Michal Suchanek 0 siblings, 0 replies; 8+ messages in thread From: Michal Suchanek @ 2015-12-03 6:55 UTC (permalink / raw) To: Andreas Mohr; +Cc: Al Viro, Linux Kernel Mailing List On 1 December 2015 at 21:13, Andreas Mohr <andi@lisas.de> wrote: > Hi, > >> I don't really care if the maintainers are encoded or whatever. >> However, neither get_maintainers nor git format-patch encodes them and >> the listserver rejects them when not encoded. > > "neither ... nor" - IMHO transcoding should always be done at exactly *one* layer > transition (namely prior to entering the layer which might happen to be > using non-encoded same-char values as used by payload data as control chars, > or which might happen to have a "reduced" encoding only requirement [think 7bit vs. 8bit], > and only there, and of course also correctly [transcodes full set of > control chars, and properly]). ;) > > So, since git-format-patch (according to git-format-patch(1)) itself > declares that it does "Prepare patches for e-mail submission", > it would seem that format-patch would definitely need to provide > readily submittable content i.e. > support submitting (i.e., generating) such content in *fully compatible* format > (maybe it would not need to generate this as MIME encoding always > - since there might be different encoding technologies to be chosen - > but at least it should offer an encoding cmdline option, > with this option then definitely defaulting to the mainstream choice, probably MIME). > IOW, I would consider this to be a git-format-patch "missing crucial i18n support" bug > (a bug for this should probably be filed). > > (and, due to my reasoning above, transcoding would *not* be the job of get_maintainers) > The transcoding would be normally the job of a MUA which is git format-patch here. If it were really required, that is. I am not sure what exactly is the position of the SMTP standard here on 8bit headers. However, as with all RFCs it's suggested that you are strict in what you send and lenient in what you accept. Here git format-patch can be held responsible for lack of interoperability with 7-bit only SMTP servers and the LKML mail server for enforcing 7-bit only in 2015 when most mail servers are 8-bit transparent. Thanks Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-01 17:27 ` Michal Suchanek 2015-12-01 20:13 ` Andreas Mohr @ 2015-12-07 9:18 ` Geert Uytterhoeven 2015-12-07 9:40 ` Michal Suchanek 1 sibling, 1 reply; 8+ messages in thread From: Geert Uytterhoeven @ 2015-12-07 9:18 UTC (permalink / raw) To: Michal Suchanek; +Cc: Al Viro, Linux Kernel Mailing List Hi Michael, On Tue, Dec 1, 2015 at 6:27 PM, Michal Suchanek <hramrach@gmail.com> wrote: > On 1 December 2015 at 18:20, Al Viro <viro@zeniv.linux.org.uk> wrote: >> On Tue, Dec 01, 2015 at 06:10:29PM +0100, Michal Suchanek wrote: >>> there are non-ascii characters in output of scripts/get_maintainer.pl >>> >>> If output of said script is used as --to in git format-patch the patch >>> is rejected by this list. >> >> Try to reproduce that in a UTF8 locale... > > I am using UTF-8 locale since ages. > > The characters show correctly in my terminal. I have no problem with > that. The e-mail is then just rejected by the list server. > > I don't really care if the maintainers are encoded or whatever. > However, neither get_maintainers nor git format-patch encodes them and > the listserver rejects them when not encoded. I always pass the --to and --cc to git send-email, not to format-patch, and that works: git send-email \ --to "Måns Rullgård <mans@mansr.com>" \ --to "David S. Miller <davem@davemloft.net>" \ --cc "netdev@vger.kernel.org" \ --cc "linux-kernel@vger.kernel.org" \ *00* becomes: From: Geert Uytterhoeven <geert@linux-m68k.org> To: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>, "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA Date: Mon, 7 Dec 2015 10:09:06 +0100 Message-Id: <1449479346-32601-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Non-ascii mantainers 2015-12-07 9:18 ` Geert Uytterhoeven @ 2015-12-07 9:40 ` Michal Suchanek 0 siblings, 0 replies; 8+ messages in thread From: Michal Suchanek @ 2015-12-07 9:40 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Al Viro, Linux Kernel Mailing List On 7 December 2015 at 10:18, Geert Uytterhoeven <geert@linux-m68k.org> wrote: > Hi Michael, > > On Tue, Dec 1, 2015 at 6:27 PM, Michal Suchanek <hramrach@gmail.com> wrote: >> On 1 December 2015 at 18:20, Al Viro <viro@zeniv.linux.org.uk> wrote: >>> On Tue, Dec 01, 2015 at 06:10:29PM +0100, Michal Suchanek wrote: >>>> there are non-ascii characters in output of scripts/get_maintainer.pl >>>> >>>> If output of said script is used as --to in git format-patch the patch >>>> is rejected by this list. >>> >>> Try to reproduce that in a UTF8 locale... >> >> I am using UTF-8 locale since ages. >> >> The characters show correctly in my terminal. I have no problem with >> that. The e-mail is then just rejected by the list server. >> >> I don't really care if the maintainers are encoded or whatever. >> However, neither get_maintainers nor git format-patch encodes them and >> the listserver rejects them when not encoded. > > I always pass the --to and --cc to git send-email, not to format-patch, and > that works: > > git send-email \ > --to "Måns Rullgård <mans@mansr.com>" \ > --to "David S. Miller <davem@davemloft.net>" \ > --cc "netdev@vger.kernel.org" \ > --cc "linux-kernel@vger.kernel.org" \ > *00* > > becomes: > > From: Geert Uytterhoeven <geert@linux-m68k.org> > To: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>, > "David S. Miller" <davem@davemloft.net> > Cc: netdev@vger.kernel.org, > linux-kernel@vger.kernel.org, > Geert Uytterhoeven <geert@linux-m68k.org> > Subject: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA > Date: Mon, 7 Dec 2015 10:09:06 +0100 > Message-Id: <1449479346-32601-1-git-send-email-geert@linux-m68k.org> > X-Mailer: git-send-email 1.9.1 > I don't use git send-email because I do not have access to a working SMTP server directly. There is an option to use a sendmail binary instead of a SMTP server address so I can try faking that I guess. Thanks Michal ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-12-07 9:41 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-12-01 17:10 Non-ascii mantainers Michal Suchanek 2015-12-01 17:19 ` Joe Perches 2015-12-01 17:20 ` Al Viro 2015-12-01 17:27 ` Michal Suchanek 2015-12-01 20:13 ` Andreas Mohr 2015-12-03 6:55 ` Michal Suchanek 2015-12-07 9:18 ` Geert Uytterhoeven 2015-12-07 9:40 ` Michal Suchanek
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.