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

Incorrect gitchangelog format #142

Open
krupis opened this issue Dec 15, 2023 · 0 comments
Open

Incorrect gitchangelog format #142

krupis opened this issue Dec 15, 2023 · 0 comments

Comments

@krupis
Copy link

krupis commented Dec 15, 2023

Hello. I have already created an issue here: sarnold#12

The issue explains that I cannot get the right formatting using the gitchangelog on my Gitlab repository.

I would like to get some help regarding formating gitchangelog as shown in the example. I have followed commit structure as in the examples:
image

but gitchangelog does not seem to parse this correctly as it does not seperate the changes and new as shown in the example below:
image

The output when I run git log command:

PS C:\Users\petrikas.lu\Desktop\WORK\gitchangelog-test\my_project> git log
WARNING: terminal is not fully functional
commit badc6a7d81844f05f04ba8827c45dc237515238e (HEAD -> main, tag: v1.0.0, origin/main)
Merge: c2571fc 6cd76d5
Author: Lukas Petrikas <lukas.petrikas@company.lt>
Date:   Fri Dec 15 10:04:53 2023 +0000

    Merge branch 'chg/fix_issue1' into 'main'

    chg: dev: changed something

    See merge request embeded-programmers/gitchangelog-test!2

commit 6cd76d51faeac4608afc7843ad4cf701e5152f77 (origin/chg/fix_issue1, chg/fix_issue1)
Author: Lukas <petrikaslukas@gmail.com>
Date:   Fri Dec 15 12:04:07 2023 +0200

    chg: dev: changed something

commit c2571fc2f35f50c851164fb67a057f565dffa7b5
Merge: f2360be 8aa20c1
Author: Lukas Petrikas <lukas.petrikas@company.lt>
Date:   Fri Dec 15 10:01:11 2023 +0000

    Merge branch 'dev/feature1' into 'main'

    new: dev: Feature1 development has been completed

    See merge request embeded-programmers/gitchangelog-test!1

commit 8aa20c197db9b68d0324069bffd24707f26609ab (origin/dev/feature1, dev/feature1)
Author: Lukas <petrikaslukas@gmail.com>
Date:   Fri Dec 15 11:59:47 2023 +0200

    new: dev: Feature1 development has been completed

:

The output when I run gitchangelog command:

(unreleased)
------------
- Merge branch 'chg/fix_issue1' into 'main' [Lukas Petrikas]

  chg: dev: changed something

  See merge request embeded-programmers/gitchangelog-test!2
- Merge branch 'dev/feature1' into 'main' [Lukas Petrikas]

  new: dev: Feature1 development has been completed

  See merge request embeded-programmers/gitchangelog-test!1

Appreciate any help regarding how to set this up properly. Perhaps I have made some silly mistake that I am not able to see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant