Automatically creating patches for Drupal Modules using CI

Automatically creating patches for Drupal Modules using CI

Wednesday, Apr 3, 2019
Anyone who has maintained open-source software has probably felt the burnout or challenge of maintaining software around their day job. Wouldn't it be great if you could use CI to get some merge/pull requests against your projects when the coding standards that you are following are updated? If the answer is yes then look no further. Drupal Coding Standard Patch Generation phpcs-drupal: image: willhallonline/drupal-phpcs:alpine allow_failure: yes script: - phpcs ./ phpcbf-drupal: image: willhallonline/drupal-phpcs:alpine allow_failure: yes script: - set +e - phpcbf . ...

Read more
Automatically creating patches when linting using CI

Automatically creating patches when linting using CI

Thursday, Mar 28, 2019
Fixing code especially when linting can be interesting; honestly. If you are like me and work on a lot of different languages and tools then you likely do not track changes in coding standards particularly well. However, with effective tooling and schedules, you can recieve code that is constantly updated with patches you can simply apply to your code and move forwards. I already run a bunch of PHP, JavaScript and CSS linting tools and also use YAML linters inside Ansible projects. ...

Read more