Project

General

Profile

Feature #51537

use git `Prepare Commit Message` hook to add component in commit title

Added by Deepika Upadhyay over 1 year ago. Updated 10 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

git `Prepare Commit Message`[0], add git commit title based on files touched:

will add common component names used based on files touched, while forming a
commit which can be amended if needed or used as is

the workflow should be:
1. developer stages the changes
2. calls git commit -s
3. editor opens to add commit msg, prepopulated with component touched in changes
4. fill the templated commit

[0]https://www.atlassian.com/git/tutorials/git-hooks
blog ref: https://codeburst.io/understanding-git-hooks-in-the-easiest-way-bad9afcbb1b3

History

#1 Updated by Deepika Upadhyay over 1 year ago

  • Tags set to low-hanging-fruit

#2 Updated by Deepika Upadhyay over 1 year ago

  • Tags set to low-hanging-fruit, good-first-issue

#3 Updated by Deepika Upadhyay over 1 year ago

please see `git log` for commonly used component names

#4 Updated by Sebastian Wagner about 1 year ago

also it would be great to have a jenkins job that verifies this!

#5 Updated by Neha Ojha 10 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 44872

#6 Updated by Patrick Donnelly 10 months ago

  • Target version set to v18.0.0

Also available in: Atom PDF