Add tests to report when package references are out of date#7661
Add tests to report when package references are out of date#7661TravisEz13 merged 9 commits intoPowerShell:masterfrom
Conversation
tools/releaseTools.psm1
Outdated
There was a problem hiding this comment.
Seems the message very short to understand in log where it come from.
tools/releaseTools.psm1
Outdated
There was a problem hiding this comment.
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.
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.
I had an offline discussion with @adityapatwardhan . I'll update the synopsis on why the current logic is correct.
tools/releaseTools.psm1
Outdated
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.
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