Add initial past-tense verb to generated git commit message

Created on 3 February 2015, over 9 years ago
Updated 8 April 2024, 3 months ago

Problem/Motivation

Drupal.org currently generates a commit message for issues. The format mostly follows https://www.drupal.org/node/52287 β†’ in that it uses

Issue #[issue number] by [comma-separated usernames]: [Short summary of the change]

The summary is drawn from the issue title. This works for the most part, but it doesn't include a past-tense verb at the beginning of the summary.

Proposed resolution

Based on the issue type, we can automatically insert an initial past-tense verb in the generated summary.

If the first word in the issue title has an initial cap, and the word is not camelcase or all caps, we can lower the first letter.

Remaining tasks

Create patch.

User interface changes

Change the the generated commit message on the issue page.

API changes

None.

✨ Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States socketwench

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    I also do not like this option. Automatically adding words could result in nonsense sentences.

    -1

  • Status changed to Closed: won't fix 3 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    Of the 3 comments here in the last 9 years, one is issue management and the other two do not support this feature. Therefor, I think this can be closed as won't fix.

    If anyone disagrees, re-open the issue and add a comment.

Production build 0.69.0 2024