OSDN Git Service

wvm/wvm.git
11 years agoMerge pull request #390 from wp-cli/refactor-iterators
Cristi Burcă [Sun, 14 Apr 2013 22:00:50 +0000 (15:00 -0700)]
Merge pull request #390 from wp-cli/refactor-iterators

Move iterators to inner namespace

11 years agoadd smoke test for wp user import-csv
scribu [Sun, 14 Apr 2013 21:57:16 +0000 (00:57 +0300)]
add smoke test for wp user import-csv

11 years agofix class reference in Iterators/Table.php
scribu [Sun, 14 Apr 2013 20:17:07 +0000 (23:17 +0300)]
fix class reference in Iterators/Table.php

11 years agoadd smoke test for search-replace
scribu [Sun, 14 Apr 2013 20:13:56 +0000 (23:13 +0300)]
add smoke test for search-replace

11 years agoon OS X, wc -l inexplicably outputs whitespace before the result
scribu [Sun, 14 Apr 2013 19:18:42 +0000 (22:18 +0300)]
on OS X, wc -l inexplicably outputs whitespace before the result

11 years agomove iterators to separate namespace
scribu [Sun, 14 Apr 2013 19:11:05 +0000 (22:11 +0300)]
move iterators to separate namespace

11 years agoMerge pull request #386 from wp-cli/post-list-format
Cristi Burcă [Sat, 13 Apr 2013 18:52:54 +0000 (11:52 -0700)]
Merge pull request #386 from wp-cli/post-list-format

Support for `--format` when using `wp post list`

11 years agoMerge pull request #387 from twisty/master
Cristi Burcă [Sat, 13 Apr 2013 18:45:21 +0000 (11:45 -0700)]
Merge pull request #387 from twisty/master

Example in man page for 'core is-installed' doesn't work

11 years agoFix example for 'core is-installed'
Tim Brayshaw [Fri, 12 Apr 2013 23:10:15 +0000 (00:10 +0100)]
Fix example for 'core is-installed'

11 years agoSupport for `--format` when using `wp post list`
Daniel Bachhuber [Fri, 12 Apr 2013 17:06:16 +0000 (10:06 -0700)]
Support for `--format` when using `wp post list`

11 years agoRevert a134ce6e46561e9f36ee5efeb33e69ad97b97141
Daniel Bachhuber [Fri, 12 Apr 2013 16:47:39 +0000 (09:47 -0700)]
Revert a134ce6e46561e9f36ee5efeb33e69ad97b97141

See https://github.com/wp-cli/wp-cli/commit/a134ce6e46561e9f36ee5efeb33e69ad97b97141#commitcomment-3001898

11 years agoCorrect file permissions to 755
Daniel Bachhuber [Fri, 12 Apr 2013 15:59:13 +0000 (08:59 -0700)]
Correct file permissions to 755

11 years agobe more explicit about which code is covered by the MIT license
Cristi Burcă [Fri, 12 Apr 2013 14:24:02 +0000 (17:24 +0300)]
be more explicit about which code is covered by the MIT license

11 years agoMerge pull request #379 from wp-cli/ignore-db-defaults
Cristi Burcă [Tue, 9 Apr 2013 18:01:27 +0000 (11:01 -0700)]
Merge pull request #379 from wp-cli/ignore-db-defaults

Fixes #377

11 years agotests: add IF NOT EXISTS to create_db()
scribu [Tue, 9 Apr 2013 17:39:44 +0000 (20:39 +0300)]
tests: add IF NOT EXISTS to create_db()

11 years agouse run_mysql_query() in functional tests too
scribu [Fri, 5 Apr 2013 19:05:15 +0000 (22:05 +0300)]
use run_mysql_query() in functional tests too

11 years agoadd --defaults-file=/dev/null to mysql commands
scribu [Fri, 5 Apr 2013 18:21:20 +0000 (21:21 +0300)]
add --defaults-file=/dev/null to mysql commands

11 years agoMerge pull request #365 from linepress/scaffold-label
Cristi Burcă [Fri, 5 Apr 2013 14:06:10 +0000 (07:06 -0700)]
Merge pull request #365 from linepress/scaffold-label

Scaffold cpt / tax with label

11 years agoRemoved feature tag
jmslbam [Fri, 5 Apr 2013 10:27:45 +0000 (12:27 +0200)]
Removed feature tag

