als;
use Labyrinth::Variables;
use Labyrinth::Plugin::Content;
use Labyrinth::Plugin::CPAN;
use JSON::XS;
use File::Find::Rule;
use File::Slurp;
use Getopt::Long;
#---------------------------------
uthor_lower($cpan,$dbx);
check_distro_lower($cpan,$dbx);
# check_author_json($cpan,$dbx);
# check_distro_json($cpan,$dbx);
_log("Finish");
}
sub prep_hashes {
my ($cpan,$dbx) = @_
('hash','GetAuthorSummary',$row->{author});
if(@summary) {
my $tvars = decode_json($summary[0]->{dataset});
next unless($tvars->{distributions});
my $do
inth::DTUtils;
use Labyrinth::Plugin::CPAN;
use Labyrinth::Variables;
use Labyrinth::Writer;
use JSON::XS;
#----------------------------------------------------------------------------
# Public Inte
arams{name});
$tvars{update} = 1;
}
}
# decode from JSON string
my $parms = decode_json($summary[0]->{dataset});
for my $key (keys %$parms) { $tvars{$key} = $parms
th::Plugin::Articles::Site;
use Clone qw(clone);
use Cwd;
use File::Path;
use File::Slurp;
use JSON::XS;
#use Sort::Versions;
use Time::Local;
use Try::Tiny;
use XML::RSS;
#use YAML::XS;
use versio
cache/$author.json";
try {
# load JSON, if we have one
if(-f $destfile) {
$progress->( ".. processing rmauth $author $name (cleaning JSON file)" )
JSON file)" ) if(defined $progress);
my $store;
eval { $store = decode_json($data) };
$progress->( ".. processing rmauth $author $name (decoded JSON
als;
use Labyrinth::Variables;
use Labyrinth::Plugin::Content;
use Labyrinth::Plugin::CPAN;
use JSON::XS;
use File::Find::Rule;
use File::Slurp;
use Getopt::Long;
use CPAN::Testers::Common::Article
ixed");
}
sub _check_arch_os {
my $row = shift;
my $data = decode_json($row->{report});
my $fact = decode_json($data->{'CPAN::Testers::Fact::LegacyReport'}{content});
my $textreport
act::LegacyReport;
use CPAN::Testers::Fact::TestSummary;
use File::Slurp;
use HTML::Entities;
use JSON::XS;
use Metabase::Resource;
use XML::RSS;
use YAML::XS;
#--------------------------------------
m DistroRSS
Return the RSS feed for a given distribution.
=item load_rss
Reads the appropriate JSON file and returns an RSS feed.
=item make_rss
Creates an RSS feed from a given data set.
=item
istroYAML
Return the YAML feed for a given distribution.
=item load_yaml
Reads the appropriate JSON file and returns an YAML feed.
=back
=cut
sub View {
if($cgiparams{id} =~ /^\d+$/) {
inth::DTUtils;
use Labyrinth::Plugin::CPAN;
use Labyrinth::Variables;
use Labyrinth::Writer;
use JSON::XS;
#----------------------------------------------------------------------------
# Public Inte
arams{name});
$tvars{update} = 1;
}
}
# decode from JSON string
my $parms = decode_json($summary[0]->{dataset});
for my $key (keys %$parms) { $tvars{$key} = $parms
w = $rows[0];
my ($data,$json);
eval {
$json = $serializer->deserialize($row->{report});
$data = $serializer->serialize($json);
};
if($@ || !$