OSDN Git Service

wvm/wvm.git
11 years agoMerge branch 'master' into package-manager-v2 package-manager-v2
scribu [Mon, 12 Aug 2013 20:53:41 +0000 (23:53 +0300)]
Merge branch 'master' into package-manager-v2

Doesn't need PHPUnit and Behat installed as packages

11 years agoMerge pull request #665 from wp-cli/no-dev-deps
Cristi Burcă [Mon, 12 Aug 2013 20:50:25 +0000 (13:50 -0700)]
Merge pull request #665 from wp-cli/no-dev-deps

Can't run Behat while having community packages installed

11 years agoupdate utils/dev-build
scribu [Mon, 12 Aug 2013 20:41:16 +0000 (23:41 +0300)]
update utils/dev-build

11 years agofix assertNumeric() usage
scribu [Mon, 12 Aug 2013 20:05:39 +0000 (23:05 +0300)]
fix assertNumeric() usage

11 years agoreplace remaining assertion calls with direct exceptions
scribu [Mon, 12 Aug 2013 19:56:15 +0000 (22:56 +0300)]
replace remaining assertion calls with direct exceptions

11 years agoreplace assertStringMatchesFormat() with assertNumeric()
scribu [Mon, 12 Aug 2013 19:48:58 +0000 (22:48 +0300)]
replace assertStringMatchesFormat() with assertNumeric()

11 years agouse sprintf() instead of concatenation; see #666
scribu [Mon, 12 Aug 2013 18:42:44 +0000 (21:42 +0300)]
use sprintf() instead of concatenation; see #666

11 years agowhitespace is nice, but let's not get ridiculous
scribu [Mon, 12 Aug 2013 18:37:20 +0000 (21:37 +0300)]
whitespace is nice, but let's not get ridiculous

11 years agofix coding standards; see #666
scribu [Mon, 12 Aug 2013 18:36:13 +0000 (21:36 +0300)]
fix coding standards; see #666

11 years agoMerge pull request #666 from MattiaG/patch-1
Cristi Burcă [Mon, 12 Aug 2013 18:31:06 +0000 (11:31 -0700)]
Merge pull request #666 from MattiaG/patch-1

allow to use both --locale and --version params for 'wp core download'

11 years agoallow to use both --locale and --version params for 'wp core download'
MattiaG [Mon, 12 Aug 2013 17:28:21 +0000 (19:28 +0200)]
allow to use both --locale and --version params for 'wp core download'

Ugly coded, but not so different from source. If the requested combination of locale+version is not available, the script fails like with wrong version parameter.
Tested setting it_IT and de_DE parameters and various versions.

11 years agoMerge pull request #544 from Rarst/wp-bat
Cristi Burcă [Mon, 12 Aug 2013 13:33:10 +0000 (06:33 -0700)]
Merge pull request #544 from Rarst/wp-bat

Added basic wp.bat launcher for Windows environment.

11 years agoreplace PHPUnit assertEquals() with homegrown variant
scribu [Mon, 12 Aug 2013 11:45:44 +0000 (14:45 +0300)]
replace PHPUnit assertEquals() with homegrown variant

11 years agosite list: add a more useful example
scribu [Mon, 12 Aug 2013 11:14:00 +0000 (14:14 +0300)]
site list: add a more useful example

see #661

11 years agotravis: install Behat in the local build dir
scribu [Mon, 12 Aug 2013 09:44:49 +0000 (12:44 +0300)]
travis: install Behat in the local build dir

11 years agotests: first pass at using global PHPUnit and Behat
scribu [Mon, 12 Aug 2013 09:40:17 +0000 (12:40 +0300)]
tests: first pass at using global PHPUnit and Behat

11 years agoFix trailing comma
Daniel Bachhuber [Mon, 12 Aug 2013 01:35:24 +0000 (18:35 -0700)]
Fix trailing comma

11 years agoMerge branch 'master' into package-manager-v2
Daniel Bachhuber [Mon, 12 Aug 2013 00:47:43 +0000 (17:47 -0700)]
Merge branch 'master' into package-manager-v2

Conflicts:
composer.json

