Changelog missing body and footer information #745
              
                Unanswered
              
          
                  
                    
                      jlanzarotta
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| There's currently no way to add  In order to parse more information from the body/footer, you could implement a custom commitizen, see: https://commitizen-tools.github.io/commitizen/customization/#custom-changelog-generator For example, this cz rule will include the commit body: from commitizen.cz.base import BaseCommitizen
from commitizen import git
class NewCommitizen(BaseCommitizen):
    def changelog_message_builder_hook(self, parsed_message: dict, commit: git.GitCommit) -> dict:
        m = parsed_message["message"]
        body = commit.body
        parsed_message["message"] = f"{m}\n{body}"
        return parsed_messageYou can easily bootstrap a new commitizen rile by using the template: Regards | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Commitizen is a great tool thanks for creating it. I have a question related to creating a changelog. I would like to have the information enter into the "body" and "footer" prompts added to our changelog file. Is there a way to do that?
Thanks,
MyCommitizen.txt
Beta Was this translation helpful? Give feedback.
All reactions