11 years agoReorder tests
jmslbam [Thu, 4 Apr 2013 21:54:12 +0000 (23:54 +0200)]
Reorder tests

11 years agoAdded label scaffold behat test
jmslbam [Thu, 4 Apr 2013 21:51:02 +0000 (23:51 +0200)]
Added label scaffold behat test

11 years agoMerge pull request #374 from wp-cli/tests-db
Cristi Burcă [Thu, 4 Apr 2013 02:16:27 +0000 (19:16 -0700)]
Merge pull request #374 from wp-cli/tests-db

`wp core init-tests` should create the database

11 years agoupdate db man page
scribu [Thu, 4 Apr 2013 02:13:56 +0000 (05:13 +0300)]
update db man page

11 years agocreate tests database if it doesn't exist
scribu [Thu, 4 Apr 2013 01:38:22 +0000 (04:38 +0300)]
create tests database if it doesn't exist

11 years agoremove --str flag from db subcommands
scribu [Thu, 4 Apr 2013 01:29:14 +0000 (04:29 +0300)]
remove --str flag from db subcommands

The --str flag assumes that all the information will be passed as CLI
arguments, but that's no longer the case since we started using the
MYSQL_PWD env variable.

And we might want to start using the PDO extension in the future,
instead of the `mysql` binary.

Also introduce run_mysql_query() utility.

11 years agoMerge pull request #373 from wp-cli/shell-history
Cristi Burcă [Thu, 4 Apr 2013 00:26:18 +0000 (17:26 -0700)]
Merge pull request #373 from wp-cli/shell-history

shell: retrieve history

11 years agocompute the history file path at the beginning
scribu [Wed, 3 Apr 2013 22:54:56 +0000 (01:54 +0300)]
compute the history file path at the beginning

this avoids problems if the user calls chdir()

11 years agoadd man page for `wp shell`
scribu [Wed, 3 Apr 2013 22:41:23 +0000 (01:41 +0300)]
add man page for `wp shell`

11 years agoadd 'history' command
scribu [Wed, 3 Apr 2013 21:10:14 +0000 (00:10 +0300)]
add 'history' command

11 years agobump version to 0.10.0-alpha
scribu [Sat, 30 Mar 2013 17:38:19 +0000 (19:38 +0200)]
bump version to 0.10.0-alpha

11 years agoMerge pull request #362 from x-team/config-path-walk
Cristi Burcă [Sat, 30 Mar 2013 16:22:07 +0000 (09:22 -0700)]
Merge pull request #362 from x-team/config-path-walk

walk up directory tree to find config file

11 years agoadd tests for running commands from a subdirectory
scribu [Tue, 26 Mar 2013 18:17:06 +0000 (20:17 +0200)]
add tests for running commands from a subdirectory

see #362

11 years agodocument --force parameter for wp core download
scribu [Sat, 30 Mar 2013 15:12:19 +0000 (17:12 +0200)]
document --force parameter for wp core download

11 years agomanpages: check for ronn executable before doing anything
scribu [Sat, 30 Mar 2013 15:07:01 +0000 (17:07 +0200)]
manpages: check for ronn executable before doing anything

11 years agoupdate-phar: OSX doesn't ship with md5sum, so use md5 -r
scribu [Sat, 30 Mar 2013 14:59:09 +0000 (16:59 +0200)]
update-phar: OSX doesn't ship with md5sum, so use md5 -r

11 years agoset version to 0.9.1 v0.9.1
scribu [Sat, 30 Mar 2013 14:34:19 +0000 (16:34 +0200)]
set version to 0.9.1

11 years agouse slug as theme name. closes #372
scribu [Sat, 30 Mar 2013 14:05:26 +0000 (16:05 +0200)]
use slug as theme name. closes #372

11 years agohandle edge case finding wp-cli.yml in nested subdirectory installs
Weston Ruter [Sat, 30 Mar 2013 07:53:28 +0000 (00:53 -0700)]
handle edge case finding wp-cli.yml in nested subdirectory installs

See comment by @scribu: https://github.com/wp-cli/wp-cli/pull/362#issuecomment-15506011

