view release on metacpan or search on metacpan
lib/App/gist.pm view on Meta::CPAN
my $push_url = $info -> content -> {'git_push_url'};
if ($web) {
print "$html_url\n";
} else {
print "Gist '$gist_id' successfully created/updated.\n";
print "Web URL: $html_url\n";
print "Public Clone URL: $pull_url\n" if $public;
print "Private Clone URL: $push_url\n";
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
share/lib/git-hub view on Meta::CPAN
local key="${1//__/\/}"
local value="$(JSON.get -a "/$key" -)"
local label="$key"
if [ "$key" == created_at ]; then
value="${value%T*}"
elif [ "$key" == updated_at ]; then
value="${value%T*}"
elif [ "$key" == pushed_at ]; then
value="${value/T/ }"
value="${value/Z/}"
fi
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/git/ship/perl.pm view on Meta::CPAN
"META_MERGE" will use data from L<App::git::ship/GIT_SHIP_BUGTRACKER>, L<App::git::ship/GIT_SHIP_HOMEPAGE>,
and L</repository>.
=item * my-app/Changes or my-app/CHANGELOG.md
The Changes file will be updated with the correct
L</GIT_SHIP_NEW_VERSION_FORMAT>, from when you ran the L</build> action. The
Changes file will also be the source for L</GIT_SHIP_NEXT_VERSION>. Both
C<CHANGELOG.md> and C<Changes> are valid sources. L<App::git::ship> looks for
a version-timestamp line with the case-sensitive text "Not Released" as the the
timestamp.
=item * my-app/lib/My/App.pm
This L<file|App::git::ship::perl/main_module_path> will be updated with the
version number from the Changes file.
=item * .gitignore and MANIFEST.SKIP
Unless these files exist, they will be generated from a template which skips
view all matches for this distribution
view release on metacpan or search on metacpan
$ echo 'lib/Your/App.pm' > .readme_from
$ echo '^\.readme_from' >> MANIFEST.SKIP
$ git add .readme_from MANIFEST.SKIP
$ git commit -m 'githook-perltidy readme_from' && git push
With the above in place the README file will be updated (and
potentially committed) whenever lib/Your/App.pm is committed.
githook-perltidy install [--force, -f] [--absolute, -a]
Anyone making commits in your repository should ensure that
githook-perltidy runs before the Git commit completes. The "install"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/gqmt.pm view on Meta::CPAN
foreach ( @{$versions} ) {
next if $_->{version} =~ /$re/;
p ($_, caller_message => "VERSION DOES NOT MATCH REGEX ($re) AND IS BEEN PROCESSED: __FILENAME__:__LINE__ ") if $self->option('d') > 2;
if ( defined $_->{files}->{nodes}->[0]->{updatedAt} ) {
$t_ver = Time::Piece->strptime( $_->{files}->{nodes}->[0]->{updatedAt},
"%Y-%m-%dT%H:%M:%SZ" );
next if ($t_ver->epoch + $self->option('age') ) >= $t_now->epoch;
}
# $to_delete->{ defined $_->{files}->{nodes}->[0]->{updatedAt} ?
# $_->{files}->{nodes}->[0]->{updatedAt} : sprintf('NODATE_%04d', $i++) } = $_->{version};
$to_delete->{ $_->{id} } = { version => $_->{version},
ts => $_->{files}->{nodes}->[0]->{updatedAt} };
}
} else {
$to_delete->{ $self->option('v') } = { version => 'STUB VERSION',
ts => 'STUB TS' };
}
lib/App/gqmt.pm view on Meta::CPAN
} else {
# p ( $versions, colored => $self->option('colored') ) if $self->option('d') > 2 || $self->option('dry_run');
my @vers_arr = map {
sprintf("%30s\t%20s\t%s\n",
$_->{version},
scalar @{$_->{files}->{nodes}} > 0 && exists $_->{files}->{nodes}->[0]->{updatedAt}
? $_->{files}->{nodes}->[0]->{updatedAt} : '',
$_->{id}
)
} @{$versions};
print "Versions of package \"", $self->option('package'), "\":\n\n", join('', @vers_arr);
}
lib/App/gqmt.pm view on Meta::CPAN
id
version
files(first:1, orderBy: {direction: DESC, field: CREATED_AT}) {
totalCount
nodes {
updatedAt
packageVersion {
version
id
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/grindperl.pm view on Meta::CPAN
}
$self->do_cmd( "./Configure", $self->configure_args )
or croak("Configure failed!");
# save files back into cache if updated
dir( $self->cache_dir )->mkpath;
for my $f ( qw/config.sh Policy.sh/ ) {
copy( $f, $self->cache_file($f) )
if (! -f $self->cache_file($f)) || (-M $f > -M $self->cache_file($f));
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/hopen/G/Cmd.pm view on Meta::CPAN
=over
=item *
An L<App::hopen::Asset> or subclass (in which case
L<made_by|App::hopen::Asset/made_by> is updated)
=item *
A valid C<target> for an L<App::hopen::Asset>.
view all matches for this distribution
view release on metacpan or search on metacpan
Revision history for App-horsekicks
0.13 2018-07-03
App-horsekicks first release. The program horsekick
is firstly copied from "scripts/poisson" of CLI::Coin::Toss
and updated a lot.
view all matches for this distribution
view release on metacpan or search on metacpan
0.23 2015-08-26 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated
Pod::Weaver::Section::Completion::PerinciCmdLine (0.13) which
generates Completion POD section for Perinci::CmdLine::Inline scripts.
0.22 2015-08-20 Released-By: PERLANCAR
0.21 2015-08-19 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated App:GenPericmdCompleterScript (0.04)
which produces smaller completer script.
0.20 2015-08-19 Released-By: PERLANCAR
- [build] Rebuild with updated DZP:GenPericmdScript (0.23) which now
generates a shell completer script for
Perinci::CmdLine::Inline-generated scripts.
0.19 2015-07-30 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated DZP:GenPericmdScript which now adds
prereq to Perinci::CmdLine::Inline for the develop phase, not build
(so users do not need to install Perinci::CmdLine::Inline, as should
be the case).
0.18 2015-07-30 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Dump &
PWS:Completion::PerinciCmdLine to remove extraneous stuffs from POD
(unsupported config/env options, COMPLETION section).
0.17 2015-07-30 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Dump to let
Pod::Weaver::Plugin::Rinci insert more stuffs to the POD.
0.16 2015-07-30 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Inline to add Abstract.
0.15 2015-07-20 Released-By: PERLANCAR
- No functional changes.
0.11 2015-07-02 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Inline (0.13) to fix
POD.
0.10 2015-07-02 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
0.002 2017-06-17 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::CmdLine::Dump to show --dry-run
in the POD.
0.001 2017-06-16 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
0.010 2020-04-29 Released-By: PERLANCAR; Urgency: low
- [build] Rebuild with updated App::CSelUtils to remove dependency to
the deprecated Perinci::Sub::ArgEntity::*.
0.009 2019-08-08 Released-By: PERLANCAR; Urgency: medium
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/httpstatus/more.pm view on Meta::CPAN
See L<httpstatus> script.
=head1 DESCRIPTION
This is a fork of L<App::httpstatus> 2.0.0 to add more codes. The original
script has not been updated since 2013.
=head1 SEE ALSO
L<App::httpstatus>, the original script.
view all matches for this distribution
view release on metacpan or search on metacpan
graph-daily-trading-summary.
[UX]
- [subcommand update] Tweak logging statement, so --verbose will show
updated data.
- Tweak graphs (tic label rotation, better colors using
ColorTheme::Distinct::WhiteBG)
- Accept natural dates for --date-* options.
view all matches for this distribution
view release on metacpan or search on metacpan
script/instopt view on Meta::CPAN
software binaries (by default to F</opt>, hence the name: "B<inst>all to
/B<opt>"). To describe how it works, I'll describe how I install my software to
F</opt>.
Normally, I depend on the package manager of my OS (Linux distribution) to
install software. But some software need to be updated more often. Let's take as
example B<firefox>, where the OS version is usually too old for my taste. I'll
usually do this:
=over
view all matches for this distribution
view release on metacpan or search on metacpan
t/01_basic.t view on Meta::CPAN
}
{
my $src_json = encode_json([
{ created => 1560026367 },
{ updated => 1560026367.123 },
{ created_at => '1560026367' },
{ time => '1560026367123' },
{ unixtime => 1560026367123 },
{ date => '1560026367.123' },
{ ts => 1560026367 },
view all matches for this distribution
view release on metacpan or search on metacpan
0.03 2013-09-09T10:10:07
[André Santos <andrefs@cpan.org>]
- POD
- updated POD
v0.01_01 2013-03-25T18:23:01
[André Santos <andrefs@cpan.org>]
- added more test cases (tests yet TODO)
view all matches for this distribution
view release on metacpan or search on metacpan
Release Note to Backward-Incompatible.
0.007 2020-04-29 Released-By: PERLANCAR; Urgency: low
- [build] Rebuild with updated App::CSelUtils to remove dependency to
the deprecated Perinci::Sub::ArgEntity::*.
0.006 2019-08-08 Released-By: PERLANCAR; Urgency: low
view all matches for this distribution
view release on metacpan or search on metacpan
- Eliminating more stuff from the feed item extracts.
1.06
- atom:published takes precedence over atom:updated
- Ignore blog posts with dates in the future
1.05
- Fix dependencies
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/karr/Cmd/List.pm view on Meta::CPAN
option sort => (
is => 'ro',
format => 's',
default => sub { 'id' },
doc => 'Sort by: id, status, priority, created, updated, due',
);
option reverse => (
is => 'ro',
short => 'r',
lib/App/karr/Cmd/List.pm view on Meta::CPAN
Performs a case-insensitive substring search across title, body, and tags.
=item * C<--sort>, C<--reverse>
Sort by C<id>, C<status>, C<priority>, C<created>, C<updated>, or C<due>, and
optionally reverse the result order.
=back
=head1 SEE ALSO
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/lcpan/Bootstrap.pm view on Meta::CPAN
=head1 SYNOPSIS
=head1 DESCRIPTION
This distribution contains the database for L<lcpan> (updated periodically), so
you can save time when setting up your local CPAN mirror the first time. Without
a boostrap database, indexing the mirror for the first time can take several
hours. With a fairly recent bootstrap database, indexing time can be reduced to
an hour or much less.
view all matches for this distribution
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
lib/App/lcpan.pm view on Meta::CPAN
schema => 'bool*',
default => 1, # will also be checked/set in _set_args_default
description => <<'_',
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
lib/App/lcpan.pm view on Meta::CPAN
tags => ['category:filtering'],
},
);
our %fmtime_args = (
updated_since => {
summary => 'Include only records that are updated since certain date',
schema => ['date*', 'x.perl.coerce_rules' => ['From_str::natural']],
tags => ['category:filtering'],
},
updated_since_last_index_update => {
summary => 'Include only records that are updated since the last index update',
schema => 'true*',
tags => ['category:filtering'],
},
updated_since_last_n_index_updates => {
summary => 'Include only records that are updated since the last N index updates',
schema => 'posint*',
tags => ['category:filtering'],
},
);
our %fctime_or_mtime_args = (
added_or_updated_since => {
summary => 'Include only records that are added/updated since a certain date',
schema => ['date*', 'x.perl.coerce_rules' => ['From_str::natural']],
cmdline_aliases => {since=>{}},
tags => ['category:filtering'],
},
added_or_updated_since_last_index_update => {
summary => 'Include only records that are added/updated since the last index update',
schema => 'true*',
cmdline_aliases => {since_last_index_update=>{}},
tags => ['category:filtering'],
},
added_or_updated_since_last_n_index_updates => {
summary => 'Include only records that are added/updated since the last N index updates',
schema => 'posint*',
cmdline_aliases => {since_last_n_index_updates=>{}},
tags => ['category:filtering'],
},
);
lib/App/lcpan.pm view on Meta::CPAN
}
$args->{use_bootstrap} //= 1;
$args->{update_db_schema} //= 1;
}
# set {added_,updated_,added_or_udpated_}since from
# {added_,updated_,added_or_updated_}since_last_{index_update,n_index_updates},
# set, since SQL query will usually use the former
sub _set_since {
my ($args, $dbh) = @_;
my $num_sinces = 0;
if (defined $args->{added_since}) { $num_sinces++ }
if (defined $args->{updated_since}) { $num_sinces++ }
if (defined $args->{added_or_updated_since}) { $num_sinces++ }
if (defined $args->{added_since_last_index_update} || defined $args->{updated_since_last_index_update} || defined $args->{added_or_updated_since_last_index_update}) {
my ($time) = $dbh->selectrow_array("SELECT date FROM log WHERE category='update_index' AND summary LIKE 'Begin%' ORDER BY date DESC");
die "Index has not been updated at all, cannot use {added_,updated_,added_or_updated_}since_last_index_update option" unless $time;
if (delete $args->{added_since_last_index_update}) { $args->{added_since} //= $time; log_trace "Setting added_since=%s", $time; $num_sinces++ }
if (delete $args->{updated_since_last_index_update}) { $args->{updated_since} //= $time; log_trace "Setting updated_since=%s", $time; $num_sinces++ }
if (delete $args->{added_or_updated_since_last_index_update}) { $args->{added_or_updated_since} //= $time; log_trace "Setting added_or_updated_since=%s", $time; $num_sinces++ }
}
if (defined $args->{added_since_last_n_index_updates} || defined $args->{updated_since_last_n_index_updates} || defined $args->{added_or_updated_since_last_n_index_updates}) {
my $n = int($args->{added_since_last_n_index_updates} // $args->{updated_since_last_n_index_updates} // $args->{added_or_updated_since_last_n_index_updates});
$n = 1 if $n < 1;
my $sth = $dbh->prepare("SELECT date FROM log WHERE category='update_index' AND summary LIKE 'Begin%' ORDER BY date DESC");
$sth->execute;
my $i = 0;
my $time;
1 while ++$i <= $n && (($time) = $sth->fetchrow_array);
die "Index has not been updated that many times, please set a lower number for {,added_,updated_}since_last_n_index_updates option" if $i < $n;
if (delete $args->{added_since_last_n_index_updates}) { $args->{added_since} //= $time; log_trace "Setting added_since=%s", $time; $num_sinces++ }
if (delete $args->{updated_since_last_n_index_updates}) { $args->{updated_since} //= $time; log_trace "Setting updated_since=%s", $time; $num_sinces++ }
if (delete $args->{added_or_updated_since_last_n_index_updates}) { $args->{added_or_updated_since} //= $time; log_trace "Setting added_or_updated_since=%s", $time; $num_sinces++ }
}
die "Multiple {added_,updated_,added_or_updated_}since options set, please set only one to avoid confusion" if $num_sinces > 1;
}
sub _add_since_where_clause {
my ($args, $where, $table) = @_;
if (defined $args->{added_since} ) { push @$where, "$table.rec_ctime >= ". (0+$args->{added_since}) }
if (defined $args->{updated_since}) { push @$where, "($table.rec_mtime >= ". (0+$args->{updated_since}). " AND $table.rec_ctime < ".(0+$args->{updated_since}). ")" }
if (defined $args->{added_or_updated_since}) { push @$where, "($table.rec_ctime >= ". (0+$args->{added_or_updated_since}). " OR $table.rec_mtime >= ". (0+$args->{added_or_updated_since}). ")" }
}
sub _fmt_time {
require POSIX;
lib/App/lcpan.pm view on Meta::CPAN
$sth_ins_mod->execute($pkg, $file_id, $author, $ver, _numify_ver($ver), $now,$now);
$mod_id = $dbh->last_insert_id("","","","");
_set_namespace($dbh, $pkg);
}
log_trace(" New/updated module: %s (file ID=%d, module ID=%d)", $pkg, $file_id, $mod_id);
} # while <fh>
# cleanup: delete file record (as well as dists, modules, and deps
# records) for files in db that are no longer in 02packages.
CLEANUP:
lib/App/lcpan.pm view on Meta::CPAN
log_info("Skipped updating index (reason: option update_index=0)");
} elsif (!$args{force_update_index} && $args{update_files} &&
@st1 && @st2 && $st1[9] == $st2[9] && $st1[7] == $st2[7]) {
log_info("%s doesn't change mtime/size, skipping updating index",
$packages_path);
return [304, "Files did not change, index not updated"];
} else {
my $res = _update_index(%args);
return $res unless $res->[0] == 200;
}
[200, "OK"];
lib/App/lcpan.pm view on Meta::CPAN
include_unindexed => $include_unindexed,
exclude_deps => $args{exclude_deps},
authors => $args{authors},
authors_arent => $args{authors_arent},
added_since => $args{added_since},
updated_since => $args{updated_since},
added_or_updated_since => $args{added_or_updated_since},
};
my $res = _get_prereqs($file_ids, $dbh, {}, {},
1, $level, $filters, $plver, $args{flatten}, $args{dont_uniquify}, $phase, $rel);
lib/App/lcpan.pm view on Meta::CPAN
_set_since(\%args, $dbh);
my $filters = {
authors => $authors,
authors_arent => $authors_arent,
added_since => $args{added_since},
updated_since => $args{updated_since},
added_or_updated_since => $args{added_or_updated_since},
};
my $res = _get_revdeps($mods, $dbh, {}, {}, 1, $level, $filters, $args{flatten}, $args{dont_uniquify}, $args{phase}, $args{rel});
return $res unless $res->[0] == 200;
lib/App/lcpan.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<cpan> => I<dirname>
Location of your local CPAN mirror, e.g. E<sol>pathE<sol>toE<sol>cpan.
lib/App/lcpan.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
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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.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
to the database.
Note that in certain modes e.g. doing tab completion, the application also will
not update the database schema.
=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.
lib/App/lcpan.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
lib/App/lcpan.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
lib/App/lcpan.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
### Release Management
The project uses Dist::Zilla/Minilla. Key files are auto-generated:
- `Build.PL` - Auto-generated, do not edit directly
- `README.md` - Auto-generated from `script/lms` POD documentation
- Version numbers must be updated in both `script/lms` and `lib/App/lms.pm`
## Architecture
### Plugin System
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