Migrate content to YAML
This commit is contained in:
parent
3d76aa0c3b
commit
9d5a930eab
4550 changed files with 93849 additions and 129734 deletions
77
content/node.190e33fc-0d42-49fd-8f4d-1cfd174b988a.yml
Normal file
77
content/node.190e33fc-0d42-49fd-8f4d-1cfd174b988a.yml
Normal file
|
@ -0,0 +1,77 @@
|
|||
uuid:
|
||||
- value: 190e33fc-0d42-49fd-8f4d-1cfd174b988a
|
||||
langcode:
|
||||
- value: en
|
||||
type:
|
||||
- target_id: daily_email
|
||||
target_type: node_type
|
||||
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
||||
revision_timestamp:
|
||||
- value: '2025-05-11T09:00:36+00:00'
|
||||
revision_uid:
|
||||
- target_type: user
|
||||
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
||||
revision_log: { }
|
||||
status:
|
||||
- value: true
|
||||
uid:
|
||||
- target_type: user
|
||||
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
||||
title:
|
||||
- value: |
|
||||
Tests make upgrades less risky
|
||||
created:
|
||||
- value: '2023-08-07T00:00:00+00:00'
|
||||
changed:
|
||||
- value: '2025-05-11T09:00:36+00:00'
|
||||
promote:
|
||||
- value: false
|
||||
sticky:
|
||||
- value: false
|
||||
default_langcode:
|
||||
- value: true
|
||||
revision_translation_affected:
|
||||
- value: true
|
||||
path:
|
||||
- alias: /daily/2023/08/07/tests-make-upgrades-less-risky
|
||||
langcode: en
|
||||
body:
|
||||
- value: |
|
||||
<p>I recently reviewed a client's Drupal 9 website to gather information about upgrading it to Drupal 10.</p>
|
||||
|
||||
<p>The site has a number of custom modules. They all require changes to make them Drupal 10-compatible - some are a <code>core_version_requirement</code> update, and some are more complex.</p>
|
||||
|
||||
<p>None of these modules have automated tests.</p>
|
||||
|
||||
<p>If they did, I'd be able to run them and see if they pass, make my changes, and rerun the tests to verify they still pass, and the module works as it did previously.</p>
|
||||
|
||||
<p>But I can't.</p>
|
||||
|
||||
<p>I'd need to test each module beforehand to understand what it does manually and again after making the changes.</p>
|
||||
|
||||
<p>This is more time-consuming, riskier, and easier for me to introduce regressions or new bugs.</p>
|
||||
|
||||
<p>Whether it's a major CMS version upgrade, updating a contrib module or refactoring custom code, having a passing test suite you can use and rely on makes updates easier and less risky.</p>
|
||||
|
||||
|
||||
format: full_html
|
||||
processed: |
|
||||
<p>I recently reviewed a client's Drupal 9 website to gather information about upgrading it to Drupal 10.</p>
|
||||
|
||||
<p>The site has a number of custom modules. They all require changes to make them Drupal 10-compatible - some are a <code>core_version_requirement</code> update, and some are more complex.</p>
|
||||
|
||||
<p>None of these modules have automated tests.</p>
|
||||
|
||||
<p>If they did, I'd be able to run them and see if they pass, make my changes, and rerun the tests to verify they still pass, and the module works as it did previously.</p>
|
||||
|
||||
<p>But I can't.</p>
|
||||
|
||||
<p>I'd need to test each module beforehand to understand what it does manually and again after making the changes.</p>
|
||||
|
||||
<p>This is more time-consuming, riskier, and easier for me to introduce regressions or new bugs.</p>
|
||||
|
||||
<p>Whether it's a major CMS version upgrade, updating a contrib module or refactoring custom code, having a passing test suite you can use and rely on makes updates easier and less risky.</p>
|
||||
|
||||
|
||||
summary: null
|
||||
field_daily_email_cta: { }
|
Loading…
Add table
Add a link
Reference in a new issue