Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 6d71ddf

Browse files
committed
Prepare EOL release
1 parent 4cb24ec commit 6d71ddf

7 files changed

+51
-55
lines changed

CONTRIBUTING.md

+14-33
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# END OF LIFE NOTICE
22

3-
Version v2.2.0 is the final feature release of the MongoDB Perl driver. The
4-
driver is now in a 12-month "sunset" period and will receive security patches
5-
and critical bug fixes only. The Perl driver will be end-of-life and
6-
unsupported on August 13, 2020.
3+
Version v2.2.0 was the final feature release of the MongoDB Perl driver and
4+
version v2.2.2 is the final patch release.
5+
6+
**As of August 13, 2020, the MongoDB Perl driver and related libraries have
7+
reached end of life and are no longer supported by MongoDB.** See the [August
8+
2019 deprecation
9+
notice](https://www.mongodb.com/blog/post/the-mongodb-perl-driver-is-being-deprecated)
10+
for rationale.
11+
12+
If members of the community wish to continue development, they are welcome to
13+
fork the code under the terms of the Apache 2 license and release it under a
14+
new namespace. Specifications and test files for MongoDB drivers and
15+
libraries are published in an open repository:
16+
[mongodb/specifications](https://github.com/mongodb/specifications/tree/master/source).
717

818
# Introduction
919

@@ -18,35 +28,6 @@ from CPAN or tarball, see the [INSTALL.md](INSTALL.md) file instead.
1828
While this distribution is shipped using Dist::Zilla, you do not need to
1929
install it or use it for development and testing.
2030

21-
# How to Ask for Help
22-
23-
If you are having difficulty building the driver after reading the
24-
instructions here, please post on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/perl-driver) to ask for
25-
help. Please include in your post **all** of the following information:
26-
27-
- The version of the driver you are trying to build (branch or tag).
28-
- Examples: _maint-v0 branch_, _v0.704.2.0 tag_
29-
- The output of _perl -V_
30-
- How your version of perl was built or installed.
31-
- Examples: _plenv_, _perlbrew_, _built from source_
32-
- The error you encountered. This may be compiler, Config::AutoConf, or other output.
33-
34-
Failure to include the relevant information will result in additional
35-
round-trip communications to ascertain the necessary details, delaying a
36-
useful response.
37-
38-
# Bugs / Feature Requests
39-
40-
Think you've found a bug? Please open a ticket in our issue management tool, JIRA:
41-
42-
- [Create a JIRA
43-
account](https://jira.mongodb.org/secure/Signup!default.jspa) if you
44-
don't already have one.
45-
- Navigate to the [JIRA PERL
46-
project](https://jira.mongodb.org/browse/PERL)
47-
- Click the **Create** button - Please provide as much information as
48-
possible for a bug and how to reproduce it.
49-
5031
# Working with the source
5132

5233
## Compiler tool requirements

Changes

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
{{ $NEXT }}
44

5+
[!!! END OF LIFE NOTICE !!!]
6+
7+
- As of August 13, 2020, the MongoDB Perl driver has reached end of life
8+
and is no longer supported by MongoDB.
9+
510
v2.2.1 2019-12-12 23:29:11-05:00 America/New_York
611

712
[!!! END OF LIFE NOTICE !!!]

INSTALL.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Installation Instructions for the MongoDB Perl Driver
22

33
This file describes requirements and procedures for installing the MongoDB
4-
Perl driver, typically from CPAN or a tarball. To work on the code in the
5-
repository, see the [CONTRIBUTING.md](CONTRIBUTING.md) file instead.
4+
Perl driver, typically from CPAN or a tarball.
65

76
## Supported platforms
87

Makefile.PL

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use 5.010001;
88
use ExtUtils::MakeMaker 6.17;
99

1010
my %WriteMakefileArgs = (
11-
"ABSTRACT" => "Official MongoDB Driver for Perl",
11+
"ABSTRACT" => "Official MongoDB Driver for Perl (EOL)",
1212
"AUTHOR" => "David Golden <david\@mongodb.com>, Rassi <rassi\@mongodb.com>, Mike Friedman <friedo\@friedo.com>, Kristina Chodorow <k.chodorow\@gmail.com>, Florian Ragwitz <rafl\@debian.org>",
1313
"CONFIGURE_REQUIRES" => {
1414
"ExtUtils::MakeMaker" => "6.17",
@@ -149,13 +149,13 @@ my %FallbackPrereqs = (
149149
"warnings" => 0
150150
);
151151

152-
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035
152+
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.038
153153
if (!want_pp() && can_xs()) {
154154
runtime_requires('Class::XSAccessor');
155155
runtime_requires('Type::Tiny::XS');
156156
}
157157

158-
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035
158+
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.038
159159
if (!want_pp() && can_xs() && ($^O ne "MSWin32" || do {my (undef,$major,undef,undef,$id)=Win32::GetOSVersion(); $id>2 || ($id==2 && $major>=6)})) {
160160
runtime_requires('BSON::XS', '0.008000');
161161
}
@@ -188,15 +188,15 @@ HERE
188188

189189
package main;
190190

191-
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035
191+
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.038
192192
sub _add_prereq {
193193
my ($mm_key, $module, $version_or_range) = @_;
194194
$version_or_range ||= 0;
195195
warn "$module already exists in $mm_key (at version $WriteMakefileArgs{$mm_key}{$module}) -- need to do a sane metamerge!"
196196
if exists $WriteMakefileArgs{$mm_key}{$module}
197197
and $WriteMakefileArgs{$mm_key}{$module} ne '0'
198198
and $WriteMakefileArgs{$mm_key}{$module} ne $version_or_range;
199-
warn "$module already exists in FallbackPrereqs (at version $WriteMakefileArgs{$mm_key}{$module}) -- need to do a sane metamerge!"
199+
warn "$module already exists in FallbackPrereqs (at version $FallbackPrereqs{$mm_key}{$module}) -- need to do a sane metamerge!"
200200
if exists $FallbackPrereqs{$module} and $FallbackPrereqs{$module} ne '0'
201201
and $FallbackPrereqs{$module} ne $version_or_range;
202202
$WriteMakefileArgs{$mm_key}{$module} = $FallbackPrereqs{$module} = $version_or_range;

dist.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,12 @@ Time::Moment = 0.22
261261
; Set homepage and repository metadata fields from the 'origin' remote,
262262
; which is assumed to be from Github.
263263
[GithubMeta]
264+
issues = 1
264265

265266
; Set bugtracker metadata to point to jira so search.cpan.org and
266267
; metacpan.org will link there instead of rt.cpan.org
267-
[Bugtracker]
268-
web = https://jira.mongodb.org/browse/PERL
268+
;[Bugtracker]
269+
;web = https://jira.mongodb.org/browse/PERL
269270

270271
; Set 'no_index' metadata to hint that modules in these directories
271272
; must not be indexed by PAUSE

lib/MongoDB.pm

+23-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use strict;
1717
use warnings;
1818

1919
package MongoDB;
20-
# ABSTRACT: Official MongoDB Driver for Perl
20+
# ABSTRACT: Official MongoDB Driver for Perl (EOL)
2121

2222
use version;
2323
our $VERSION = 'v2.2.2';
@@ -82,10 +82,20 @@ __END__
8282
8383
=head1 END OF LIFE NOTICE
8484
85-
Version v2.2.0 is the final feature release of the MongoDB Perl driver.
86-
The driver is now in a 12-month "sunset" period and will receive security
87-
patches and critical bug fixes only. The Perl driver will be end-of-life
88-
and unsupported on August 13, 2020.
85+
Version v2.2.0 was the final feature release of the MongoDB Perl driver and
86+
version v2.2.2 is the final patch release.
87+
88+
B<As of August 13, 2020, the MongoDB Perl driver and related libraries have
89+
reached end of life and are no longer supported by MongoDB.> See the
90+
L<August 2019 deprecation
91+
notice|https://www.mongodb.com/blog/post/the-mongodb-perl-driver-is-being-deprecated>
92+
for rationale.
93+
94+
If members of the community wish to continue development, they are welcome
95+
to fork the code under the terms of the Apache 2 license and release it
96+
under a new namespace. Specifications and test files for MongoDB drivers
97+
and libraries are published in an open repository:
98+
L<mongodb/specifications|https://github.com/mongodb/specifications/tree/master/source>.
8999
90100
=end :prelude
91101
@@ -155,6 +165,14 @@ Unless otherwise documented, errors result in fatal exceptions. See
155165
L<MongoDB::Error> for a list of exception classes and error code
156166
constants.
157167
168+
=head1 SUPPORTED MONGODB VERSIONS
169+
170+
The driver has been tested against MongoDB versions 2.6 through 4.2. All
171+
features of these versions are supported, except for field-level
172+
encryption. The driver may work with future versions of MongoDB, but will
173+
not include support for new MongoDB features and should be B<thoroughly
174+
tested> within applications before deployment.
175+
158176
=head1 SEMANTIC VERSIONING SCHEME
159177
160178
Starting with MongoDB C<v1.0.0>, the driver reverts to the more familiar

weaver.ini

-8
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ command = method
2323

2424
[Region / postlude]
2525

26-
[Support]
27-
perldoc = 0
28-
websites = none
29-
bugs = metadata
30-
bugs_content = Please report any bugs or feature requests through the issue tracker at L<https://jira.mongodb.org/browse/PERL>. You will be notified automatically of any progress on your issue.
31-
repository_link = both
32-
repository_content = This is open source software. The code repository is available for public review and contribution under the terms of the license.
33-
3426
[Authors]
3527
[Contributors]
3628
[Legal]

0 commit comments

Comments
 (0)