RelNotes: add details on Perl module changes
Document changes to core and non-core Perl module handling in 2.17. Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Todd Zullinger committed
Mar 16, 2018 at 18:07 UTC
14f437f3385db68275124d82bb9686cb6f75f67c
2 files changed
+16
-1
Documentation/RelNotes/2.17.0.txt
+14
@@ -75,6 +75,20 @@ Performance, Internal Implementation, Development Support etc.
75
* The build procedure for perl/ part has been greatly simplified by
76
weaning ourselves off of MakeMaker.
77
78
+ * Perl 5.8 or greater has been required since Git 1.7.4 released in
79
+ 2010, but we continued to assume some core modules may not exist and
80
+ used a conditional "eval { require <<module>> }"; we no longer do
81
+ this. Some platforms (Fedora/RedHat/CentOS, for example) ship Perl
82
+ without all core modules by default (e.g. Digest::MD5, File::Temp,
83
+ File::Spec, Net::Domain, Net::SMTP). Users on such platforms may
84
+ need to install these additional modules.
85
+
86
+ * As a convenience, we install copies of Perl modules we require which
87
+ are not part of the core Perl distribution (e.g. Error and
88
+ Mail::Address). Users and packagers whose operating system provides
89
+ these modules can set NO_PERL_CPAN_FALLBACKS to avoid installing the
90
+ bundled modules.
91
+
92
* In preparation for implementing narrow/partial clone, the machinery
93
for checking object connectivity used by gc and fsck has been
94
taught that a missing object is OK when it is referenced by a
INSTALL
+2
-1
@@ -126,7 +126,8 @@ Issues of note:
126
Redhat/Fedora are reported to ship Perl binary package with some
127
core modules stripped away (see http://lwn.net/Articles/477234/),
128
so you might need to install additional packages other than Perl
129
- itself, e.g. Time::HiRes.
129
+ itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain,
130
+ Net::SMTP, and Time::HiRes.
131
132
- git-imap-send needs the OpenSSL library to talk IMAP over SSL if
133
you are using libcurl older than 7.34.0. Otherwise you can use