git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] send-email: Net::SMTP::SSL is obsolete, use only when necessary

From
Junio C Hamano <gitster@pobox.com>
Date
May 31, 2017, 22:50 UTC
Message-ID
<xmqq37bkabfl.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1495227246.19473.3.camel@kaarsemaker.net>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> Second ping. This problem is not going away, so if this solution is not
> acceptable, I'd like to know what needs to be improved.

Perhaps you needed to actually test with older installation that people have, it seems, between pings. Immediately after this was merged to 'master', we start getting bug reports X-<.

Eric Biggers' message 
    https://public-inbox.org/git/<20170531222455.GD72735@gmail.com>
seems to indicate that we should cut off at 3.01 not 1.28?
Thanks.
Show 20 quoted lines
> On Thu, 2017-05-04 at 09:01 +0200, Dennis Kaarsemaker wrote:
>> Ping. It's a little over a month since I sent this, but I haven't seen
>> any comments. Is this commit good to go?
>> 
>> On Fri, 2017-03-24 at 22:37 +0100, Dennis Kaarsemaker wrote:
>> > Net::SMTP itself can do the necessary SSL and STARTTLS bits just fine
>> > since version 1.28, and Net::SMTP::SSL is now deprecated. Since 1.28
>> > isn't that old yet, keep the old code in place and use it when
>> > necessary.
>> > ...
>> > diff --git a/git-send-email.perl b/git-send-email.perl
>> > index eea0a517f7..0d90439d9a 100755
>> > --- a/git-send-email.perl
>> > +++ b/git-send-email.perl
>> > @@ -1353,10 +1353,12 @@ EOF
>> >  			die __("The required SMTP server is not properly defined.")
>> >  		}
>> >  
>> > +		require Net::SMTP;
>> > +		my $use_net_smtp_ssl = version->parse($Net::SMTP::VERSION) < version->parse("1.28");
Previous: Ævar Arnfjörð BjarmasonNext: Dennis Kaarsemaker
Message 12 of 16 in “Remove dependency on deprecated Net::SMTP::SSL”
  1. Remove dependency on deprecated Net::SMTP::SSLMike Fisher, Nov 20, 2016
  2. brian m. carlsonNov 20, 2016
  3. Renato BotelhoJan 13, 2017
  4. Torsten BögershausenNov 21, 2016
  5. send-email: Net::SMTP::SSL is obsolete, use only when necessaryDennis Kaarsemaker, Mar 18, 2017
  6. Ævar Arnfjörð BjarmasonMar 18, 2017
  7. Dennis KaarsemakerMar 18, 2017
  8. send-email: Net::SMTP::SSL is obsolete, use only when necessaryDennis Kaarsemaker, Mar 24, 2017
  9. Dennis KaarsemakerMay 4, 2017
  10. Dennis KaarsemakerMay 19, 2017
  11. Ævar Arnfjörð BjarmasonMay 20, 2017
  12. Junio C HamanoMay 31, 2017
  13. Dennis KaarsemakerJun 1, 2017
  14. Jonathan NiederMay 31, 2017
  15. Junio C HamanoMay 31, 2017
  16. Jonathan NiederMay 31, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.