11 years agoMerge pull request #366 from linepress/media-tests
Cristi Burcă [Fri, 29 Mar 2013 06:19:04 +0000 (23:19 -0700)]
Merge pull request #366 from linepress/media-tests

Added behat feature for media regenerate

11 years agobump version to 0.9.1-alpha
scribu [Fri, 29 Mar 2013 05:39:04 +0000 (07:39 +0200)]
bump version to 0.9.1-alpha

11 years agoMerge pull request #369 from wp-cli/fix-mysql-warning
Cristi Burcă [Fri, 29 Mar 2013 05:38:06 +0000 (22:38 -0700)]
Merge pull request #369 from wp-cli/fix-mysql-warning

Warning: Using a password on the command line interface can be insecure

11 years agouse MYSQL_PWD env variable, instead of passing the password as a CLI
scribu [Fri, 29 Mar 2013 05:22:53 +0000 (07:22 +0200)]
use MYSQL_PWD env variable, instead of passing the password as a CLI
arg

11 years agoadd some functional tests for `wp db`
scribu [Fri, 29 Mar 2013 05:22:19 +0000 (07:22 +0200)]
add some functional tests for `wp db`

11 years agouse MYSQL_PWD env variable in FeatureContext->run_sql()
scribu [Fri, 29 Mar 2013 02:54:23 +0000 (04:54 +0200)]
use MYSQL_PWD env variable in FeatureContext->run_sql()

11 years agodeb-build: add sudo where appropriate
scribu [Fri, 29 Mar 2013 02:24:31 +0000 (04:24 +0200)]
deb-build: add sudo where appropriate

see #368

11 years agoprevent absolutizing a relative config path when it is empty
Weston Ruter [Thu, 28 Mar 2013 01:06:17 +0000 (18:06 -0700)]
prevent absolutizing a relative config path when it is empty

The result was that the config path was erroneously being set to the root /
This specifically happened when downloading WordPress via `wp core download`

See comment by @scribu: https://github.com/wp-cli/wp-cli/pull/362#issuecomment-15480546

11 years agoOnly preg_replace default $slug
jmslbam [Wed, 27 Mar 2013 20:01:38 +0000 (21:01 +0100)]
Only preg_replace default $slug

11 years agoAdded label to tax and cpt
jmslbam [Wed, 27 Mar 2013 08:20:09 +0000 (09:20 +0100)]
Added label to tax and cpt

11 years agoRegenerate Man
jmslbam [Wed, 27 Mar 2013 08:19:54 +0000 (09:19 +0100)]
Regenerate Man

11 years agofix comment about param-dump
scribu [Wed, 27 Mar 2013 05:15:03 +0000 (07:15 +0200)]
fix comment about param-dump

[ci skip]

11 years agoadd run cmd from subdir step definition
scribu [Tue, 26 Mar 2013 17:48:21 +0000 (19:48 +0200)]
add run cmd from subdir step definition

11 years ago'a custom wp-content directory'
scribu [Tue, 26 Mar 2013 17:42:57 +0000 (19:42 +0200)]
'a custom wp-content directory'

11 years agoAdded behat feature for media regenerate
jmslbam [Mon, 25 Mar 2013 18:28:56 +0000 (19:28 +0100)]
Added behat feature for media regenerate

11 years agoadd scenario for WP in a subdir
scribu [Mon, 25 Mar 2013 15:18:33 +0000 (17:18 +0200)]
add scenario for WP in a subdir

11 years agoadd basic scenarios for wp-cli.yml
scribu [Sun, 24 Mar 2013 04:52:52 +0000 (06:52 +0200)]
add basic scenarios for wp-cli.yml

11 years agoadd 'cwd' key to FeatureContext->_run() result
scribu [Sun, 24 Mar 2013 04:43:32 +0000 (06:43 +0200)]
add 'cwd' key to FeatureContext->_run() result

11 years agosplit single site from multisite install steps
scribu [Sun, 24 Mar 2013 03:53:33 +0000 (05:53 +0200)]
split single site from multisite install steps

11 years agopass cwd directly to proc_open() and revert changes to get_path()
scribu [Sun, 24 Mar 2013 03:41:55 +0000 (05:41 +0200)]
pass cwd directly to proc_open() and revert changes to get_path()

11 years agoprepend './' to relative paths
scribu [Sun, 24 Mar 2013 03:14:28 +0000 (05:14 +0200)]
prepend './' to relative paths

