Upgrade check-spelling to v0.0.21#2728
Conversation
9c765a2 to
3a86bef
Compare
| (c) 2008 VeriSign, Inc. | ||
| Copyright 2004-2016 Castle Project | ||
| Copyright (c) 2004-2019 Castle Project | ||
| GCopyright (c) 2004-2019 Castle Project |
There was a problem hiding this comment.
This line appears to be damage from an errant sed command.
There was a problem hiding this comment.
It's ok to make the change in this pr at the moment, but this NOTICE is auto generated, it will be overridden whenever we have new components added. I think we should add this notice to exclude list if spell checking is not happy.
There was a problem hiding this comment.
If the file is generated from other things beyond your control, then excluding it is probably the right thing to do.
There was a problem hiding this comment.
Do you know where this item comes from? I'd like to fix it at the source...
There was a problem hiding this comment.
This is generated for each build in the build pipeline. For example, for this pr build, the notice is generated here https://dev.azure.com/ms/winget-cli/_componentGovernance/156969?_a=components&typeId=14063008&alerts-view-option=active
This is from internal Component Governance Devops feature owned by internal compliance team.
There was a problem hiding this comment.
Can you pass them a note suggesting that their data record for this item is probably buggy?
There was a problem hiding this comment.
Sure, I'll file a bug for the right team to take a look.
| Copyright (c) The Internet Society (2005). | ||
| Copyright (c) The Internet Society (2006). | ||
| copyright 2009-2013 Christopher M. Kohlhoff | ||
| Copyright (c) 2016, Akamai Technolgies, Inc. |
There was a problem hiding this comment.
This appears to be a typo (Google finds fewer than 500 hits for this spelling, although, admittedly at least one is in a proxy statement to the SEC, but even there the correct spelling is also present...).
| \bgreater then\b | ||
|
|
||
| # s.b. into | ||
| #\sin to\s |
There was a problem hiding this comment.
As this is not always right, I'm not leaving it active.
| [Rr]e[- ]entrant | ||
|
|
||
| # s.b. workaround(s) | ||
| #\bwork[- ]arounds?\b |
There was a problem hiding this comment.
Similarly, I'm leaving this out. It's right some of the time (including once below).
| fileName = "AppInstallerTestExeInstaller.exe"; | ||
|
|
||
| var testreuslt = TestCommon.RunAICLICommand("install", $"{packageId}"); | ||
| var testResult = TestCommon.RunAICLICommand("install", $"{packageId}"); |
There was a problem hiding this comment.
this is worrisome as it appears to be unused.
There was a problem hiding this comment.
I'll let one of the engineers review this to see if it's used in some back-end tests.
3a86bef to
45099f0
Compare
| # s.b. opt-in | ||
| #\sopt in\s |
There was a problem hiding this comment.
Similarly, this isn't always right, and in fact the one case I ran into here was a bad example... (Some heuristics are really not good enough to leave lying around, and instead handling the associated cases should be left to a grammar checker that can be truly context aware...)
|
@jsoref thanks for raising the PR. I'll have the engineering team review and merge. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@jsoref - Would you mind updating the action at winget-pkgs also? |
|
(For the record: microsoft/winget-pkgs#90103 (review)) |
|
Files under src/purelib are subtree from https://github.com/ronomon/pure Please revert the changes in these files and exclude the 2 projects from spell checking. And thank you @jsoref for bringing the v0.0.21, we can finally reenable the spell check again. |
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
45099f0 to
04585b9
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Upgrades check-spelling to v0.0.21
The command to apply changes should now work on Windows (it requires Perl, but I believe that's more or less present most of the time, and it should walk you through the rest of the required tools).
There are a bunch of new features, the most important here are probably being able to update the metadata from Windows. (If it doesn't work, please @ me).
Also,
candidate.patternswill automatically suggest patterns. You can see them in patterns.txt, e.g.:The metadata bits (the hit count/file count) don't have to be retained (I hope they'll be useful in deciding whether/or not to add a pattern, i.e. "how applicable is it?"), the comment hinting at what the pattern does is probably worth retaining.
Extra cleanup
There are too many release branches pointing to the previous version, so I'm leaving a stub for it present as I did before.
Microsoft Reviewers: Open in CodeFlow