view release on metacpan or search on metacpan
lib/App/lcpan/Call.pm view on Meta::CPAN
description => <<'_',
Will return status 200 if `lcpan` script is installed (available from PATH),
local CPAN mirror exists, and is fairly recent and queryable. This routine will
actually attempt to run "lcpan stats-last-index-time" and return the result if
the result is 200 *and* the index is updated quite recently. By default "quite
recently" is defined as not older than 2 weeks or whatever LCPAN_MAX_AGE says
(in seconds).
_
args => {
lib/App/lcpan/Call.pm view on Meta::CPAN
Check that local CPAN mirror exists and is fairly recent.
Will return status 200 if C<lcpan> script is installed (available from PATH),
local CPAN mirror exists, and is fairly recent and queryable. This routine will
actually attempt to run "lcpan stats-last-index-time" and return the result if
the result is 200 I<and> the index is updated quite recently. By default "quite
recently" is defined as not older than 2 weeks or whatever LCPAN_MAX_AGE says
(in seconds).
This function is not exported by default, but exportable.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/lcpan/Cmd/dists_with_changes_cwalitee.pm view on Meta::CPAN
Arguments ('*' denotes required arguments):
=over 4
=item * B<added_or_updated_since> => I<date>
Include only records that are addedE<sol>updated since a certain date.
=item * B<added_or_updated_since_last_index_update> => I<true>
Include only records that are addedE<sol>updated since the last index update.
=item * B<added_or_updated_since_last_n_index_updates> => I<posint>
Include only records that are addedE<sol>updated since the last N index updates.
=item * B<added_since> => I<date>
Include only records that are added since a certain date.
lib/App/lcpan/Cmd/dists_with_changes_cwalitee.pm view on Meta::CPAN
=item * B<sort> => I<array[str]> (default: ["dist"])
Sort the result.
=item * B<updated_since> => I<date>
Include only records that are updated since certain date.
=item * B<updated_since_last_index_update> => I<true>
Include only records that are updated since the last index update.
=item * B<updated_since_last_n_index_updates> => I<posint>
Include only records that are updated since the last N index updates.
=item * B<use_bootstrap> => I<bool> (default: 1)
Whether to use bootstrap database from App-lcpan-Bootstrap.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/lcpan/Cmd/namespace_authors.pm view on Meta::CPAN
=item * B<update_db_schema> => I<bool> (default: 1)
Whether to update database schema to the latest.
By default, when the application starts and reads the index database, it updates
the database schema to the latest if the database happens to be last updated by
an older version of the application and has the old database schema (since
database schema is updated from time to time, for example at 1.070 the database
schema is at version 15).
When you disable this option, the application will not update the database
schema. This option is for testing only, because it will probably cause the
application to run abnormally and then die with a SQL error when reading/writing
view all matches for this distribution
view release on metacpan or search on metacpan
0.002 2017-02-02 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::To::Doc (0.82).
0.001 2017-02-02 Released-By: PERLANCAR
- First release.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/lcpan/Manual/Cookbook.pod view on Meta::CPAN
=head2 Listing distributions of other CPAN authors that recently depend on one of your modules [author]
# Show dependencies that were added in the last 2 weeks
% lcpan author-rdeps YOUR-CPAN-ID --user-author-isnt YOUR-CPAN-ID --added-since '2 weeks ago'
# Show dependencies that were updated in the last 2 weeks
% lcpan author-rdeps YOUR-CPAN-ID --user-author-isnt YOUR-CPAN-ID --updated-since '2 weeks ago'
# Show dependencies that were not present before your last 'lcpan update'
% lcpan author-rdeps YOUR-CPAN-ID --user-author-isnt YOUR-CPAN-ID --added-in-last-update
=head2 Showing what other distributions you will have to download and install when you install a module
lib/App/lcpan/Manual/Cookbook.pod view on Meta::CPAN
=head1 QUERYING MODULES
=head2 Comparing version of installed modules vs local CPAN versions
% lcpan ver-cmp-installed
% lcpan ver-cmp-installed --older-than-db ;# outdated modules (modules that need to be updated)
% lcpan ver-cmp-installed --older-than-db --exclude-core ;# noncore outdated modules (noncore modules that need to be updated)
The C<ver-cmp-installed> subcommand is distributed in
L<App::lcpan::CmdBundle::ver>.
This can also be done using tools like L<cpan-outdated> (from
lib/App/lcpan/Manual/Cookbook.pod view on Meta::CPAN
=head2 Listing recent modules
# Show modules that were added in the last 2 weeks
% lcpan mods -l --added-since '2 weeks ago'
# Show modules that were updated in the last 2 weeks
% lcpan mods -l --updated-since '2 weeks ago'
# Show modules that were not present before the last 'lcpan update'
% lcpan mods -l --added-in-last-index-update
There's also C<lcpan whatsnew>.
view all matches for this distribution
view release on metacpan or search on metacpan
xt/800_perlcritic.t view on Meta::CPAN
}
}
$Perl::Critic::VERSION =~ s/_//;
if ( 1.10502 > eval { $Perl::Critic::VERSION } ) {
plan( skip_all => 'Perl::Critic needs updated to 1.105_02' );
}
if ( 20090616 > eval { $Perl::Tidy::VERSION } ) {
plan( skip_all => "Perl::Tidy needs updated to 20090616" );
}
use File::Spec::Functions qw(catfile catdir);
Perl::Critic::Utils::Constants->import(':profile_strictness');
my $dummy = $Perl::Critic::Utils::Constants::PROFILE_STRICTNESS_QUIET;
view all matches for this distribution
view release on metacpan or search on metacpan
maint/Maker.pm view on Meta::CPAN
}
sub generate_postamble {
<<"EOP";
updatedeps :
\tcpan-outdated -p | cpanm
pushtags :
\tgit commit -a -m "Release commit for $(VERSION)"
\tgit tag v$(VERSION) -m "release $(VERSION)"
view all matches for this distribution
view release on metacpan or search on metacpan
script/manwrap-pm view on Meta::CPAN
Complete::Util::combine_answers(@answers);
};
my @orig_argv = @ARGV;
# this is taken from App::cpanminus::script and should be updated from time to
# time.
GetOptionsWithCompletion(
sub {
my %args = @_;
my $type = $args{type};
view all matches for this distribution
view release on metacpan or search on metacpan
script/_metasyn view on Meta::CPAN
#formatting like Log::Contextual. This eases code migration and teamwork. Each
#module author can preserve her own logging style, if wanted, and all the modules
#still use the same framework.
#
#B<Dynamic.> Outputs and levels can be changed anytime during run-time and logger
#routines will be updated automatically. This is useful in situation like a
#long-running server application: you can turn on tracing logs temporarily to
#debug problems, then turn them off again, without restarting your server.
#
#B<Interoperability.> There are modules to interop with Log::Any, either consume
#Log::Any logs (see L<Log::Any::Adapter::LogGer>) or produce logs to be consumed
view all matches for this distribution
view release on metacpan or search on metacpan
mimi.fatpack view on Meta::CPAN
$fatpacked{"Module/Build.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'MODULE_BUILD';
package Module::Build;use if $] >= 5.019,'deprecate';use 5.006;use strict;use warnings;use File::Spec ();use File::Path ();use File::Basename ();use Perl::OSType ();use Module::Build::Base;our@ISA=qw(Module::Build::Base);our$VERSION='0.03';$VERSION...
MODULE_BUILD
$fatpacked{"Module/Build/Base.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'MODULE_BUILD_BASE';
package Module::Build::Base;use 5.006;use strict;use warnings;our$VERSION='0.03';$VERSION=eval$VERSION;use Carp;use Cwd ();use File::Copy ();use File::Find ();use File::Path ();use File::Basename ();use File::Spec 0.82 ();use File::Compare ();use M...
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
EOF
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/mkfeyorm.pm view on Meta::CPAN
my $schema = Fey::Loader->new( dbh => $source->dbh )->make_schema;
[% END -%]
return if ref($schema) ne 'Fey::Schema';
[% IF CACHE -%]
my $updated;
[% END -%]
if ($params{fk_relations}) {
[% IF CACHE -%]
++$updated;
[% END -%]
for my $relation ( @{ $params{fk_relations} } ) {
my $source_table = $relation->{source_table};
my $source_column = $relation->{source_column};
my $target_table = $relation->{target_table};
lib/App/mkfeyorm.pm view on Meta::CPAN
#);
#$schema->add_foreign_key($fk);
[% IF CACHE -%]
if ($params{cache_file}) {
if (!-e $params{cache_file} || $updated) {
my $dirname = dirname($params{cache_file});
make_path($dirname) unless -e $dirname;
store($schema, $params{cache_file});
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/mkpkgconfig/PkgConfig.pm view on Meta::CPAN
=head2 add_variable
$obj->add_variable( $name, $value );
Add a variable with the specified value. If the variable exists, its
value will be updated.
=head2 add_variables
$obj->add_variables( \%variables );
lib/App/mkpkgconfig/PkgConfig.pm view on Meta::CPAN
=head2 add_keyword
$obj->add_keyword( $name, $value );
Add a keyword with the specified value. If the keyword exists, its
value will be updated.
=head2 add_keywords
$obj->add_keywords( \%keywords );
view all matches for this distribution
view release on metacpan or search on metacpan
t/samples/percona-compiled.txt view on Meta::CPAN
not allow other algorithms to match when reading; NONE
write a constant magic number, do not do any checksum
verification when reading (same as innodb_checksums=OFF);
STRICT_NONE write a constant magic number, do not allow
values other than that magic number when reading; Files
updated when this option is set to crc32 or strict_crc32
will not be readable by MySQL versions older than 5.6.3
--innodb-checksums DEPRECATED. Use innodb_checksum_algorithm=NONE instead of
setting this to OFF. Enable InnoDB checksums validation
(enabled by default). Disable with
--skip-innodb-checksums.
t/samples/percona-compiled.txt view on Meta::CPAN
Force slave workers to make commits in the same order as
on the master. Disabled by default.
--slave-rows-search-algorithms=name
Set of searching algorithms that the slave will use while
searching for records from the storage engine to either
updated or deleted them. Possible values are: INDEX_SCAN,
TABLE_SCAN and HASH_SCAN. Any combination is allowed, and
the slave will always pick the most suitable algorithm
for any given scenario. (Default: INDEX_SCAN,
TABLE_SCAN).
--slave-skip-errors=name
view all matches for this distribution
view release on metacpan or search on metacpan
0.006 2017-06-17 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Dump to show --dry-run
in the POD.
0.005 2017-06-16 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
- [doc] Tweak Description.
0.011 2020-04-29 Released-By: PERLANCAR; Urgency: low
- [build] Rebuild with updated App::CSelUtils to remove dependency to
the deprecated Perinci::Sub::ArgEntity::*.
0.010 2020-04-27 Released-By: PERLANCAR; Urgency: low
view all matches for this distribution
view release on metacpan or search on metacpan
0.54 2016-04-20 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Dist::Zilla::Plugin::GenShellCompletion
so we avoid ConfigureRequires to Perl::osnames.
0.53 2016-04-19 Released-By: PERLANCAR
- No functional changes.
- [dzil] Add spec prereq to Rinci.
- [build] Rebuild with updated DZP:Depak (0.14) which puts list of
packed modules/dists in dist metadata.
0.48 2015-09-18 Released-By: PERLANCAR
- No functional changes.
- Rebuild with updated Complete::* modules which has fuzzy matching.
0.47 2015-09-10 Released-By: PERLANCAR
- No changes, re-upload.
0.33 2015-05-16 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated/fixed version of DZP:Fatten.
0.32 2015-05-16 Released-By: PERLANCAR
- No functional changes.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/pepper.pm view on Meta::CPAN
pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice +1.7035555555 email jdoe@example.com
=head2 Object Updates
Objects may be updated using the C<update> command.
=head3 Domain Updates
update domain DOMAIN CHANGES
lib/App/pepper.pm view on Meta::CPAN
=item * C<authInfo>
=back
If postal address information is being changed, then any values not specified in the command line will be populated from the existing object information. This is because contact information is updated atomically.
Examples:
pepper (id@host)> create contact id "sh8013" name "John Doe" org "Example Inc." type int street "123 Example Dr." city Dulles sp VA pc 20166-6503 cc US voice email jdoe@example.com
view all matches for this distribution
view release on metacpan or search on metacpan
0.49 2015-11-27
* Devel::PatchPerl::Plugin::Compiler: mandatory fix for 5.22
which broke ByteLoader and thus the bytecode compiler.
0.48 2015-10-06
* Devel::PatchPerl::Plugin::Compiler: updated RT#81332 (B) for 5.18,5.20,5.22
* build: fixed detection of cmdline options -DAU
* build: run TEST_JOBS=4 make test_harness with build
* build: default to -Uuseshrplib on darwin with DEBUGGING
* build: do not derive $Config{useshrplib} from default perl anymore
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/perlbrew.pm view on Meta::CPAN
sub available_perl_distributions {
my ($self) = @_;
my $perls = {};
my @perllist;
# we got impatient waiting for cpan.org to get updated to show 5.28...
# So, we also fetch from metacpan for anything that looks perlish,
# and we do our own processing to filter out the development
# releases and minor versions when needed (using
# filter_perl_available)
my $json = http_get('https://fastapi.metacpan.org/v1/release/versions/perl')
lib/App/perlbrew.pm view on Meta::CPAN
if ( -w $path && open( $fh, ">", $path ) ) {
print $fh $self->$method;
close $fh;
}
else {
print "NOTICE: $path already exists and not updated.\n" unless $self->{quiet};
}
}
}
my $root_dir = $self->root->stringify_with_tilde;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/perlimports/Document.pm view on Meta::CPAN
# 'Data::Dumper' => ['Dumper'],
# POSIX => [],
# }
#
# The name is a bit of a misnomer. It starts out as a list of original imports,
# but with each include that gets processed, this list also gets updated. We do
# this so that we can keep track of what previous modules are really importing.
# Might not be bad to rename this.
sub _build_original_imports {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
0.003 2020-08-04 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [build] Rebuild with updated Pod::Weaver plugin 'perlmv' (0.002) that
renders scriptlet arguments into POD.
0.002 2020-08-04 Released-By: PERLANCAR; Urgency: low
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Phoebe.pm view on Meta::CPAN
$stream->write("<id>$link</id>\n");
$seen{$name . "\x1c"} = 1;
}
my ($sec, $min, $hour, $mday, $mon, $year) = gmtime($ts); # 2003-12-13T18:30:02Z
$ts = sprintf("%04d-%02d-%02dT%02d:%02d:%02dZ", $year + 1900, $mon + 1, $mday, $hour, $min, $sec);
$stream->write("<updated>$ts</updated>\n");
$feed_ts = $ts if $ts gt $feed_ts;
$stream->write("<author><name>$code</name></author>\n");
$stream->write("</entry>\n");
}
$stream->write("<updated>$feed_ts</updated>\n");
$stream->write("</feed>\n");
}
sub serve_blog_atom {
my $stream = shift;
lib/App/Phoebe.pm view on Meta::CPAN
$stream->write("<link href=\"$link\"/>\n");
$stream->write("<id>$link</id>\n");
$stream->write(encode_utf8 "<content type=\"text\">" . quote_html(text($stream, $host, $space, $id)) . "</content>\n");
my ($sec, $min, $hour, $mday, $mon, $year) = gmtime($changes->{$id}); # 2003-12-13T18:30:02Z
my $ts = sprintf("%04d-%02d-%02dT%02d:%02d:%02dZ", $year + 1900, $mon + 1, $mday, $hour, $min, $sec);
$stream->write("<updated>$ts</updated>\n");
$feed_ts = $ts if $ts gt $feed_ts;
$stream->write("</entry>\n");
}
$stream->write("<updated>$feed_ts</updated>\n");
$stream->write("</feed>\n");
}
sub serve_raw {
my $stream = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
pod/examples.pod view on Meta::CPAN
> 108085 Defl:N 37371 65% e5f2f22b
> 107649 Defl:N 37211 65% 9db83c1e
> 107649 Defl:N 37211 65% 16726160
> ...
Browsers have a bug of not checking for updated css & javascript. A common
workaround is to add a hex number to those file names. In that case use only
the meaningful part of the filename as a key:
pl -o 'piped {
keydiff $2
view all matches for this distribution
view release on metacpan or search on metacpan
pod/examples.pod view on Meta::CPAN
pltest -o 'piped {
keydiff $2 if s@.{16} ([\da-f]{8}) (.+)@$1@;
} "unzip", "-vqq", $_' *.zip
Browsers have a bug of not checking for updated css & javascript. A common
workaround is to add a hex number to those file names. In that case use only
the meaningful part of the filename as a key:
pltest -o 'piped {
keydiff $2
view all matches for this distribution
view release on metacpan or search on metacpan
bin/plx-packed view on Meta::CPAN
home directory, and at some point later you try to install a module with C<cpan
-i Foo::Bar>, but it fails with an error like: C<Warning: You do not have
permissions to install into /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux at
/usr/lib64/perl5/5.8.8/Foo/Bar.pm> and buried within the install log is an
error saying C<'INSTALL_BASE' is not a known MakeMaker parameter name>, then
you've somehow lost your updated ExtUtils::MakeMaker module.
To remedy this situation, rerun the bootstrapping procedure documented above.
Then, run C<rm -r ~/.cpan/build/Foo-Bar*>
view all matches for this distribution
view release on metacpan or search on metacpan
0.003 2017-06-17 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Dump to show --dry-run
in the POD.
0.002 2017-06-16 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
0.008 2020-04-29 Released-By: PERLANCAR; Urgency: low
- [build] Rebuild with updated App::CSelUtils to remove dependency to
the deprecated Perinci::Sub::ArgEntity::*.
0.007 2020-04-14 Released-By: PERLANCAR; Urgency: medium
view all matches for this distribution
view release on metacpan or search on metacpan
0.004 2018-09-11 Released-By: PERLANCAR
- [ux] Add short option shortcuts for --infile (-i), --outfile
(-o), --browser (-b).
- [build] Rebuild with updated Perinci::CmdLine::Inline which enabled
the generation of argument validation code.
0.003 2018-09-10 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
script/_ppgrep view on Meta::CPAN
#formatting like Log::Contextual. This eases code migration and teamwork. Each
#module author can preserve her own logging style, if wanted, and all the modules
#still use the same framework.
#
#B<Dynamic.> Outputs and levels can be changed anytime during run-time and
#logging routines will be updated automatically. This is useful in situation like
#a long-running server application: you can turn on tracing logs temporarily to
#debug problems, then turn them off again, without restarting your server.
#
#B<Interoperability.> There are modules to interop with Log::Any, either consume
#Log::Any logs (see L<Log::Any::Adapter::LogGer>) or produce logs to be consumed
view all matches for this distribution