Skip to content
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

modelsrepository - cspell found spelling errors in public API surface #23182

Closed
danieljurek opened this issue Aug 6, 2021 · 2 comments
Closed
Labels
Client This issue points to a problem in the data-plane of the library. IoT Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@danieljurek
Copy link
Member

danieljurek commented Aug 6, 2021

Investigation for this PR: #23150 found spelling errors. When the linked PR merges this service will be opted out of public API surface spell checking to keep other PRs unblocked. This issue describes how to opt back in.

If the above linked PR has not merged this service is still opted out and not blocked by the detection of spelling errors in the public API surface.

What to do

  1. Correct spelling errors or check in fixes for the false positives
  2. Opt back into Public API surafe spell checking

Correct errors

To correct false positives or learn about spell checking see: https://aka.ms/azsdk/engsys/spellcheck

Spell Check Output

1/1 .\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs 950.11ms X
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:3:33 - Unknown word (Dtmi)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:5:53 - Unknown word (dtmi)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:6:35 - Unknown word (Dtmi)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:6:47 - Unknown word (dtmi)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:19:136 - Unknown word (dtmis)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:20:96 - Unknown word (dtmi)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:21:170 - Unknown word (dtmis)
D:\code\azure-sdk-for-net\sdk\modelsrepository\Azure.IoT.ModelsRepository\api\Azure.IoT.ModelsRepository.netstandard2.0.cs:22:130 - Unknown word (dtmi)
CSpell: Files checked: 1, Issues found: 8 in 1 files

To check the public API surface locally, in the root of the repo run:

eng/scripts/Export-API.ps1 -ServiceDirectory modelsrepository -SpellCheckPublicApiSurface

You may also need to set -SDKType if the appropriate value of SDKType is not all for the service.

Opt back in

NEW INSTRUCTIONS: In the .vscode/cspell.json file remove the line for your service (of the form "sdk/<service>/*/api/*.cs") from the ignorePaths section and check in the change.

OLD INSTRUCTIONS: In the ci.yml file for this service, remove the line: SpellCheckPublicApiSurface: false

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 6, 2021
@jsquire jsquire added Client This issue points to a problem in the data-plane of the library. IoT Service Attention Workflow: This issue is responsible by Azure service team. labels Aug 7, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 7, 2021
Copy link

github-actions bot commented Mar 4, 2024

Hi @danieljurek, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

1 similar comment
Copy link

github-actions bot commented Apr 5, 2024

Hi @danieljurek, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. IoT Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants