Title: hackwpcli – WP-CLI – WordPress.org

---

#  Tag Archives: hackwpcli

 [  ](https://profiles.wordpress.org/schlessera/) [Alain Schlesser](https://profiles.wordpress.org/schlessera/)
2:43 pm _on_ July 21, 2018     
Tags: [Hack Day ( 4 )](https://make.wordpress.org/cli/tag/hack-day/),
hackwpcli   

# 󠀁[WP-CLI Hack Day Results](https://make.wordpress.org/cli/2018/07/21/wp-cli-hack-day-results/)󠁿

The first WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used 
to do administrative and development tasks in a programmatic way. The project page
is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/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:

 1.  `wp-cli/scaffold-command` – [Add `--woocommerce` flag to `scaffold _s` command](https://github.com/wp-cli/scaffold-command/pull/159)
 2.  `wp-cli/handbook` – [Remove dead link](https://github.com/wp-cli/handbook/pull/238)
 3.  `wp-cli/handbook` – [Fix typo](https://github.com/wp-cli/handbook/pull/239)
 4.  `wp-cli/handbook` – [Fix typo in `code-review.md`](https://github.com/wp-cli/handbook/pull/241)
 5.  `wp-cli/wp-config-transformer` – [Remove colloquialism](https://github.com/wp-cli/wp-config-transformer/pull/6)
 6.  `wp-cli/language-command` – [Add `is-installed` command to check if a given language is installed](https://github.com/wp-cli/language-command/pull/36)
 7.  `wp-cli/handbook` – [Use `example.com`as placeholder](https://github.com/wp-cli/handbook/pull/242)
 8.  `wp-cli/core-command` – [Sanitize database at the end of install to prevent duplicate data](https://github.com/wp-cli/core-command/pull/76)
 9.  `wp-cli/core-command` – [Fix mustache template file path](https://github.com/wp-cli/core-command/pull/77)
 10. `wp-cli/extension-command` – [Fix mustache files paths](https://github.com/wp-cli/extension-command/pull/109)
 11. `wp-cli/scaffold-command` – [Exclude string from escape warning](https://github.com/wp-cli/scaffold-command/pull/162)
 12. `wp-cli/wp-cli` – [Trigger new `'cli_init'` hook during WordPress `'plugins_loaded'` action](https://github.com/wp-cli/wp-cli/pull/4861)

In addition to that, we had another **13 pull requests that were submitted** during
the event but could not yet be merged:

 1.  `wp-cli/extension-command` – [Search: Add plugin or theme’s URL on](https://github.com/wp-cli/extension-command/pull/108)
 2.  `wp-cli/wp-cli` – [Add template for `core-command` to phar](https://github.com/wp-cli/wp-cli/pull/4854)
 3.  `wp-cli/wp-cli` – [Add templates for `extension-command` to phar](https://github.com/wp-cli/wp-cli/pull/4848)
 4.  `wp-cli/scaffold-command` – [Change to `.phpcs.xml.dist` and update rules](https://github.com/wp-cli/scaffold-command/pull/161)
 5.  `wp-cli/db-command` – [Pass `--column-statistics=0` to `mysqldump` command](https://github.com/wp-cli/db-command/pull/105)
 6.  `wp-cli/db-command` – [Add `db size` size formats](https://github.com/wp-cli/db-command/pull/104)
 7.  `wp-cli/entity-command` – [Detect post_content if `STDIN`](https://github.com/wp-cli/entity-command/pull/189)
 8.  `wp-cli/entity-command` – [Delete alert in case of custom post type](https://github.com/wp-cli/entity-command/pull/188)
 9.  `wp-cli/config-command` – [Add `shuffle-salts` command](https://github.com/wp-cli/config-command/pull/62)
 10. `wp-cli/wp-cli-tests` – [Move PHPUnit tests for `behat-tags.php` over](https://github.com/wp-cli/wp-cli-tests/pull/3)
 11. `wp-cli/scaffold-package-command` – [Update `circle.yml` to use its v2 API](https://github.com/wp-cli/scaffold-package-command/pull/177)
 12. `wp-cli/dist-archive-command` – [Update `circle.yml` to use its v2 API](https://github.com/wp-cli/dist-archive-command/pull/25)
 13. `wp-cli/handbook` – [Add documentation on how to troubleshoot](https://github.com/wp-cli/handbook/pull/243)

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.orgWordPress.org The community site where WordPress code is created
and shared by the users. This is where you can download the source code for WordPress
core, plugins and themes as well as the central location for community conversations
and organization. [https://wordpress.org/](https://wordpress.org/) infrastructure
to download CoreCore Core is the set of software required to run WordPress. The 
Core Development Team builds WordPress. 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](https://make.wordpress.org/cli/tag/hackwpcli/)**.
[See all mentions of the hashtag #hackwpcli on Twitter](https://twitter.com/hashtag/hackwpcli).
However, I initially messed up the hashtag and pointed people to the wrong one, 
so [some tweets have been tagged with #hackthecli instead](https://twitter.com/hashtag/hackthecli).
🤦‍♂️

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](https://make.wordpress.org/cli/tag/hack-day/)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2018%2F07%2F21%2Fwp-cli-hack-day-results%2F%23respond&locale=en_US)