There are some methods to apply the code from a pull request (PR) to a base branch.
Author: Jesús Amieiro
Git workflows: use Git efficiently
Below, you can find the presentation of the Commit Conf 2023 session (in Spanish).
Using the GitHub CLI to review PR
The GitHub CLI has a lot of interesting functionalities. If you usually review PR in your local machine, it has a command to switch your local branch to the PR branch, so you can start reviewing it in a few seconds.
WordPress and the REST API
Below, you can download the PDF (in Spanish) with my presentation used in the workshop «”WordPress and the REST API: using WordPress as a content management system in external applications” at WordCamp Zaragoza 2023.
Autoupgrade the software installed with brew
If you use brew as package manager on macOS, it is interesting to autoupdate the software installed with this tool.
Translation and localization resources
In this post, I collect some interesting resources to translate and localize software.
WP-CLI intro
Slides from my talk at Coruña WordPress meetup (November 3, 2022).
Executing only some PHPUnit tests
When you are creating new tests with PHPUnit, if you execute all tests, it can take some time to execute. To execute them faster, you can filter the tests you want to execute.
Translating WordPress faster
As Galician GTE, I translate a lot of strings from English to Galician: WordPress core, WordPress.org infrastructure, plugins, themes, … As a bilingual speaker (Galician and Spanish languages), I realized I can translate faster if I use the Spanish translations as starting point, so I develop a CLI tool to translate all WordPress stuff from Spanish to Galician, using the open-source translations created by the Spanish community (thank you, folks). A few months later, I converted this CLI tool in a website, so you can use it without any installation. And, of course, I have released it as open source (AGPL).
How to use PHPCS and PHPCBF with a single WordPress file
PHPCS and PHPCBF are two well-know PHP scripts used in the PHP development to (PHPCS) detect violations of a defined coding standard, and (PHPCBF) to automatically correct coding standard violations.
I usually use both with composer in my WordPress projects, adding them as dependency in the composer.json file.
But sometimes I need to check some individual PHP file without adding PHPCS and PHPCBF as dependency. In this post, I am going to explain how I do this.