-
Notifications
You must be signed in to change notification settings - Fork 654
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
Add unit test to investigate and hopefully verify #2454 #2847
Conversation
details can be found in in GitTools#2454
The tests are successful? |
Seems like it, yes. I made a few adjustments because apparently some things changed since the original discussion. Disregarding the few comments, the test may actually validate that #2454 was unintentionally fixed in the meantime, but I would not hold my breath on it just yet. |
The successful test may be a false positive as discovered in #2830 (comment). |
Can you please rebase against |
I can confirm that the test still passes locally, even with the current changes from I am still unsure if a hotfix branch should have a When that is clarified I would remove the corresponding comments from the unit test, and the test would seem to confirm that at least one scenario of #2454 appears to work now. Of course that only goes for |
Curiously, when trying out 5.7.0 with one of our internal library repositories, the hotfix branch does in fact get a This adds another datapoint and confirms that in at least one of our productive scenarios, #2454 now seems to be fixed. |
Probably an unrelated issue, but the same package that locally works perfectly fine now still fails to properly account for the hotfix on our buildserver (TeamCity). Locally it versions to |
Additional scenarios have been added and both new tests now fail. In both modes the second hotfix is ignored for versioning purposes. |
Sorry for not having time to investigate or fix this. If you figure out a solution, feel free to update the PR. |
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions. |
As the accompanying issue #2454 is closed with a workaround, is this PR relevant anymore? |
9801764
to
b7a7608
Compare
Closes in favor of #3445 |
Description
Added a unit test for investigating branch versioning issues, as prompted by @asbjornu in the discussion of #2454.
Related Issue
#2454
Motivation and Context
The test was initially created to reproduce #2454. The test failed when it was initially created, but passes on current
main
(with some modifications to the version in the issue discussion). There are a few details that I am still not completely clear on:beta
prerelease tag? In the new test they don't, but according to this line in another test maybe they should?Config
used?Disregarding those details, it seems like #2454 is not an issue anymore (?).
How Has This Been Tested?
The change is a unit test, it was executed
Screenshots (if appropriate):
N/A
Checklist:
My change requires a change to the documentation.I have updated the documentation accordingly.I have added tests to cover my changes.