The first WP-CLI Hack Day is over now and it was a great success! It created an entirely new level of interactivity to the process.
I’d like to say “Thanks!” to everyone that participated! ❤️ It was awesome to help people get set up and then see the pull requests rolling in!
Here’s a quick rundown of what we were able to achieve, and the problems we faced.
We had 12 pull requests that were merged during the event:
-
wp-cli/scaffold-command
– Add --woocommerce
flag to scaffold _s
command
-
wp-cli/handbook
– Remove dead link
-
wp-cli/handbook
– Fix typo
-
wp-cli/handbook
– Fix typo in code-review.md
-
wp-cli/wp-config-transformer
– Remove colloquialism
-
wp-cli/language-command
– Add is-installed
command to check if a given language is installed
-
wp-cli/handbook
– Use example.com
as placeholder
-
wp-cli/core-command
– Sanitize database at the end of install to prevent duplicate data
-
wp-cli/core-command
– Fix mustache template file path
-
wp-cli/extension-command
– Fix mustache files paths
-
wp-cli/scaffold-command
– Exclude string from escape warning
-
wp-cli/wp-cli
– Trigger new 'cli_init'
hook during WordPress 'plugins_loaded'
action
In addition to that, we had another 13 pull requests that were submitted during the event but could not yet be merged:
-
wp-cli/extension-command
– Search: Add plugin or theme’s URL on
-
wp-cli/wp-cli
– Add template for core-command
to phar
-
wp-cli/wp-cli
– Add templates for extension-command
to phar
-
wp-cli/scaffold-command
– Change to .phpcs.xml.dist
and update rules
-
wp-cli/db-command
– Pass --column-statistics=0
to mysqldump
command
-
wp-cli/db-command
– Add db size
size formats
-
wp-cli/entity-command
– Detect post_content if STDIN
-
wp-cli/entity-command
– Delete alert in case of custom post type
-
wp-cli/config-command
– Add shuffle-salts
command
-
wp-cli/wp-cli-tests
– Move PHPUnit tests for behat-tags.php
over
-
wp-cli/scaffold-package-command
– Update circle.yml
to use its v2 API
-
wp-cli/dist-archive-command
– Update circle.yml
to use its v2 API
-
wp-cli/handbook
– Add documentation on how to troubleshoot
The main reason why most of these were not merged during the event was that we had trouble with our automated tests. One problem was that many tests that depended on the WordPress.org infrastructure to download Core files, plugins or themes had frequent timeouts. This seems to be caused by a recent move of the entire infrastructure, which made access to the content over CDN very spotty. Another problem was that Travis CI was acting up and was often stuck in “pending” state for prolonged time periods.
During the last two hours of the event, we did a video chat over Zoom with all participants that wanted to join. We peaked at 13 participants to that video chat. It allowed for people to make a more personal connection, which added another dimension to the act of contributing.
There was an official hashtag for the event: #hackwpcli. See all mentions of the hashtag #hackwpcli on Twitter. However, I initially messed up the hashtag and pointed people to the wrong one, so some tweets have been tagged with #hackthecli instead. 🤦♂️
We had an ambitious goal of merging 20 pull requests during the event. While we were not able to achieve that number of merged pull requests, I’d consider the event a complete success nevertheless, considering the amount of pull requests that were just waiting to get through the blocking tests to get merged.
The event was also an experiment, to see whether a more direct, interactive form of contribution would attract more contributors. I think it did succeed in doing so, and I think it was a positive experience for the participants.
👉 I would love for people to provide feedback about the event in the comments below. 👈
I’d like to evaluate how well this type of contribution event was received and this will then shape a possible next iteration, where we’ll hopefully get even Travis & Co. to collaborate.
#hack-day