You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Zlenko (Jira)" <ji...@apache.org> on 2025/04/03 09:07:00 UTC
[jira] [Comment Edited] (IGNITE-24920) Make a commit hook to verify commit message for Ignite 3 commits
[ https://issues.apache.org/jira/browse/IGNITE-24920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940605#comment-17940605 ]
Ivan Zlenko edited comment on IGNITE-24920 at 4/3/25 9:06 AM:
--------------------------------------------------------------
{quote}Branches should be lower-cased{quote}
Quite against lower cases for branch names. Instead of copy-paste of the ticket code we are introducing manual solution. And our goal to have more automation and not less.
was (Author: JIRAUSER301619):
> Branches should be lower-cased
Quite against lower cases for branch names. Instead of copy-paste of the ticket code we are introducing manual solution. And our goal to have more automation and not less.
> Make a commit hook to verify commit message for Ignite 3 commits
> ----------------------------------------------------------------
>
> Key: IGNITE-24920
> URL: https://issues.apache.org/jira/browse/IGNITE-24920
> Project: Ignite
> Issue Type: Improvement
> Components: build
> Reporter: Ivan Zlenko
> Priority: Major
> Labels: ignite-3
>
> We need to add a commit hook so we can verify that commit message following correct format set in our company.
> The following rules should apply:
> # Commit message should start with a ticket number matching pattern ^IGNITE-[\d]+
> # After commit number, separated only by whitespace, the short commit message should follow. So the complete patter for the first line of the commit message should be: ^IGNITE-[\d]+[\s].*
> # Ideally we should verify that commit number in commit message should be the same as the branch name.
> These rules should apply for main branch and for branches matching ^IGNITE-[\d]+ pattern if it is possible. Or for the main branch only if it is not. In that case incorrect commit message/PR title should prevent the merge into the main branch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)