Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace CPAN ratings site with redirects to metacpan #369

Merged
merged 3 commits into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = git://github.com/abh/combust.git
[submodule "docs/static/cdn"]
path = docs/static/cdn
url = git://git.develooper.com/devcdn.git
url = git://github.com/devel/cdn.git
7 changes: 2 additions & 5 deletions .modules
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@

local::lib

# for cpanratings
# for cpanratings, maybe something else ...
DBI
DBD::mysql
DBIx::Class
DBIx::Class::Helper::Row::ToJSON
XML::RSS
Template::Plugin::XML::RSS
DateTime::Format::ISO8601
Encode
String::Truncate
URI::Encode

# general
Template::Plugin::JSON
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM harbor.ntppool.org/perlorg/base-os:3.14.1
FROM harbor.ntppool.org/perlorg/base-os:3.15.0-1

# Note that this only builds dependencies and such, it doesn't
# actually include the site code etc itself. The site code
Expand Down
20 changes: 0 additions & 20 deletions apache/conf/sites/cpanratings.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
PerlHandler CPANRatings::Control::Basic->super
</Location>

<Location /logout>
SetHandler perl-script
PerlHandler CPANRatings::Control::Logout->super
</Location>

<Location /rate>
SetHandler perl-script
PerlHandler CPANRatings::Control::Rate->super
</Location>

<Location /search>
SetHandler perl-script
PerlHandler CPANRatings::Control::Search->super
Expand All @@ -34,21 +24,11 @@

[% END %]

<Location /csv/all_ratings.csv>
SetHandler perl-script
PerlHandler CPANRatings::Control::ShowAll->super
</Location>

<Location /index.rss>
SetHandler perl-script
PerlHandler CPANRatings::Control::RecentRSS->super
</Location>

<Location /api>
SetHandler perl-script
PerlHandler CPANRatings::Control::API->super
</Location>

<Location /static/>
SetHandler perl-script
PerlHandler PerlOrg::Control::Basic
Expand Down
11 changes: 4 additions & 7 deletions docs/cpanratings/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,14 @@ <h3>Contact</h3>
</script>
</div>

<p>
Report issues in
the <a href="https://github.com/perlorg/perlweb/issues?labels=cpanratings&amp;sort=created&amp;direction=desc&amp;state=open&amp;page=1">issue
tracker</a> or <a href="http://www.perl.org/siteinfo.html">email
us</a>.
</p>

<h3>Release Notes</h3>

<ul>

<li>February 2022: Redirect pages to MetaCPAN.</li>

<li>June 2018: Disable adding new reviews pending MetaCPAN features.</li>

<li>July 2012: HTML markup fixes.</li>

<li>June 2011: Run on Plack, better formatting, better javascript,
Expand Down
2 changes: 0 additions & 2 deletions docs/cpanratings/display/bare_list.html

This file was deleted.

21 changes: 0 additions & 21 deletions docs/cpanratings/display/list.html

This file was deleted.

50 changes: 0 additions & 50 deletions docs/cpanratings/display/short_review.html

This file was deleted.

7 changes: 0 additions & 7 deletions docs/cpanratings/display/show_list.html

This file was deleted.

22 changes: 0 additions & 22 deletions docs/cpanratings/index.html

This file was deleted.

10 changes: 0 additions & 10 deletions docs/cpanratings/rate/rate_error.html

This file was deleted.

111 changes: 0 additions & 111 deletions docs/cpanratings/rate/rate_form.html

This file was deleted.

12 changes: 0 additions & 12 deletions docs/cpanratings/rate/rate_submitted.html

This file was deleted.

11 changes: 0 additions & 11 deletions lib/CPANRatings/API.pm

This file was deleted.

18 changes: 0 additions & 18 deletions lib/CPANRatings/API/Base.pm

This file was deleted.

Loading