11 years agomake FeatureContext->get_path() return the path unmodified
scribu [Sun, 24 Mar 2013 03:01:36 +0000 (05:01 +0200)]
make FeatureContext->get_path() return the path unmodified

11 years agochange directory, instead of prepending --path
scribu [Sun, 24 Mar 2013 02:52:13 +0000 (04:52 +0200)]
change directory, instead of prepending --path

11 years agouse @BeforeSuite hook to initialize $additional_args
scribu [Sun, 24 Mar 2013 02:45:04 +0000 (04:45 +0200)]
use @BeforeSuite hook to initialize $additional_args

11 years agomove define_custom_wp_content_dir() into step definition, since it's only used once
scribu [Fri, 22 Mar 2013 16:36:40 +0000 (18:36 +0200)]
move define_custom_wp_content_dir() into step definition, since it's only used once

11 years agofix brace style in Feature Context
scribu [Fri, 22 Mar 2013 16:34:45 +0000 (18:34 +0200)]
fix brace style in Feature Context

11 years agosupply a default to the path config based on an upward search for wp-load.php
Weston Ruter [Fri, 22 Mar 2013 08:14:46 +0000 (01:14 -0700)]
supply a default to the path config based on an upward search for wp-load.php

Add a Utils function for find_file_upward

11 years agocontributing: add line about getting feedback
scribu [Fri, 22 Mar 2013 00:38:50 +0000 (02:38 +0200)]
contributing: add line about getting feedback

11 years agowalk up directory tree to find config file
Weston Ruter [Fri, 22 Mar 2013 00:12:00 +0000 (17:12 -0700)]
walk up directory tree to find config file

Allows WP-CLI to be invoked from anywhere within a project.
You are not limited to being in the directory where the wp-cli*.yml file is.
The DOCUMENT_ROOT is then set to the supplied path relative to the config file.

11 years agoconvert output_csv() to write_csv() and make it require a file parameter
scribu [Thu, 21 Mar 2013 05:28:39 +0000 (07:28 +0200)]
convert output_csv() to write_csv() and make it require a file parameter

11 years agoupdate description for media command
scribu [Wed, 20 Mar 2013 16:33:09 +0000 (18:33 +0200)]
update description for media command

11 years agoset version to 0.9.0 v0.9.0
scribu [Wed, 20 Mar 2013 16:28:27 +0000 (18:28 +0200)]
set version to 0.9.0

11 years agoadd missing man src for core update-db
scribu [Tue, 19 Mar 2013 15:33:58 +0000 (17:33 +0200)]
add missing man src for core update-db

11 years agoremote obsolete manual pages
scribu [Tue, 19 Mar 2013 15:28:37 +0000 (17:28 +0200)]
remote obsolete manual pages

11 years agoadd link to Governance page
scribu [Mon, 18 Mar 2013 17:21:04 +0000 (19:21 +0200)]
add link to Governance page

11 years agoadd utility for generating the list of contributors
scribu [Fri, 15 Mar 2013 20:40:24 +0000 (22:40 +0200)]
add utility for generating the list of contributors

[ci skip]

11 years agofix indentation for commands/media.php
scribu [Fri, 15 Mar 2013 03:25:04 +0000 (05:25 +0200)]
fix indentation for commands/media.php

11 years agouse attachment metadata for deleting old images, instead of reading through the exist...
scribu [Fri, 15 Mar 2013 03:23:18 +0000 (05:23 +0200)]
use attachment metadata for deleting old images, instead of reading through the existing files

11 years agomedia regenerate: remove inline props
scribu [Fri, 15 Mar 2013 03:06:00 +0000 (05:06 +0200)]
media regenerate: remove inline props

code has been significantly altered. will give credit in release post.

11 years agofix whitespace in media.php
scribu [Fri, 15 Mar 2013 01:27:02 +0000 (03:27 +0200)]
fix whitespace in media.php

[ci skip]

11 years ago'debug' option is always set, but might be false
scribu [Fri, 15 Mar 2013 01:16:57 +0000 (03:16 +0200)]
'debug' option is always set, but might be false

11 years agobump version 0.9.0-beta
scribu [Wed, 13 Mar 2013 18:56:35 +0000 (20:56 +0200)]
bump version 0.9.0-beta

