App-WordPressTools

 view release on metacpan or  search on metacpan

CONTRIBUTING  view on Meta::CPAN

      Contains test scripts.

    maint

      Contains release management scripts.

    CONTRIBUTING.md, LICENSE, README.md

      Rendered documentation. Do NOT modify these files directly because
      their contents are built from other files. You may commit changes to
      these files as long as their source files were updated.

    Changes

      Lists releases and associated changes.

 Branch Layout

    master

      This is the shared development branch. It may contain accepted but

lib/App/WordPressTools/Contributing.pod  view on Meta::CPAN


Contains test scripts.

=item maint

Contains release management scripts.

=item CONTRIBUTING.md, LICENSE, README.md

Rendered documentation. Do B<NOT> modify these files directly because their contents are built from other files. You may
commit changes to these files as long as their source files were updated.

=item Changes

Lists releases and associated changes.

=back

=head2 Branch Layout

=over

script/wp-tools  view on Meta::CPAN

        $current_status->{'adminsize'} = $aresp->{'headers'}{'content-length'} || 1;
    }

    eval {
        if ($components{'core'}) {
            my $update = _run_wpcli($nice_path, ($args->{'force'} || !$plus3713) ? "core download --force 2>&1" : "core update 2>&1");
            #try forcing errors
            $update = _run_wpcli($nice_path, q{core download --force 2>&1}) if $?;
            die "Upgrading WordPress core files exited with $? ($update)" if $?;
            if (!$args->{'__skip_database'}) {
                my $updatedb = _run_wpcli($nice_path, q{core update-db 2>&1});
                #try harder
                if ($?) {
                    $updatedb = _run_wpcli($nice_path, q{core update-db  --skip-plugins --skip-themes 2>&1});
                }
                #allowable database failures
                if ($updatedb !~ /(?:The site you have requested is not installed.)/) {
                    die "Upgrading WordPress core database exited with $? ($updatedb)" if $?;
                }
            }
        }
        my $pt_ok = qr/(?:Warning: Update package not available.|Error establishing a database connection)/;
        if ($components{'plugin'}) {
            my $plugins  = _run_wpcli($nice_path, q{plugin update --all 2>&1});
            if ($? && $plugins !~ /$pt_ok/gsm) {
                die "Upgrading plugins exited with $? ($plugins)";
            }
        }



( run in 0.234 second using v1.01-cache-2.11-cpan-05444aca049 )