-
Notifications
You must be signed in to change notification settings - Fork 656
build number is lower than previous #79
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
Conversation
nulltoken
commented
Mar 22, 2014
Shouldn't the number be always higher? |
I see the number is padded on the nuget package :) |
you can debug into this by modifying one of the integration tests here https://github.com/Particular/GitFlowVersion/blob/master/Tests/IntegrationTests.cs |
It seems to happen when we merged the hotfix into master generating the merge commit Particular/NServiceBus@fcf57f3 I think the bug here is that we stop calculating as soon as we find a commit thats both on develop and master which will happen when we do a hotfix? |
I'll take a look at this tomorrow |
I've started to analyze the issue. However, before diving into the code, I'd like to make sure that I correctly understand what the Graph 1
Graph 2
Graph 3
What should be unstable part of
|
Actually, I already dove into the code, but I'd like to get a higher level picture of "what should be expected" rather than "how we're doing it now". |
The awesome @andreasohlund explained me (in a very gentle and polite way) that my graphs were nice... but somewhat irrelevant as they do not conform to GitFlow. #sadtrombone So, I've made a new one (see below). And I hope it's better (@andreasohlund, @SimonCropp ?). I've started to work on unit tests that would render the version for each commit as time goes by. A pull request in GFV should follow soon.
|
Here's the output of
Thoughts? |
Below my own view. Beware, there are huge chances I'm completely off 😬.
|
Ok. I've got a patched version of @andreasohlund @SimonCropp Would this versioning scheme fit you?
|
@andreasohlund As we agreed on the new commit counting scheme, I've transformed this issue into a pull request with a first version. Next step is to fix all the failing tests... Less fun 😉 |
Nice! Ot: How did you transform? (did you use the issue2pr site?) |
I did :) Using the following:
|
@nulltoken this needs a rebase because of #135 |
@andreasohlund @nulltoken I stole the core fix from this PR already in #135 Would be good to bring the tests across. @nulltoken have a look at the acceptance test project, see if you like the format of the test. I also started deleting tests which I felt were not giving us much and we could cover with high level integration tests |
@nulltoken what is the status on this one? (close or rebase?) |
Ping @nulltoken |
@andreasohlund Done. The fix has already been added by @JakeGinnivan. I rebased the tests. |
build number is lower than previous