Closed Gijsreyn closed 1 week ago
@denelon
markdownlint
Can you help me understand how this action works? Is it like the spell checking where it fails if the linting doesn't match, or is it something that actually goes in and fixes the linting?
The same as the spell checker. I didn't explicitly set the continueOnError, because $false is the default behaviour.
I saw some of the "security" related items in one of the files. We want folks to submit security related concerns through the official Microsoft link mentioned in SECURITY.md.
I saw some of the "security" related items in one of the files. We want folks to submit security related concerns through the official Microsoft link mentioned in SECURITY.md.
I didn't fully get what you mean Demitrius. You mind elaborating a bit more what you sawa and what might needs to be changed?
I didn't fully get what you mean Demitrius. You mind elaborating a bit more what you sawa and what might needs to be changed?
I reviewed it, I think it's fine.
@denelon Thanks! @ryfu-msft If you're also happy, you mind pulling it in?
/azp run
Ryan, I don't know why that prerelease is failing, whereas other runs it is successful. No file has been touched on tests. Can we create a separate issue for it for investigation and pull this in?
/azp run
Ryan, I don't know why that prerelease is failing, whereas other runs it is successful. No file has been touched on tests. Can we create a separate issue for it for investigation and pull this in?
Lets try one more time and see if its a one off.
At least from my side:
I see what is going wrong, but I don't know if it is a bug in the DSC resource, or something on the dotnet.exe
NuGet side. Version 9.0.0 has just been released, and it's picking that one. Can we comment out the test and I'll take a look at it in another issue? We still have one test that test for prerelease, which is PowerShell.
EDIT: When I run dotnet tool install dotnet-ef --prerelease --global
, I would assume it is going to install: 9.0.0-rc.2.24474.1, but it doesn't.
EDIT 2: Looking at the description, not really:
@ryfu-msft Would the PreRelease
property then make sense, or just instruct users if they want to install a rc for example, just add the full version?
I see what is going wrong, but I don't know if it is a bug in the DSC resource, or something on the
dotnet.exe
NuGet side. Version 9.0.0 has just been released, and it's picking that one. Can we comment out the test and I'll take a look at it in another issue? We still have one test that test for prerelease, which is PowerShell.EDIT: When I run
dotnet tool install dotnet-ef --prerelease --global
, I would assume it is going to install: 9.0.0-rc.2.24474.1, but it doesn't.EDIT 2: Looking at the description, not really:
@ryfu-msft Would the
PreRelease
property then make sense, or just instruct users if they want to install a rc for example, just add the full version?
Seems like --prerelease only works if there is a prerelease version that exists later the latest stable release. I would instruct users to resort to using the full version instead of --prerelease since you never know when the next preview release will come out.
Regarding the tests, it would be better to explicitly point to an older preview version so that the tests don't break in the future when a new release comes out.
In an ideal world, we should not be using real packages from the nuget gallery but instead stand up our own test package source.
I fully agree with you here Ryan. I'll hit up a small commit in just a second to fix the test and the one for VSCode. If you want, I can remove the --prerelease later. Otherwise, I put it in the docs now. Thanks for checking.
Microsoft Reviewers: Open in CodeFlow