Skip to content

Commit 9192e57

Browse files
committed
Replace CPAN ratings site with redirects to metacpan
1 parent 899068c commit 9192e57

33 files changed

+123
-1548
lines changed

.modules

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@
44

55
local::lib
66

7-
# for cpanratings
7+
# for cpanratings, maybe something else ...
88
DBI
99
DBD::mysql
10-
DBIx::Class
11-
DBIx::Class::Helper::Row::ToJSON
1210
XML::RSS
1311
Template::Plugin::XML::RSS
1412
DateTime::Format::ISO8601
15-
Encode
16-
String::Truncate
13+
URI::Encode
1714

1815
# general
1916
Template::Plugin::JSON

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM harbor.ntppool.org/perlorg/base-os:3.14.1
1+
FROM harbor.ntppool.org/perlorg/base-os:3.15.0-1
22

33
# Note that this only builds dependencies and such, it doesn't
44
# actually include the site code etc itself. The site code

apache/conf/sites/cpanratings.tmpl

-20
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@
99
PerlHandler CPANRatings::Control::Basic->super
1010
</Location>
1111

12-
<Location /logout>
13-
SetHandler perl-script
14-
PerlHandler CPANRatings::Control::Logout->super
15-
</Location>
16-
17-
<Location /rate>
18-
SetHandler perl-script
19-
PerlHandler CPANRatings::Control::Rate->super
20-
</Location>
21-
2212
<Location /search>
2313
SetHandler perl-script
2414
PerlHandler CPANRatings::Control::Search->super
@@ -34,21 +24,11 @@
3424

3525
[% END %]
3626

37-
<Location /csv/all_ratings.csv>
38-
SetHandler perl-script
39-
PerlHandler CPANRatings::Control::ShowAll->super
40-
</Location>
41-
4227
<Location /index.rss>
4328
SetHandler perl-script
4429
PerlHandler CPANRatings::Control::RecentRSS->super
4530
</Location>
4631

47-
<Location /api>
48-
SetHandler perl-script
49-
PerlHandler CPANRatings::Control::API->super
50-
</Location>
51-
5232
<Location /static/>
5333
SetHandler perl-script
5434
PerlHandler PerlOrg::Control::Basic

docs/cpanratings/about.html

+4-7
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,14 @@ <h3>Contact</h3>
3636
</script>
3737
</div>
3838

39-
<p>
40-
Report issues in
41-
the <a href="https://github.com/perlorg/perlweb/issues?labels=cpanratings&amp;sort=created&amp;direction=desc&amp;state=open&amp;page=1">issue
42-
tracker</a> or <a href="http://www.perl.org/siteinfo.html">email
43-
us</a>.
44-
</p>
45-
4639
<h3>Release Notes</h3>
4740

4841
<ul>
4942

43+
<li>February 2022: Redirect pages to MetaCPAN.</li>
44+
45+
<li>June 2018: Disable adding new reviews pending MetaCPAN features.</li>
46+
5047
<li>July 2012: HTML markup fixes.</li>
5148

5249
<li>June 2011: Run on Plack, better formatting, better javascript,

docs/cpanratings/display/bare_list.html

-2
This file was deleted.

docs/cpanratings/display/list.html

-21
This file was deleted.

docs/cpanratings/display/short_review.html

-50
This file was deleted.

docs/cpanratings/display/show_list.html

-7
This file was deleted.

docs/cpanratings/index.html

-22
This file was deleted.

docs/cpanratings/rate/rate_error.html

-10
This file was deleted.

docs/cpanratings/rate/rate_form.html

-111
This file was deleted.

docs/cpanratings/rate/rate_submitted.html

-12
This file was deleted.

lib/CPANRatings/API.pm

-11
This file was deleted.

lib/CPANRatings/API/Base.pm

-18
This file was deleted.

lib/CPANRatings/API/Helpful.pm

-37
This file was deleted.

0 commit comments

Comments
 (0)