11 years agoMerge pull request #608 from wp-cli/mandatory-admin-name-608
Cristi Burcă [Sun, 11 Aug 2013 22:22:14 +0000 (15:22 -0700)]
Merge pull request #608 from wp-cli/mandatory-admin-name-608

Make the --admin_name parameter mandatory

11 years agoCleverness kills tests
Daniel Bachhuber [Sun, 11 Aug 2013 21:32:14 +0000 (14:32 -0700)]
Cleverness kills tests

11 years agoUpdate tests
Daniel Bachhuber [Sun, 11 Aug 2013 21:18:27 +0000 (14:18 -0700)]
Update tests

11 years agoConvert `--admin_name` to `--admin_user`, which is more semantic.
Daniel Bachhuber [Sun, 11 Aug 2013 21:16:39 +0000 (14:16 -0700)]
Convert `--admin_name` to `--admin_user`, which is more semantic.

11 years agoMerge pull request #620 from wp-cli/use-gettext-taxonomy-scaffold
Cristi Burcă [Sun, 11 Aug 2013 20:58:50 +0000 (13:58 -0700)]
Merge pull request #620 from wp-cli/use-gettext-taxonomy-scaffold

Taxonomy Scaffold: Use gettext context

11 years agoMake `--admin_name` required, to discourage use of 'admin' as the default user
Daniel Bachhuber [Sun, 11 Aug 2013 20:53:08 +0000 (13:53 -0700)]
Make `--admin_name` required, to discourage use of 'admin' as the default user

11 years agoMerge branch 'master' into use-gettext-taxonomy-scaffold
Daniel Bachhuber [Sun, 11 Aug 2013 20:46:06 +0000 (13:46 -0700)]
Merge branch 'master' into use-gettext-taxonomy-scaffold

11 years agoUpdate tests
Daniel Bachhuber [Sun, 11 Aug 2013 20:45:56 +0000 (13:45 -0700)]
Update tests

11 years agoMerge pull request #661 from wp-cli/site-list
Cristi Burcă [Sat, 10 Aug 2013 20:18:28 +0000 (13:18 -0700)]
Merge pull request #661 from wp-cli/site-list

Implement `wp site list` command

11 years agosite list: add --network parameter
scribu [Sat, 10 Aug 2013 19:52:50 +0000 (22:52 +0300)]
site list: add --network parameter

11 years agosite list: incorporate into site.feature tests
scribu [Sat, 10 Aug 2013 13:55:43 +0000 (16:55 +0300)]
site list: incorporate into site.feature tests

11 years agosite list: check for multisite before doing anything
scribu [Sat, 10 Aug 2013 13:55:22 +0000 (16:55 +0300)]
site list: check for multisite before doing anything

11 years agofirst pass at 'wp site list' command
scribu [Sat, 10 Aug 2013 01:39:02 +0000 (04:39 +0300)]
first pass at 'wp site list' command

11 years agomedia regenerate: remove erroneus timer and decrease verbosity
scribu [Fri, 9 Aug 2013 20:09:11 +0000 (23:09 +0300)]
media regenerate: remove erroneus timer and decrease verbosity

fixes #660

11 years agocore version: load only wp-includes/version.php
scribu [Fri, 9 Aug 2013 19:10:47 +0000 (22:10 +0300)]
core version: load only wp-includes/version.php

fixes #659

11 years agowhitespace fixes after #653
scribu [Fri, 9 Aug 2013 19:07:08 +0000 (22:07 +0300)]
whitespace fixes after #653

11 years agoadd Behat tests for `db export` and `db import`
scribu [Fri, 9 Aug 2013 18:57:27 +0000 (21:57 +0300)]
add Behat tests for `db export` and `db import`

11 years agointroduce _show_packages() helper
scribu [Fri, 9 Aug 2013 15:30:52 +0000 (18:30 +0300)]
introduce _show_packages() helper

11 years agoMerge pull request #653 from mpeshev/master
Cristi Burcă [Fri, 9 Aug 2013 14:37:25 +0000 (07:37 -0700)]
Merge pull request #653 from mpeshev/master

Comment commands enhancement and #652 updates

11 years agopackage list: use RepositoryInterface->hasPackage()
scribu [Fri, 9 Aug 2013 14:19:22 +0000 (17:19 +0300)]
package list: use RepositoryInterface->hasPackage()

