OSDN Git Service

wvm/wvm.git
11 years agodon't allow deletion of the current theme
scribu [Fri, 8 Mar 2013 20:44:29 +0000 (22:44 +0200)]
don't allow deletion of the current theme

WSODs are bad, mkay.

11 years agoreplace 'Given WP install' with 'Given a WP install'
scribu [Fri, 8 Mar 2013 19:50:39 +0000 (21:50 +0200)]
replace 'Given WP install' with 'Given a WP install'

11 years agoreplace variables in expected output, not in current output
scribu [Fri, 8 Mar 2013 19:50:12 +0000 (21:50 +0200)]
replace variables in expected output, not in current output

11 years agofix indentation for feature files
scribu [Fri, 8 Mar 2013 19:39:17 +0000 (21:39 +0200)]
fix indentation for feature files

11 years agoMerge pull request #348 from wp-cli/fix-338
Cristi Burcă [Fri, 8 Mar 2013 19:14:37 +0000 (11:14 -0800)]
Merge pull request #348 from wp-cli/fix-338

Make use of WP_Theme

11 years agoadd theme updating scenario
scribu [Fri, 8 Mar 2013 19:13:01 +0000 (21:13 +0200)]
add theme updating scenario

11 years agouse WP_Theme objects, instead of messing with paths
scribu [Fri, 8 Mar 2013 14:47:50 +0000 (16:47 +0200)]
use WP_Theme objects, instead of messing with paths

11 years agoadd tests for `plugin status`
scribu [Fri, 8 Mar 2013 14:48:58 +0000 (16:48 +0200)]
add tests for `plugin status`

11 years agoswitch_theme() doesn't even accept a second parameter
scribu [Fri, 8 Mar 2013 13:53:49 +0000 (15:53 +0200)]
switch_theme() doesn't even accept a second parameter

11 years agouse wp_get_theme() instead of get_theme_data()
scribu [Fri, 8 Mar 2013 13:45:41 +0000 (15:45 +0200)]
use wp_get_theme() instead of get_theme_data()

11 years agoalways use wp_get_themes()
scribu [Fri, 8 Mar 2013 13:22:25 +0000 (15:22 +0200)]
always use wp_get_themes()

11 years agofirst pass at theme tests
scribu [Fri, 8 Mar 2013 14:48:47 +0000 (16:48 +0200)]
first pass at theme tests

11 years agobehat: unify and standardize output testing steps:
scribu [Fri, 8 Mar 2013 19:07:42 +0000 (21:07 +0200)]
behat: unify and standardize output testing steps:

* always run replace_variables() and restrict variable names
* add 'not contain' option

11 years agoMerge branch 'rewrite_notice'. closes #347
scribu [Fri, 8 Mar 2013 15:58:55 +0000 (17:58 +0200)]
Merge branch 'rewrite_notice'. closes #347

11 years agomove create_cmd() utility out of DB_Command
scribu [Fri, 8 Mar 2013 15:55:36 +0000 (17:55 +0200)]
move create_cmd() utility out of DB_Command

11 years ago.
Lee Willis [Fri, 8 Mar 2013 15:28:00 +0000 (15:28 +0000)]
.

11 years agoClean up logic
Lee Willis [Fri, 8 Mar 2013 15:17:30 +0000 (15:17 +0000)]
Clean up logic

11 years agoShow messages as warnings, and change JSON output to empty array, not string
Lee Willis [Fri, 8 Mar 2013 15:02:52 +0000 (15:02 +0000)]
Show messages as warnings, and change JSON output to empty array, not string

11 years agoAvoid warning if no rewrite rules exist
Lee Willis [Fri, 8 Mar 2013 11:15:08 +0000 (11:15 +0000)]
Avoid warning if no rewrite rules exist

11 years agomake `core upgrade` an alias of `core update`
scribu [Fri, 8 Mar 2013 13:14:28 +0000 (15:14 +0200)]
make `core upgrade` an alias of `core update`

11 years agoWhen populate_network() returns a wildcard DNS error, treat it as a warning, not...
Andrew Nacin [Thu, 7 Mar 2013 15:30:45 +0000 (10:30 -0500)]
When populate_network() returns a wildcard DNS error, treat it as a warning, not an error.

See http://core.trac.wordpress.org/ticket/23709.