[ci skip]

11 years agoMerge pull request #359 from wp-cli/test-multisite
Cristi Burcă [Wed, 13 Mar 2013 18:18:39 +0000 (11:18 -0700)]
Merge pull request #359 from wp-cli/test-multisite

Add tests for `wp blog`

11 years agoadd 'Delete a blog by slug' scenario
scribu [Wed, 13 Mar 2013 18:07:50 +0000 (20:07 +0200)]
add 'Delete a blog by slug' scenario

11 years agofix success message for `blog delete`
scribu [Wed, 13 Mar 2013 17:52:40 +0000 (19:52 +0200)]
fix success message for `blog delete`

11 years agoupdate man page for blog delete
scribu [Wed, 13 Mar 2013 17:50:15 +0000 (19:50 +0200)]
update man page for blog delete

[ci skip]

11 years agomake `blog delete` accept a blog id as well
scribu [Wed, 13 Mar 2013 17:47:37 +0000 (19:47 +0200)]
make `blog delete` accept a blog id as well

11 years agoadd --porcelain flag to `blog create`
scribu [Wed, 13 Mar 2013 17:41:48 +0000 (19:41 +0200)]
add --porcelain flag to `blog create`

11 years agotest deleting a blog
scribu [Wed, 13 Mar 2013 17:40:45 +0000 (19:40 +0200)]
test deleting a blog

11 years agodon't test against WP 3.4.2 using PHP 5.4
scribu [Wed, 13 Mar 2013 16:51:23 +0000 (18:51 +0200)]
don't test against WP 3.4.2 using PHP 5.4

It avoids this warning:

Creating default object from empty value in /wp-admin/includes/schema.php on line 922

11 years agofirst pass at multisite.feature
scribu [Wed, 13 Mar 2013 16:36:04 +0000 (18:36 +0200)]
first pass at multisite.feature

11 years agouse create_cmd() utility in download_wordpress_files()
scribu [Wed, 13 Mar 2013 15:50:06 +0000 (17:50 +0200)]
use create_cmd() utility in download_wordpress_files()

11 years agotransparently add additional assoc params to special commands, instead of having...
scribu [Wed, 13 Mar 2013 15:41:35 +0000 (17:41 +0200)]
transparently add additional assoc params to special commands, instead of having dedicated methods

11 years agoadd $assoc_args parameter to _run(), for convenience
scribu [Tue, 12 Mar 2013 18:39:35 +0000 (20:39 +0200)]
add $assoc_args parameter to _run(), for convenience

11 years agotests: escape arguments passed in run_sql()
scribu [Tue, 12 Mar 2013 18:26:00 +0000 (20:26 +0200)]
tests: escape arguments passed in run_sql()

11 years agoMerge pull request #355 from wp-cli/role-list-format
Cristi Burcă [Wed, 13 Mar 2013 11:51:31 +0000 (04:51 -0700)]
Merge pull request #355 from wp-cli/role-list-format

role: Update role list to properly format roles in a table

11 years agoUpdate man file
Daniel Bachhuber [Tue, 12 Mar 2013 23:11:02 +0000 (16:11 -0700)]
Update man file

11 years agoMerge pull request #357 from wp-cli/test-multisite
Cristi Burcă [Tue, 12 Mar 2013 18:24:45 +0000 (11:24 -0700)]
Merge pull request #357 from wp-cli/test-multisite

The WP_MULTISITE env variable isn't used

11 years agoReplace WP_MULTISITE env variable with a 'Given a WP multisite install' step
scribu [Tue, 12 Mar 2013 17:55:45 +0000 (19:55 +0200)]
Replace WP_MULTISITE env variable with a 'Given a WP multisite install' step

11 years agoAdd note about serialized values in search-replace man page
scribu [Tue, 12 Mar 2013 17:24:09 +0000 (19:24 +0200)]
Add note about serialized values in search-replace man page

[ci skip]

11 years agorun core install-network when WP_MULTISITE=1
scribu [Tue, 12 Mar 2013 13:19:53 +0000 (15:19 +0200)]
run core install-network when WP_MULTISITE=1

11 years agoadd checks for plugin installs
scribu [Tue, 12 Mar 2013 12:44:47 +0000 (14:44 +0200)]
add checks for plugin installs