11 years agoFixed variables in comment feature
mpeshev [Fri, 9 Aug 2013 13:40:08 +0000 (16:40 +0300)]
Fixed variables in comment feature

11 years agoRole enhancements for exists function
mpeshev [Fri, 9 Aug 2013 13:20:12 +0000 (16:20 +0300)]
Role enhancements for exists function

11 years agoComment functions for exists and fetch helper
mpeshev [Fri, 9 Aug 2013 13:19:56 +0000 (16:19 +0300)]
Comment functions for exists and fetch helper

11 years agouse dev-master for rmccue/requests and remove minimum-stability flag
scribu [Fri, 9 Aug 2013 12:09:09 +0000 (15:09 +0300)]
use dev-master for rmccue/requests and remove minimum-stability flag

see #655

11 years agoMerge pull request #655 from mpeshev/mprequests
Cristi Burcă [Fri, 9 Aug 2013 11:54:24 +0000 (04:54 -0700)]
Merge pull request #655 from mpeshev/mprequests

Add requests support in composer and for core command

11 years agoMerge pull request #630 from jtsternberg/plugin-search
Cristi Burcă [Fri, 9 Aug 2013 11:49:27 +0000 (04:49 -0700)]
Merge pull request #630 from jtsternberg/plugin-search

Add wordpress api plugin search method.

11 years agoAdd a new test, "should end with a table containing rows:"
jtsternberg [Fri, 9 Aug 2013 06:21:51 +0000 (02:21 -0400)]
Add a new test, "should end with a table containing rows:"

11 years agoAdd a plugin/theme search behat test
jtsternberg [Fri, 9 Aug 2013 03:14:27 +0000 (23:14 -0400)]
Add a plugin/theme search behat test

11 years ago3rd parameter needs to be $assoc_args
jtsternberg [Fri, 9 Aug 2013 03:13:56 +0000 (23:13 -0400)]
3rd parameter needs to be $assoc_args

11 years agoRemove 'search=$key' helper text
jtsternberg [Fri, 9 Aug 2013 03:13:27 +0000 (23:13 -0400)]
Remove 'search=$key' helper text

11 years agoAdd Behat tests for comments (approve/unapprove/exists commands)
mpeshev [Fri, 9 Aug 2013 00:15:49 +0000 (03:15 +0300)]
Add Behat tests for comments (approve/unapprove/exists commands)

11 years agoAdd fallback to verify=false argument which works when certificate issues occur
mpeshev [Fri, 9 Aug 2013 00:13:32 +0000 (03:13 +0300)]
Add fallback to verify=false argument which works when certificate issues occur

11 years agoReturn minimum-stability due to https://github.com/rmccue/Requests/issues/43
mpeshev [Thu, 8 Aug 2013 23:53:17 +0000 (02:53 +0300)]
Return minimum-stability due to https://github.com/rmccue/Requests/issues/43

11 years agoRemove Requests: library/ from composer.json
mpeshev [Thu, 8 Aug 2013 23:46:58 +0000 (02:46 +0300)]
Remove Requests: library/ from composer.json

11 years agoRemove the minimum-stability argument
mpeshev [Thu, 8 Aug 2013 23:43:19 +0000 (02:43 +0300)]
Remove the minimum-stability argument

11 years agoAdd requests support in composer and for core command
mpeshev [Thu, 8 Aug 2013 23:24:14 +0000 (02:24 +0300)]
Add requests support in composer and for core command

11 years agoadd smoke test for 'wp package browse'
scribu [Thu, 8 Aug 2013 18:48:23 +0000 (21:48 +0300)]
add smoke test for 'wp package browse'

11 years agomention where the test files are
scribu [Thu, 8 Aug 2013 18:33:50 +0000 (21:33 +0300)]
mention where the test files are

11 years agoadd more info about Behat
scribu [Thu, 8 Aug 2013 18:31:15 +0000 (21:31 +0300)]
add more info about Behat

11 years agoextract _get_repo_instance() method
scribu [Thu, 8 Aug 2013 18:27:32 +0000 (21:27 +0300)]
extract _get_repo_instance() method

11 years agoconstruct ComposerRepository instance manually
scribu [Thu, 8 Aug 2013 17:31:06 +0000 (20:31 +0300)]
construct ComposerRepository instance manually

