Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to choose whether the inserted ticket reference “resolves” the ticket #6

Open
ejpcmac opened this issue Dec 9, 2023 · 0 comments
Labels
A:C-commit Area: git z commit A:Config Area: Config T:Feature Type: Feature

Comments

@ejpcmac
Copy link
Owner

ejpcmac commented Dec 9, 2023

Rationale

Both GitHub and GitLab allow to reference issues in commits, but also auto-close the related issue when the commit is merged, thanks to some keywords.

Currently, the commit template allows to format arbitrarily the issue number, so one could write Refs: #{{ ticket }} to only create a reference, and something like Closes #{{ ticket }}. to trigger an auto-close. However, this template applies to all commits, so we cannot choose which of the wordings should be used on a per-commit basis.

Concept

Ask the user whether the current commit closes the ticket / issue or just refers to it.

@ejpcmac ejpcmac added A:C-commit Area: git z commit A:Config Area: Config D:Concept and removed enhancement labels Dec 18, 2023
@ejpcmac ejpcmac added the T:Feature Type: Feature label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:C-commit Area: git z commit A:Config Area: Config T:Feature Type: Feature
Projects
Status: Backlog
Development

No branches or pull requests

1 participant