commitizen / commitizen/cz-conventional-changelog

Add additional prompt for co-authors

Open
#214 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
793
Forks
444
PR merge metrics
No merged PRs in 30d

Description

Hi, as per my comment on https://github.com/commitizen/cz-cli/issues/678 I have created a [simple wrapper](https://github.com/p-m-p/cz-conventional-changelog-coauthors) around this adapter with an additional (optional) prompt for adding co-authors. If `defaultCoAuthors` config property or `CZ_CO_AUTHORS` environment variable are set then the prompt will be enabled and ask if you would like to add `Co-authored-by:` message trailers used by Github, Gitlab etc to attribute team members when pair/mob programming.

I would be happy to contribute the change/prompt here instead of having a separate adapter if this is something that would be accepted?

Many thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing commitizen adapter and the linked cz-conventional-changelog-coauthors wrapper to compare how the optional prompt and configuration are handled. The work is done when the adapter supports the defaultCoAuthors configuration property and CZ_CO_AUTHORS environment variable, conditionally prompts for co-authors, and produces Co-authored-by: trailers.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.