hardcode pacakge index URL for now.

also, remove set_composer_json_path() helper

11 years agolook for package index under the 'wp-cli' key
scribu [Thu, 8 Aug 2013 16:11:17 +0000 (19:11 +0300)]
look for package index under the 'wp-cli' key

11 years agowork only with the installer composer.json file
scribu [Thu, 8 Aug 2013 16:06:48 +0000 (19:06 +0300)]
work only with the installer composer.json file

11 years agoextract find_composer_autoloader()
scribu [Thu, 8 Aug 2013 15:57:16 +0000 (18:57 +0300)]
extract find_composer_autoloader()

11 years agomore whitespace fixes
scribu [Thu, 8 Aug 2013 15:47:30 +0000 (18:47 +0300)]
more whitespace fixes

11 years agos/packagist repo/package index/
scribu [Thu, 8 Aug 2013 15:42:50 +0000 (18:42 +0300)]
s/packagist repo/package index/

11 years agowhitespace fixes
scribu [Thu, 8 Aug 2013 15:40:57 +0000 (18:40 +0300)]
whitespace fixes

11 years agouse array_column()
scribu [Thu, 8 Aug 2013 15:40:48 +0000 (18:40 +0300)]
use array_column()

11 years agomerge master
scribu [Thu, 8 Aug 2013 15:36:10 +0000 (18:36 +0300)]
merge master

11 years agothe package index repo belongs in the installer
scribu [Thu, 8 Aug 2013 15:34:57 +0000 (18:34 +0300)]
the package index repo belongs in the installer

11 years agoMerge pull request #636 from wp-cli/synopsis-warnings
Cristi Burcă [Thu, 8 Aug 2013 15:31:59 +0000 (08:31 -0700)]
Merge pull request #636 from wp-cli/synopsis-warnings

Show warnings for invalid tokens in synopsis

11 years agoremove success message from 'wp user list-caps'; fix coding standards; see #637
scribu [Thu, 8 Aug 2013 15:27:10 +0000 (18:27 +0300)]
remove success message from 'wp user list-caps'; fix coding standards; see #637

11 years agobump version to 0.12-alpha
scribu [Thu, 8 Aug 2013 15:23:50 +0000 (18:23 +0300)]
bump version to 0.12-alpha

11 years agoMerge pull request #637 from mpeshev/master
Cristi Burcă [Thu, 8 Aug 2013 15:22:56 +0000 (08:22 -0700)]
Merge pull request #637 from mpeshev/master

wp user functions proposal: add-cap, remove-cap and list-caps

11 years agoCheck for existing file when trying to import CSV
mpeshev [Thu, 8 Aug 2013 14:19:45 +0000 (17:19 +0300)]
Check for existing file when trying to import CSV

11 years agoAdding some checks for non-existing users
mpeshev [Thu, 8 Aug 2013 14:00:38 +0000 (17:00 +0300)]
Adding some checks for non-existing users

11 years agoMerge remote-tracking branch 'upstream/master'
mpeshev [Thu, 8 Aug 2013 13:34:51 +0000 (16:34 +0300)]
Merge remote-tracking branch 'upstream/master'

11 years agobump version to 0.11.1 v0.11.1
scribu [Thu, 8 Aug 2013 13:15:04 +0000 (16:15 +0300)]
bump version to 0.11.1

11 years agoupdate .mailmap
scribu [Thu, 8 Aug 2013 13:14:32 +0000 (16:14 +0300)]
update .mailmap

11 years agoWhoops! parse_error fixed.
jtsternberg [Wed, 7 Aug 2013 19:42:03 +0000 (15:42 -0400)]
Whoops! parse_error fixed.

11 years agomove column escaping down into the table iterator
scribu [Wed, 7 Aug 2013 00:16:50 +0000 (03:16 +0300)]
move column escaping down into the table iterator

see #641

11 years agoMerge pull request #641 from c10b10/master
Cristi Burcă [Wed, 7 Aug 2013 00:09:03 +0000 (17:09 -0700)]
Merge pull request #641 from c10b10/master

Fix search replace reserved column name issue

