Skip to content
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
14 changes: 9 additions & 5 deletions lib/MetaCPAN/Query/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ sub author_status {

my ( $id_2, $id_1 ) = $id =~ /^((\w)\w)/;
$status->{links} = {
cpan_directory => "http://cpan.org/authors/id/$id_1/$id_2/$id",
cpants => "http://cpants.cpanauthors.org/author/$id",
cpan_directory =>
"https://www.cpan.org/authors/id/$id_1/$id_2/$id",
backpan_directory =>
"https://cpan.metacpan.org/authors/id/$id_1/$id_2/$id",
cpants => "https://cpants.cpanauthors.org/author/$id",
cpantesters_reports =>
"http://cpantesters.org/author/$id_1/$id.html",
cpantesters_matrix => "http://matrix.cpantesters.org/?author=$id",
metacpan_explorer =>
"https://www.cpantesters.org/author/$id_1/$id.html",
cpantesters_matrix =>
"https://matrix.cpantesters.org/?author=$id",
metacpan_explorer =>
"https://explorer.metacpan.org/?url=/author/$id",
repology => "https://repology.org/maintainer/$id%40cpan",
};
Expand Down
2 changes: 1 addition & 1 deletion t/server/controller/author.t
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ test_psgi app, sub {
is_deeply(
[ sort keys %{$links} ],
[
qw< cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
qw< backpan_directory cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
],
'links has the correct keys'
);
Expand Down