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

Ability to append or prepend commit hashes in change logs #513

Closed
usrme opened this issue May 6, 2022 · 4 comments
Closed

Ability to append or prepend commit hashes in change logs #513

usrme opened this issue May 6, 2022 · 4 comments
Labels
type: feature A new enhacement proposal

Comments

@usrme
Copy link

usrme commented May 6, 2022

Description

An ability to either append or prepend a shortened commit hash to a message.

Possible Solution

Given the change log:

## 0.0.1b5 (2022-05-06)

### Dependencies

- **deps**: update 'requirements.txt'
- **deps**: bump ansible from 5.7.0 to 5.7.1
- **deps-dev**: bump mkdocs-material from 8.2.12 to 8.2.13

### Features

- **#35**: add raw root deployment error JSON as an attachment to the sent event

the feature would provide the user an ability to either prepend commit hashes:

## 0.0.1b5 (2022-05-06)

### Dependencies

- c7e24f2 **deps**: update 'requirements.txt'
- 5c31edf **deps**: bump ansible from 5.7.0 to 5.7.1
- f4df18e **deps-dev**: bump mkdocs-material from 8.2.12 to 8.2.13

### Features

- 514e2b2 **#35**: add raw root deployment error JSON as an attachment to the sent event

or append commit hashes:

## 0.0.1b5 (2022-05-06)

### Dependencies

- **deps**: update 'requirements.txt' c7e24f2 
- **deps**: bump ansible from 5.7.0 to 5.7.1 5c31edf 
- **deps-dev**: bump mkdocs-material from 8.2.12 to 8.2.13 f4df18e 

### Features

- **#35**: add raw root deployment error JSON as an attachment to the sent event 514e2b2

Maybe this is already possible through some sort of customization, but I wasn't able to find what I was looking for. I'm using GitLab behind the scenes, so these plaintext commit hashes would automatically be rendered as links, which would be really useful.

Additional context

No response

Additional context

No response

@usrme usrme added the type: feature A new enhacement proposal label May 6, 2022
@Lee-W
Copy link
Member

Lee-W commented May 22, 2022

Hi @usrme , thanks for the suggestion! I'm good with this feature. Feel free to send us a pull request. Thanks!

@woile
Copy link
Member

woile commented May 22, 2022

Users already have the ability to customize this, see custom-changelog-generator section. In the example you can see the author is being added to the changelog, you also have the has available.
I prefer to keep the changelog lean, but feel free to create a new commitizen, publish and add it to the Third party section in the docs!

@usrme
Copy link
Author

usrme commented May 23, 2022

Thanks for getting back to me! I'll definitely poke around with this once I get some time, but I'll close this for the time being.

@usrme usrme closed this as completed May 23, 2022
@usrme
Copy link
Author

usrme commented Jun 10, 2022

Related to: #396.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new enhacement proposal
Projects
None yet
Development

No branches or pull requests

3 participants