11 years agobump version to 0.11.1-alpha
scribu [Tue, 6 Aug 2013 23:55:27 +0000 (02:55 +0300)]
bump version to 0.11.1-alpha

11 years agoMerge pull request #634 from wp-cli/fix-634
Cristi Burcă [Tue, 6 Aug 2013 23:54:29 +0000 (16:54 -0700)]
Merge pull request #634 from wp-cli/fix-634

Bug: `wp option update blog_public` produces error

11 years agooption update: use non-strict comparison
scribu [Tue, 6 Aug 2013 23:26:41 +0000 (02:26 +0300)]
option update: use non-strict comparison

11 years agoadd test for #634
scribu [Tue, 6 Aug 2013 23:35:23 +0000 (02:35 +0300)]
add test for #634

11 years agoMerge pull request #645 from wp-cli/fix-645
Cristi Burcă [Tue, 6 Aug 2013 23:17:12 +0000 (16:17 -0700)]
Merge pull request #645 from wp-cli/fix-645

Commands added by plugins aren't listed in `wp help`

11 years agoshow commands defined in plugins when running 'wp help'
scribu [Tue, 6 Aug 2013 22:39:37 +0000 (01:39 +0300)]
show commands defined in plugins when running 'wp help'

11 years agoadd regression test for #645
scribu [Tue, 6 Aug 2013 21:47:19 +0000 (00:47 +0300)]
add regression test for #645

11 years agoFix search replace reserved column name issues.
Alex Ciobica [Tue, 6 Aug 2013 11:33:04 +0000 (14:33 +0300)]
Fix search replace reserved column name issues.

11 years agointroduce WP_CLI_PHP_ARGS environment variable
scribu [Tue, 6 Aug 2013 10:38:35 +0000 (13:38 +0300)]
introduce WP_CLI_PHP_ARGS environment variable

also, remove old Drush code for looking up php.ini files

fixes #631

11 years agoFirst test cases in Behat for capability management
mpeshev [Tue, 6 Aug 2013 01:03:37 +0000 (04:03 +0300)]
First test cases in Behat for capability management

11 years agocolorize update candidates. fixes #638
scribu [Tue, 6 Aug 2013 00:06:02 +0000 (03:06 +0300)]
colorize update candidates. fixes #638

11 years agoListing each cap on a separate line
mpeshev [Mon, 5 Aug 2013 23:22:10 +0000 (02:22 +0300)]
Listing each cap on a separate line

11 years agoAdd capabilities list function for users
mpeshev [Mon, 5 Aug 2013 23:08:18 +0000 (02:08 +0300)]
Add capabilities list function for users

11 years agoshow warning for invalid synopsis parts
scribu [Mon, 5 Aug 2013 23:04:13 +0000 (02:04 +0300)]
show warning for invalid synopsis parts

11 years agoadd array_column() polyfill for PHP<5.5
scribu [Mon, 5 Aug 2013 22:58:33 +0000 (01:58 +0300)]
add array_column() polyfill for PHP<5.5

11 years agoMerge pull request #632 from wp-cli/cpt-post-types-notices-fix
Cristi Burcă [Mon, 5 Aug 2013 22:38:48 +0000 (15:38 -0700)]
Merge pull request #632 from wp-cli/cpt-post-types-notices-fix

Fix notices undefined index post_types when scaffolding CPT

11 years agoMerge pull request #633 from wp-cli/fix-633
Cristi Burcă [Mon, 5 Aug 2013 22:33:07 +0000 (15:33 -0700)]
Merge pull request #633 from wp-cli/fix-633

Bug: `wp plugin install` installs a plugin when it shouldn't

11 years agoAdd/Remove capabilities for users
mpeshev [Mon, 5 Aug 2013 22:19:56 +0000 (01:19 +0300)]
Add/Remove capabilities for users

11 years agouse $p_value instead of $p_name for positional parameters
scribu [Mon, 5 Aug 2013 22:18:32 +0000 (01:18 +0300)]
use $p_value instead of $p_name for positional parameters

11 years agoMove `--post_types` to taxonomy function
jmslbam [Mon, 5 Aug 2013 21:54:35 +0000 (23:54 +0200)]
Move `--post_types` to taxonomy function

Because a CPT doesn't need this arg.