oliverdavies.uk/content/node.21a60676-e555-4b27-9cc6-3fdd14f5d3cb.yml

73 lines
2.9 KiB
YAML

uuid:
- value: 21a60676-e555-4b27-9cc6-3fdd14f5d3cb
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: |
Don't write generic commit messages
created:
- value: '2023-07-28T00: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/07/28/generic-commit-messages
langcode: en
body:
- value: |
<p>This week, I reviewed a client's Drupal 9 website and investigated the steps needed to upgrade to Drupal 10.</p>
<p>Looking at the Git log to see the commits for a module, I see <code>Week 20 development</code> as the latest commit message.</p>
<p>That commit changed 106 files, added 3,453 lines and removed 17 lines, including custom module and theme changes, contrib module updates and library updates.</p>
<p>This should have been several commits, each performing a clear and separate task.</p>
<p>Updating the dependencies should be its own commit, and changes to the custom modules and theme should be separate commits.</p>
<p>Then each commit could have its own clear and descriptive commit message explaining why each change was needed, any issues that were encountered during the change, and any alternative approaches considered.</p>
<p>That would have been more useful for me whilst looking through the logs than <code>Week 20 development</code>.</p>
format: full_html
processed: |
<p>This week, I reviewed a client's Drupal 9 website and investigated the steps needed to upgrade to Drupal 10.</p>
<p>Looking at the Git log to see the commits for a module, I see <code>Week 20 development</code> as the latest commit message.</p>
<p>That commit changed 106 files, added 3,453 lines and removed 17 lines, including custom module and theme changes, contrib module updates and library updates.</p>
<p>This should have been several commits, each performing a clear and separate task.</p>
<p>Updating the dependencies should be its own commit, and changes to the custom modules and theme should be separate commits.</p>
<p>Then each commit could have its own clear and descriptive commit message explaining why each change was needed, any issues that were encountered during the change, and any alternative approaches considered.</p>
<p>That would have been more useful for me whilst looking through the logs than <code>Week 20 development</code>.</p>
summary: null
field_daily_email_cta: { }