11 years agoupdate-phar: make wp-cli revision linkable
scribu [Wed, 6 Mar 2013 13:21:46 +0000 (15:21 +0200)]
update-phar: make wp-cli revision linkable

11 years agoplugin init-tests: always overwrite existing files
scribu [Mon, 4 Mar 2013 22:43:21 +0000 (00:43 +0200)]
plugin init-tests: always overwrite existing files

the assumption is that the plugin will already be under version control

11 years agodon't need to place the plugin directory inside the plugins folder anymore
scribu [Mon, 4 Mar 2013 22:33:08 +0000 (00:33 +0200)]
don't need to place the plugin directory inside the plugins folder anymore

see http://core.trac.wordpress.org/ticket/23690

11 years agouse tests_add_filter() in bootstrap.mustache
scribu [Mon, 4 Mar 2013 18:48:19 +0000 (20:48 +0200)]
use tests_add_filter() in bootstrap.mustache

see https://core.trac.wordpress.org/ticket/23690

11 years agoMerge pull request #343 from sebastiaandegeus/master
Cristi Burcă [Mon, 4 Mar 2013 16:19:06 +0000 (08:19 -0800)]
Merge pull request #343 from sebastiaandegeus/master

Small fixes for scaffold post-type

11 years agoadd utils/test-phar-download. see #340
scribu [Mon, 4 Mar 2013 15:57:06 +0000 (17:57 +0200)]
add utils/test-phar-download. see #340

11 years agoMerge pull request #344 from wp-cli/fix-phar
Cristi Burcă [Mon, 4 Mar 2013 15:58:49 +0000 (07:58 -0800)]
Merge pull request #344 from wp-cli/fix-phar

Phar archive broken

11 years agoadd missing Composer files to phar archive
scribu [Mon, 4 Mar 2013 15:38:01 +0000 (17:38 +0200)]
add missing Composer files to phar archive

11 years agoadd smoke test to utils/update-phar
scribu [Mon, 4 Mar 2013 15:35:35 +0000 (17:35 +0200)]
add smoke test to utils/update-phar

11 years agofixed escaped quotes that caused wrong urls on output
Sebastiaan de Geus [Mon, 4 Mar 2013 14:16:51 +0000 (15:16 +0100)]
fixed escaped quotes that caused wrong urls on output

11 years agoset default value for query_var to true, same as the codex
Sebastiaan de Geus [Mon, 4 Mar 2013 14:06:33 +0000 (15:06 +0100)]
set default value for query_var to true, same as the codex

11 years agoMerge pull request #340 from wp-cli/phar-checksum
Cristi Burcă [Mon, 4 Mar 2013 14:06:55 +0000 (06:06 -0800)]
Merge pull request #340 from wp-cli/phar-checksum

Publish checksum for Phar archive

11 years agomake local-build embedable into .bashrc again
scribu [Sun, 3 Mar 2013 21:44:16 +0000 (23:44 +0200)]
make local-build embedable into .bashrc again

see #342

11 years agoinstall composer dependencies in local-build too
scribu [Sun, 3 Mar 2013 21:26:24 +0000 (23:26 +0200)]
install composer dependencies in local-build too

see #342

11 years agomake update-phar generate a checksum
scribu [Sat, 2 Mar 2013 18:00:41 +0000 (20:00 +0200)]
make update-phar generate a checksum

[ci skip]

11 years agoMerge pull request #341 from wp-cli/fix-composer
Cristi Burcă [Sun, 3 Mar 2013 00:46:00 +0000 (16:46 -0800)]
Merge pull request #341 from wp-cli/fix-composer

require_once(Symfony/Component/Yaml/autoloader.php): failed to open stream

11 years agodon't check if the cache directory exists
scribu [Sun, 3 Mar 2013 00:39:22 +0000 (02:39 +0200)]
don't check if the cache directory exists

`core download` takes care of it

11 years agoremove unnecessary loading of PHPUnit/Autoload.php
scribu [Sun, 3 Mar 2013 00:28:38 +0000 (02:28 +0200)]
remove unnecessary loading of PHPUnit/Autoload.php

11 years agoleave minimum stability to stable
scribu [Sat, 2 Mar 2013 23:04:03 +0000 (01:04 +0200)]
leave minimum stability to stable

11 years agoshow error message when vendor directory is missing
scribu [Fri, 1 Mar 2013 11:21:39 +0000 (13:21 +0200)]
show error message when vendor directory is missing

see #336

11 years agoMerge pull request #336 from wp-cli/no-submodules
Cristi Burcă [Thu, 28 Feb 2013 20:20:51 +0000 (12:20 -0800)]
Merge pull request #336 from wp-cli/no-submodules

Replace git submodules with Composer dependencies

11 years agoupdate make-phar.php to use vendor dir
scribu [Thu, 28 Feb 2013 19:54:55 +0000 (21:54 +0200)]
update make-phar.php to use vendor dir

11 years agoremove loading from submodules
scribu [Thu, 28 Feb 2013 19:38:57 +0000 (21:38 +0200)]
remove loading from submodules

11 years agoinstall and use Composer in utils/dev-build
scribu [Thu, 28 Feb 2013 19:25:07 +0000 (21:25 +0200)]
install and use Composer in utils/dev-build

11 years agotravis: no more submodules to initialize
scribu [Thu, 28 Feb 2013 18:58:24 +0000 (20:58 +0200)]
travis: no more submodules to initialize

11 years agoadd composer.lock
scribu [Thu, 28 Feb 2013 18:38:01 +0000 (20:38 +0200)]
add composer.lock

11 years agodelete submodules
scribu [Thu, 28 Feb 2013 18:34:21 +0000 (20:34 +0200)]
delete submodules

11 years agoMerge pull request #334 from sebastiaandegeus/master
Cristi Burcă [Thu, 28 Feb 2013 10:03:28 +0000 (02:03 -0800)]
Merge pull request #334 from sebastiaandegeus/master

dbpass as an optional argument for wp core config command

11 years agoregenerated the man page for core config command
Sebastiaan de Geus [Thu, 28 Feb 2013 09:44:43 +0000 (10:44 +0100)]
regenerated the man page for core config command

11 years agomade dbpass parameter optional for core config command
Sebastiaan de Geus [Thu, 28 Feb 2013 09:42:31 +0000 (10:42 +0100)]
made dbpass parameter optional for core config command

11 years agouse `wp core version` instead of `wp post list` to check if the install
scribu [Wed, 27 Feb 2013 18:39:24 +0000 (20:39 +0200)]
use `wp core version` instead of `wp post list` to check if the install
was successful.

11 years agoshorten synopsis for boolean parameters
scribu [Wed, 27 Feb 2013 11:00:35 +0000 (13:00 +0200)]
shorten synopsis for boolean parameters

11 years agotravis: add --no-interaction flag to Composer call
scribu [Wed, 27 Feb 2013 10:52:27 +0000 (12:52 +0200)]
travis: add --no-interaction flag to Composer call

Should at least make stalled builds fail faster.

11 years agoMerge pull request #327 from wp-cli/fix-core-download
Cristi Burcă [Wed, 27 Feb 2013 10:34:31 +0000 (02:34 -0800)]
Merge pull request #327 from wp-cli/fix-core-download

Fix path handling in `core download`

11 years agoPrepend `--path`, instead of appending it, so that piping works.
scribu [Wed, 27 Feb 2013 10:15:22 +0000 (12:15 +0200)]
Prepend `--path`, instead of appending it, so that piping works.

11 years agoIgnore `wp ` prefix straigth from step definition.
scribu [Wed, 27 Feb 2013 10:09:39 +0000 (12:09 +0200)]
Ignore `wp ` prefix straigth from step definition.

This makes it clearer that running arbitrary commands is not supported.

11 years agoMerge pull request #330 from erwanlr/db-create-syntax-error
Cristi Burcă [Wed, 27 Feb 2013 09:49:33 +0000 (01:49 -0800)]
Merge pull request #330 from erwanlr/db-create-syntax-error

db create / drop / reset syntax error

11 years agofix coding standards. see #329
scribu [Wed, 27 Feb 2013 09:45:26 +0000 (11:45 +0200)]
fix coding standards. see #329

11 years agoMerge pull request #329 from erwanlr/master
Cristi Burcă [Wed, 27 Feb 2013 09:38:47 +0000 (01:38 -0800)]
Merge pull request #329 from erwanlr/master

Fixes set_wp_root

11 years agoFixes #321 db create / drop / reset syntax error with some dbnames (like wordpress...
erwanlr [Wed, 27 Feb 2013 09:22:52 +0000 (10:22 +0100)]
Fixes #321 db create / drop / reset syntax error with some dbnames (like wordpress-3.5.1)

11 years ago'/' missing
erwanlr [Wed, 27 Feb 2013 09:15:22 +0000 (10:15 +0100)]
'/' missing

11 years agoFixes Runner::set_wp_root to handle absolute & relative path
erwanlr [Tue, 26 Feb 2013 21:55:40 +0000 (22:55 +0100)]
Fixes Runner::set_wp_root to handle absolute & relative path

11 years agocreate ABSPATH if it doesn't exist. props @erwanlr
scribu [Tue, 26 Feb 2013 21:38:53 +0000 (23:38 +0200)]
create ABSPATH if it doesn't exist. props @erwanlr

11 years agouse ABSPATH in `core download`, instead of '.'
scribu [Tue, 26 Feb 2013 21:06:37 +0000 (23:06 +0200)]
use ABSPATH in `core download`, instead of '.'

11 years agoadd core download check in 'Empty dir' scenario
scribu [Tue, 26 Feb 2013 21:03:34 +0000 (23:03 +0200)]
add core download check in 'Empty dir' scenario

11 years agorely on --path, instead of using chdir()
scribu [Tue, 26 Feb 2013 21:03:16 +0000 (23:03 +0200)]
rely on --path, instead of using chdir()

11 years agoMerge pull request #324 from taupecat/master
Cristi Burcă [Tue, 26 Feb 2013 09:23:36 +0000 (01:23 -0800)]
Merge pull request #324 from taupecat/master

Tiny correction: colorize is misspelled in php/config-spec.php

11 years agoUpdate php/config-spec.php
Tracy Rotton [Tue, 26 Feb 2013 02:53:46 +0000 (21:53 -0500)]
Update php/config-spec.php

Fixed the spelling of "colorize."

11 years agoadd Build Status image to readme
scribu [Mon, 25 Feb 2013 18:30:59 +0000 (20:30 +0200)]
add Build Status image to readme

11 years ago'Db doesn't exist scenarion: make check less strict, to avoid issues with encodings
scribu [Mon, 25 Feb 2013 18:05:41 +0000 (20:05 +0200)]
'Db doesn't exist scenarion: make check less strict, to avoid issues with encodings

11 years agoremove `wp theme status twentytwelve` check
scribu [Mon, 25 Feb 2013 18:01:28 +0000 (20:01 +0200)]
remove `wp theme status twentytwelve` check

Twentytwelve is not available in WP 3.4.

11 years agomake wp core install check less strict, to avoid error from sendmail
scribu [Mon, 25 Feb 2013 17:32:30 +0000 (19:32 +0200)]
make wp core install check less strict, to avoid error from sendmail

11 years agoMerge pull request #319 from wp-cli/travis
Cristi Burcă [Mon, 25 Feb 2013 17:25:08 +0000 (09:25 -0800)]
Merge pull request #319 from wp-cli/travis

Set up Travis CI integration

11 years agomark SynopsisParser::gen_patterns() as static
scribu [Mon, 25 Feb 2013 17:13:03 +0000 (19:13 +0200)]
mark SynopsisParser::gen_patterns() as static

11 years agodon't run Behat tests if unit tests fail
scribu [Mon, 25 Feb 2013 17:02:48 +0000 (19:02 +0200)]
don't run Behat tests if unit tests fail

11 years agofirst pass at .travis.yml file
scribu [Mon, 25 Feb 2013 16:57:48 +0000 (18:57 +0200)]
first pass at .travis.yml file

11 years agorunning the tests: fix example mysql command
scribu [Mon, 25 Feb 2013 16:55:16 +0000 (18:55 +0200)]
running the tests: fix example mysql command

11 years agore-order lines in .travis.yml template to make them more readable
scribu [Mon, 25 Feb 2013 16:52:28 +0000 (18:52 +0200)]
re-order lines in .travis.yml template to make them more readable

11 years agofix version check for revision.php and post-formats.php
scribu [Mon, 25 Feb 2013 16:22:49 +0000 (18:22 +0200)]
fix version check for revision.php and post-formats.php

* 3.6-alpha, not 3.5-alpha
* 23451, because $wp_version wasn't updated with r23466

fixes #322. see #318

11 years agoMerge pull request #318 from ocean90/fix-wp-settings-cli
Cristi Burcă [Sun, 24 Feb 2013 20:36:45 +0000 (12:36 -0800)]
Merge pull request #318 from ocean90/fix-wp-settings-cli

Fatal error, because of new files added in WP#23466

11 years agoFix fatal error, because of new files, see https://core.trac.wordpress.org/changeset...
Dominik Schilling [Sun, 24 Feb 2013 14:05:23 +0000 (15:05 +0100)]
Fix fatal error, because of new files, see https://core.trac.wordpress.org/changeset/23466

11 years agomake shell readline script more readable, using a heredoc
scribu [Fri, 22 Feb 2013 07:57:54 +0000 (09:57 +0200)]
make shell readline script more readable, using a heredoc

11 years agoquiet down svn checkout in travis script. see #270
scribu [Thu, 21 Feb 2013 12:12:24 +0000 (14:12 +0200)]
quiet down svn checkout in travis script. see #270

11 years agoadd utils/update-phar
scribu [Thu, 21 Feb 2013 07:44:20 +0000 (09:44 +0200)]
add utils/update-phar

11 years agoremove P2P specific <filter> from phpunit.xml
scribu [Thu, 21 Feb 2013 06:43:01 +0000 (08:43 +0200)]
remove P2P specific <filter> from phpunit.xml

see #270

11 years agoavoid using the -l option for man, which doesn't exist on OSX
scribu [Tue, 19 Feb 2013 20:43:39 +0000 (22:43 +0200)]
avoid using the -l option for man, which doesn't exist on OSX

fixes #311

11 years agobump version to 0.9.0-alpha2
scribu [Tue, 19 Feb 2013 00:49:55 +0000 (02:49 +0200)]
bump version to 0.9.0-alpha2

11 years agoMerge pull request #309 from wp-cli/core-init-tests
Cristi Burcă [Tue, 19 Feb 2013 00:40:19 +0000 (16:40 -0800)]
Merge pull request #309 from wp-cli/core-init-tests

Initialize official testing suite

11 years agodocument path parameter and add example
scribu [Mon, 18 Feb 2013 23:58:44 +0000 (01:58 +0200)]
document path parameter and add example

11 years agoadd manpage
scribu [Mon, 18 Feb 2013 23:50:26 +0000 (01:50 +0200)]
add manpage

11 years agoadd optional path parameter
scribu [Mon, 18 Feb 2013 23:45:45 +0000 (01:45 +0200)]
add optional path parameter

11 years agoadd `wp core init-tests`
scribu [Mon, 18 Feb 2013 11:52:23 +0000 (13:52 +0200)]
add `wp core init-tests`

11 years agoMerge pull request #270 from wp-cli/plugin-tests
Cristi Burcă [Mon, 18 Feb 2013 23:34:00 +0000 (15:34 -0800)]
Merge pull request #270 from wp-cli/plugin-tests

Generate all files needed for running plugin unit tests

11 years agoadd manpage for `wp scaffold plugin-tests`
scribu [Mon, 18 Feb 2013 23:10:11 +0000 (01:10 +0200)]
add manpage for `wp scaffold plugin-tests`

11 years agorevert to using the official unit testing suite
scribu [Mon, 18 Feb 2013 13:03:13 +0000 (15:03 +0200)]
revert to using the official unit testing suite

11 years agoadd test-sample.php file
scribu [Mon, 18 Feb 2013 10:50:35 +0000 (12:50 +0200)]
add test-sample.php file

11 years agotransform add_testing_files() method into a proper subcommand
scribu [Sun, 17 Feb 2013 20:21:46 +0000 (22:21 +0200)]
transform add_testing_files() method into a proper subcommand

11 years agoshow plugin dir, instead of path on success message, since there's more
scribu [Thu, 7 Feb 2013 02:01:14 +0000 (04:01 +0200)]
show plugin dir, instead of path on success message, since there's more
than one generated file now

11 years agoadd files for plugin unit testing
scribu [Thu, 7 Feb 2013 01:46:14 +0000 (03:46 +0200)]
add files for plugin unit testing