Welcome to WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They’re one of the places where the WordPress community comes together to teach one another what theyāve learned throughout the year and share the joy. Learn more. Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/! We appreciate you sharing your time with 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/ https://make.wordpress.org/cli/.
We’d love to help you submit at least one pull request, so we put together this guide to make it as straightforward as possible. We’re here to support you however we can.
When you submit your pull request, add `Related https://github.com/wp-cli/wp-cli/issues/6295` so we can see all pull requests created during the day. We’ll give these some special promotion in the next release notes.
Your table lead for the day is: thelovekesh
A few seasoned WP-CLI contributors are also helping out: Abhishek Sharma, Deepak Kumar
Getting Started
If you normally use WP-CLI on your web host or via Brew, you’re most likely using the Phar executable. The Phar executable is the “built”, single-file version of WP-CLI. It’s compiled from a couple dozen repositories in the WP-CLI GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the āpull requestā where code changes done in branches by contributors can be reviewed and discussed before being merged by the repository owner. https://github.com/ organization, so modifying WP-CLI requires working amongst those repositories.
Before you can work on WP-CLI, you’ll need to first make sure you have PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/preface.php and a functioning MySQLMySQL MySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored. https://www.mysql.com or MariaDB server. Once those prerequisites are met, install the wp-cli-dev development environment to start contributing:
git clone https://github.com/wp-cli/wp-cli-dev
cd wp-cli-dev
composer install
The wp-cli-dev installation process clones all of WP-CLI’s repositories to your local machine. After it’s complete, you’ll be able to make changes in whichever repository you’d like. However, you’ll need to fork the repository and add it as a remote in order to push your feature branch.
All WP-CLI pull requests are expected to have tests. See running and writing tests for a complete introduction.
Suggested Tickets
To help you be successful during Contributor Day, we curated a list of reasonably approachable and actionable issues. Feel free to comment directly on the issue if you plan to work on it. We don’t usually assign issues, so no need to worry about that.
New contributors
- Add reason for skipping regeneration
- Better communicate failure to search-replace JSON-serialized URLs
Seasoned contributors
- Add commands to export and import SQLite databases
- SQLite Compatibility (multiple issues)
- WP_CLI_PHP ignored even when installing from deb not phar
You’re obviously welcome to work on any other issue you’d like too! Contributor Day can be a good opportunity to discuss trickier issues and brainstorm approaches.