referencing issue in footer #95

Open
opened 2026-02-17 11:45:17 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @cgatian on GitHub (Apr 3, 2020).

The spec doesnt call out where a referencing issue should be noted. By convention this is typically added to the footer.

Am I missing something? The beta contains an example, but the spec doesn't call it out.

Originally created by @cgatian on GitHub (Apr 3, 2020). The spec doesnt call out where a referencing issue should be noted. By convention this is typically added to the footer. Am I missing something? The beta contains an example, but the spec doesn't call it out.
Author
Owner

@SuperOleg39 commented on GitHub (Jul 17, 2020):

Same question, i write some code for build link to issue from commit, and find to many variants to parsing:

Closes #ISSUE / closes #ISSUE / Closes ISSUE / closes ISSUE / Refs #ISSUE / refs #ISSUE / Refs ISSUE / refs ISSUE / Fix #ISSUE / fix #ISSUE / Fix ISSUE / fix ISSUE / Fixes #ISSUE / fixes #ISSUE / Fixes ISSUE / fixes ISSUE

@SuperOleg39 commented on GitHub (Jul 17, 2020): Same question, i write some code for build link to issue from commit, and find to many variants to parsing: Closes #ISSUE / closes #ISSUE / Closes ISSUE / closes ISSUE / Refs #ISSUE / refs #ISSUE / Refs ISSUE / refs ISSUE / Fix #ISSUE / fix #ISSUE / Fix ISSUE / fix ISSUE / Fixes #ISSUE / fixes #ISSUE / Fixes ISSUE / fixes ISSUE
Author
Owner

@mainrs commented on GitHub (Jul 27, 2020):

As you said, by convention. Nothing holds me back from adding it to the body. It makes sense to include metadata about commits inside of footers. It's a separation of concerns.

The spec just defines how the parts are delimited and what type of content is allowed (e.g. body is everything, terminated with a footer token word plus a separator). What you make out of it is up to you.

@mainrs commented on GitHub (Jul 27, 2020): As you said, by convention. Nothing holds me back from adding it to the body. It makes sense to include metadata about commits inside of footers. It's a separation of concerns. The spec just defines how the parts are delimited and what type of content is allowed (e.g. body is everything, terminated with a footer token word plus a separator). What you make out of it is up to you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/conventionalcommits.org#95