-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
changelog is generating incorrect order of commits/Issues #23
Comments
The bug seems to be here If there are commits in order like commit a It will go through I looked around and found this or if you can add commits by |
I will look at this later today. Can you also supply content of your |
I suspcect Should be an easy fix around here. Expect a release later today. |
Is this what your repo looks like?
|
|
Not sure I understand exactly what your repo looks like. What is the output of this?
Looks like you create tags in the release-branch, not in master. I am use to tagging master and I believe that is the correct way of doing it in GIT Flow. Sorry, this was a bit more complex then I thought earlier today =) |
* Also testing tag in feature branch #23
* Also testing tag in feature branch #23
* Also testing tag in feature branch #23
* Also testing tag in feature branch #23
* Also testing tag in feature branch #23
Let me try to run some tests with the gitflow of making tags on master and ill get back to you with results, |
|
After I do the above and use the following settings
Using the following template
I run the task on develop branch i get this
Running On Master
|
Running on master
Setting
As you can see Commit C should be in 1.1 not 1.0 since it was done on the develop branch after the release 1.0 was branched from it. (B and D were done on 1.0 as you can see from previous example) |
Since you already have code which does toRef and fromRef
|
Perhaps it is that easy =) The tags would have to be sorted first, by the commit time of the commits they refer to... |
I think if you sort it by time it can give the same issue since that is what is causing the issue in the first place. if people tag using some fixed convention you can sort them lexicographically and then do the diff b/w each one starting from the bottom since usually people tag using a certain convention. If they don't then they can't use the plugin. It should solve the issue for most of the people who follow conventions. |
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
I may have a fix ready in PR #25. Only problem I can see is that it is about 4 times slower then before. |
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
* To find all commits in all tags.
…ll-tags Traversing commit tree by parents #23
I made a release with this fix. |
Open issue again if not fixed =) |
Thanks! I did not have time to test it yet, when do you plan to release this version to gradle plugins repository I would like to use it at my work |
Here is the scenario:
in Develop I add commit a
Create Release Branch v1.0
add commit b in release Branch
add commit c in Develop Branch (for v1.2)
add commit d in release Brach
Finish Release tag with v.10
merge to master & develop
When I generate the gitChangelog in develop branch
it puts commit b,c,d in v1.0 Whereas commit c has not yet released.
When I do a release 1.2 ( which has commit c and no other commit)
it doesn't even show up in the changlog
The only way commit
c
can be seen in correct place is if i dofromRef=1.0
toRef=1.2
i will see
c
listed under 1.2. Not otherwiseThe text was updated successfully, but these errors were encountered: