OSDN Git Service
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
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
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
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.
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
scribu [Wed, 20 Mar 2013 16:33:09 +0000 (18:33 +0200)]
update description for media command
scribu [Wed, 20 Mar 2013 16:28:27 +0000 (18:28 +0200)]
set version to 0.9.0
scribu [Tue, 19 Mar 2013 15:33:58 +0000 (17:33 +0200)]
add missing man src for core update-db
scribu [Tue, 19 Mar 2013 15:28:37 +0000 (17:28 +0200)]
remote obsolete manual pages
scribu [Mon, 18 Mar 2013 17:21:04 +0000 (19:21 +0200)]
add link to Governance page
scribu [Fri, 15 Mar 2013 20:40:24 +0000 (22:40 +0200)]
add utility for generating the list of contributors
[ci skip]
scribu [Fri, 15 Mar 2013 03:25:04 +0000 (05:25 +0200)]
fix indentation for commands/media.php
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
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.
scribu [Fri, 15 Mar 2013 01:27:02 +0000 (03:27 +0200)]
fix whitespace in media.php
[ci skip]
scribu [Fri, 15 Mar 2013 01:16:57 +0000 (03:16 +0200)]
'debug' option is always set, but might be false
scribu [Wed, 13 Mar 2013 18:56:35 +0000 (20:56 +0200)]
bump version 0.9.0-beta
[ci skip]
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`
scribu [Wed, 13 Mar 2013 18:07:50 +0000 (20:07 +0200)]
add 'Delete a blog by slug' scenario
scribu [Wed, 13 Mar 2013 17:52:40 +0000 (19:52 +0200)]
fix success message for `blog delete`
scribu [Wed, 13 Mar 2013 17:50:15 +0000 (19:50 +0200)]
update man page for blog delete
[ci skip]
scribu [Wed, 13 Mar 2013 17:47:37 +0000 (19:47 +0200)]
make `blog delete` accept a blog id as well
scribu [Wed, 13 Mar 2013 17:41:48 +0000 (19:41 +0200)]
add --porcelain flag to `blog create`
scribu [Wed, 13 Mar 2013 17:40:45 +0000 (19:40 +0200)]
test deleting a blog
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
scribu [Wed, 13 Mar 2013 16:36:04 +0000 (18:36 +0200)]
first pass at multisite.feature
scribu [Wed, 13 Mar 2013 15:50:06 +0000 (17:50 +0200)]
use create_cmd() utility in download_wordpress_files()
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
scribu [Tue, 12 Mar 2013 18:39:35 +0000 (20:39 +0200)]
add $assoc_args parameter to _run(), for convenience
scribu [Tue, 12 Mar 2013 18:26:00 +0000 (20:26 +0200)]
tests: escape arguments passed in run_sql()
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
Daniel Bachhuber [Tue, 12 Mar 2013 23:11:02 +0000 (16:11 -0700)]
Update man file
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
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
scribu [Tue, 12 Mar 2013 17:24:09 +0000 (19:24 +0200)]
Add note about serialized values in search-replace man page
[ci skip]
scribu [Tue, 12 Mar 2013 13:19:53 +0000 (15:19 +0200)]
run core install-network when WP_MULTISITE=1
scribu [Tue, 12 Mar 2013 12:44:47 +0000 (14:44 +0200)]
add checks for plugin installs
scribu [Tue, 12 Mar 2013 10:44:41 +0000 (12:44 +0200)]
s/gather/gathers/
scribu [Tue, 12 Mar 2013 10:41:22 +0000 (12:41 +0200)]
describe how to generate a man page
Daniel Bachhuber [Tue, 12 Mar 2013 02:50:52 +0000 (19:50 -0700)]
role: Update role list to properly format roles in a table
Daniel Bachhuber [Tue, 12 Mar 2013 02:41:53 +0000 (19:41 -0700)]
role: Correct indentation style
scribu [Tue, 12 Mar 2013 02:04:19 +0000 (04:04 +0200)]
create CONTRIBUTING.md file
Cristi Burcă [Tue, 12 Mar 2013 00:37:05 +0000 (17:37 -0700)]
Merge pull request #312 from wp-cli/independent-help
`wp help` shouldn't require a WP install
scribu [Tue, 12 Mar 2013 00:26:29 +0000 (02:26 +0200)]
test getting help for a third-party command
scribu [Mon, 11 Mar 2013 23:53:49 +0000 (01:53 +0200)]
add test for unknown command
scribu [Mon, 11 Mar 2013 23:52:22 +0000 (01:52 +0200)]
s/existant/existent/
scribu [Mon, 11 Mar 2013 23:12:27 +0000 (01:12 +0200)]
fix E_STRICT error in CommandWithDBObject::create() signature
scribu [Mon, 11 Mar 2013 22:07:35 +0000 (00:07 +0200)]
add more usages to help.feature
scribu [Mon, 11 Mar 2013 21:59:03 +0000 (23:59 +0200)]
add show_help_early()
scribu [Mon, 11 Mar 2013 21:25:25 +0000 (23:25 +0200)]
make get_command_file() a method of RootCommand
It's only used there and it's very unlikely to be needed elsewhere.
scribu [Mon, 11 Mar 2013 18:20:38 +0000 (20:20 +0200)]
add initial test case
scribu [Mon, 11 Mar 2013 17:36:42 +0000 (19:36 +0200)]
minor cleanup in Runner.php
Cristi Burcă [Mon, 11 Mar 2013 16:54:25 +0000 (09:54 -0700)]
Merge pull request #352 from wp-cli/fix-351
don't pretend we're in WP_ADMIN anymore
scribu [Mon, 11 Mar 2013 16:32:38 +0000 (18:32 +0200)]
handle wpdb error ourselves, instead of waiting for dead_db()
scribu [Mon, 11 Mar 2013 11:44:07 +0000 (13:44 +0200)]
remove utils/local-build. closes #353
scribu [Sun, 10 Mar 2013 20:53:16 +0000 (22:53 +0200)]
don't pretend we're in WP_ADMIN anymore
scribu [Mon, 11 Mar 2013 08:19:16 +0000 (10:19 +0200)]
travis: latest = 3.5.1 at the moment
scribu [Mon, 11 Mar 2013 08:16:33 +0000 (10:16 +0200)]
download WP from wordpress.org
Hopefully, it's more reliable than Github's tarball service.
scribu [Mon, 11 Mar 2013 07:51:26 +0000 (09:51 +0200)]
clarify documentation for `role exists`. see #350
Cristi Burcă [Mon, 11 Mar 2013 07:50:30 +0000 (00:50 -0700)]
Merge pull request #350 from leewillis77/role_command
Add new "roles" command.
Lee Willis [Mon, 11 Mar 2013 07:36:57 +0000 (07:36 +0000)]
s/_exists/exists
Lee Willis [Mon, 11 Mar 2013 07:36:31 +0000 (07:36 +0000)]
Make role exists produce no output
Lee Willis [Mon, 11 Mar 2013 07:32:40 +0000 (07:32 +0000)]
Convert indents to be spaces consistently
Lee Willis [Sun, 10 Mar 2013 22:40:04 +0000 (22:40 +0000)]
Regenerate man files
Lee Willis [Sun, 10 Mar 2013 22:39:07 +0000 (22:39 +0000)]
Add role exists comand
Lee Willis [Sun, 10 Mar 2013 22:38:37 +0000 (22:38 +0000)]
role list just lists all roles, no args
Lee Willis [Sun, 10 Mar 2013 22:37:27 +0000 (22:37 +0000)]
Remove old versions of generated man files
scribu [Sun, 10 Mar 2013 22:11:02 +0000 (00:11 +0200)]
WP_Theme was introduced in WP 3.4, but switch_theme() still requires two
parameters until WP 3.5
Lee Willis [Sun, 10 Mar 2013 22:07:43 +0000 (22:07 +0000)]
Correct typo in docs
Lee Willis [Sun, 10 Mar 2013 21:57:13 +0000 (21:57 +0000)]
Doc fix
Lee Willis [Sun, 10 Mar 2013 21:56:38 +0000 (21:56 +0000)]
function rename, and remove unneeded @subcommand declarations
Lee Willis [Sun, 10 Mar 2013 21:55:52 +0000 (21:55 +0000)]
s/roles/role/
scribu [Sun, 10 Mar 2013 21:21:20 +0000 (23:21 +0200)]
travis: use pre-installed Composer binary
scribu [Sun, 10 Mar 2013 21:17:58 +0000 (23:17 +0200)]
travis: add --prefer-source, in the hope of not reaching the Github API limit
scribu [Sun, 10 Mar 2013 20:49:56 +0000 (22:49 +0200)]
tests: switch to previous theme before deleting the current theme
Cristi Burcă [Sun, 10 Mar 2013 20:03:22 +0000 (13:03 -0700)]
Merge pull request #349 from leewillis77/doc_fixes
Correct documentation for capability removal function
Lee Willis [Sat, 9 Mar 2013 20:37:40 +0000 (20:37 +0000)]
Regenerated man page
Lee Willis [Sat, 9 Mar 2013 20:34:40 +0000 (20:34 +0000)]
Generated man files
Lee Willis [Sat, 9 Mar 2013 20:33:55 +0000 (20:33 +0000)]
Add man src files
Lee Willis [Sat, 9 Mar 2013 20:25:58 +0000 (20:25 +0000)]
Remove spaces before function calls
Lee Willis [Sat, 9 Mar 2013 16:18:01 +0000 (16:18 +0000)]
Add new roles command. Implements list, create, delete
Lee Willis [Sat, 9 Mar 2013 15:31:08 +0000 (15:31 +0000)]
Correct documentation for capability removal function
Cristi Burcă [Fri, 8 Mar 2013 22:58:02 +0000 (14:58 -0800)]
Merge pull request #323 from linepress/media
Media command regenerate all or one by ID
jmslbam [Fri, 8 Mar 2013 21:25:26 +0000 (22:25 +0100)]
Removed obsolete check
jmslbam [Fri, 8 Mar 2013 21:22:24 +0000 (22:22 +0100)]
Put back the sprintf
scribu [Fri, 8 Mar 2013 20:44:29 +0000 (22:44 +0200)]
don't allow deletion of the current theme
WSODs are bad, mkay.
jmslbam [Fri, 8 Mar 2013 20:44:14 +0000 (21:44 +0100)]
Removed future wp filesystem
scribu [Fri, 8 Mar 2013 19:50:39 +0000 (21:50 +0200)]
replace 'Given WP install' with 'Given a WP install'
scribu [Fri, 8 Mar 2013 19:50:12 +0000 (21:50 +0200)]
replace variables in expected output, not in current output
scribu [Fri, 8 Mar 2013 19:39:17 +0000 (21:39 +0200)]
fix indentation for feature files
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
scribu [Fri, 8 Mar 2013 19:13:01 +0000 (21:13 +0200)]
add theme updating scenario
scribu [Fri, 8 Mar 2013 14:47:50 +0000 (16:47 +0200)]
use WP_Theme objects, instead of messing with paths
scribu [Fri, 8 Mar 2013 14:48:58 +0000 (16:48 +0200)]
add tests for `plugin status`
scribu [Fri, 8 Mar 2013 13:53:49 +0000 (15:53 +0200)]
switch_theme() doesn't even accept a second parameter
scribu [Fri, 8 Mar 2013 13:45:41 +0000 (15:45 +0200)]
use wp_get_theme() instead of get_theme_data()
scribu [Fri, 8 Mar 2013 13:22:25 +0000 (15:22 +0200)]
always use wp_get_themes()
scribu [Fri, 8 Mar 2013 14:48:47 +0000 (16:48 +0200)]
first pass at theme tests
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
scribu [Fri, 8 Mar 2013 15:58:55 +0000 (17:58 +0200)]
Merge branch 'rewrite_notice'. closes #347