-
Notifications
You must be signed in to change notification settings - Fork 228
Sort changelogs by date then version #1479
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
|
The following pipelines have been queued for testing: |
| #> | ||
|
|
||
| class AzureEngSemanticVersion { | ||
| class AzureEngSemanticVersion : IComparable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this I've been wanting to do that for a while.
cc @danieljurek as I know he was also looking at potentially doing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a much better (more readable) version than the one I wrote. I vote we use this one. Did some local sanity checking and this implementation checks out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially I tried implementing the generic IComparable[AzureEngSemanticVersion] interface, but seems you can't do that in PowerShell given the order of when types are resolved vs. compiled.
| return $versions | Sort-Object -Descending | ||
| } | ||
|
|
||
| static [void] QuickTests() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you haven't already could you please do a quick run of this to make sure the basic tests we have still work the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did, yes. In fact, I had to to debug an issue I was having in the original iteration.
weshaggard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this @heaths.
|
Hello @azure-sdk! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
@weshaggard @chidozieononiwu @danieljurek should I send out an email about this, and make sure people know to add (preferably accurate) dates for older versions in their changelogs? |
|
I don't think it is worth sending an email as most folks will ignore it. If there are any issues they will come to light in the version increment PRs. |
Fixes #1389