-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add tests to report when package references are out of date #7661
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 tests to report when package references are out of date #7661
Conversation
tools/releaseTools.psm1
Outdated
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.
Seems the message very short to understand in log where it come from.
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.
Please add new line.
tools/releaseTools.psm1
Outdated
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.
MMI package is on nuget.org.. we should check for that too.
https://www.nuget.org/packages/Microsoft.Management.Infrastructure/
tools/releaseTools.psm1
Outdated
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.
Should we use semantic version instead, would make the checks much simpler.
$NewVersion = [System.Management.Automation.SemanticVersion]"6.1.0-preview.4"
$Version = [System.Management.Automation.SemanticVersion]"6.0.4"
if($NewVersion.PreReleaseLabel) { return false } else { return $NewVersion -gt $Version }
…..
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 had an offline discussion with @adityapatwardhan . I'll update the synopsis on why the current logic is correct.
tools/releaseTools.psm1
Outdated
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.
Typo tht -> that
f70635f to
c85916b
Compare
|
@adityapatwardhan @iSazonov I believe I have addressed your feedback |
|
@TravisEz13 Please have a look at wix packaging error. |
… new version Also, all switch to report all packages for testing
03b098a to
29062ba
Compare
iSazonov
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.
Should we update our Contribution guide?
5b8919f to
31629f9
Compare
31629f9 to
9c79fe3
Compare
|
This PR is difficult enough to keep up to date. Could you make a PR to update the contribution guide? |
|
Done #7695. |
Add tests to report when package references are out of date - Also, update the packaging script to generate updated `files.wxs`
|
Does this make the build fail if a new version is released, i.e. irreproducable? |
|
First, let us start with why this test exists. We expect that during development that the latest packages are being used. Unless there is a good reason, not to, at which time we will adjust the tests, if needed. That is two questions combined into one:
The maintainers are happy to fix this issue, if the issue arises in your PR. |
PR Summary
Add tests to report when package references are out of date
files.wxsPR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests