Schema draft for WinGet configure
Related to: #2845
This is a rough draft of the proposed schema that outlines the fields that could be utilized to provide the information necessary for WinGet configure.
Microsoft Reviewers: Open in CodeFlow
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (2)
apikey dsc
Previously acknowledged words that are now absent
Dsc PWSTR :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:ryfu-msft/winget-cli.git repository
on the configSchema branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/winget-cli/actions/runs/3914387073/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (405) from .github/actions/spelling/expect.txt and unrecognized words (2)
| Dictionary | Entries | Covers |
|---|---|---|
| cspell:cpp/src/cpp.txt | 30216 | 26 |
| cspell:win32/src/win32.txt | 53509 | 18 |
| cspell:python/src/python/python-lib.txt | 3873 | 7 |
| cspell:php/php.txt | 2597 | 7 |
| cspell:java/java.txt | 7642 | 5 |
| cspell:python/src/python/python.txt | 453 | 3 |
| cspell:python/src/common/extra.txt | 741 | 3 |
| cspell:django/django.txt | 859 | 3 |
| cspell:typescript/typescript.txt | 1211 | 2 |
| cspell:npm/npm.txt | 288 | 2 |
Consider adding them using (in .github/workflows/spelling3.yml):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:java/java.txt
cspell:python/src/python/python.txt
cspell:python/src/common/extra.txt
cspell:django/django.txt
cspell:typescript/typescript.txt
cspell:npm/npm.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@SteveL-MSFT based on some of our internal proposals, @ryfu-msft drafted this JSON schema. We believe this will ultimately best live in a PowerShell DSC GitHub repository in the future, but we would like to iterate here. We will create an https://aka.ms link for the schema so preview users can also try this out, and when the time is right to move this to a PowerShell repository, we can create the PR and adjust the https://aka.ms link.
I've added you as a reviewer since it should follow any prior art with respect to PowerShell naming and idioms.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view or the :scroll:action log for details.
Unrecognized words (1)
dsc
Previously acknowledged words that are now absent
Dsc PWSTR :arrow_right:To accept :heavy_check_mark: these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands
... in a clone of the [email protected]:ryfu-msft/winget-cli.git repository
on the configSchema branch (:information_source: how do I use this?):
curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/microsoft/winget-cli/actions/runs/3961631651/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary
This includes both expected items (405) from .github/actions/spelling/expect.txt and unrecognized words (1)
| Dictionary | Entries | Covers |
|---|---|---|
| cspell:cpp/src/cpp.txt | 30216 | 26 |
| cspell:win32/src/win32.txt | 53509 | 18 |
| cspell:python/src/python/python-lib.txt | 3873 | 7 |
| cspell:php/php.txt | 2597 | 7 |
| cspell:java/java.txt | 7642 | 5 |
| cspell:python/src/python/python.txt | 453 | 3 |
| cspell:python/src/common/extra.txt | 741 | 3 |
| cspell:django/django.txt | 859 | 3 |
| cspell:typescript/typescript.txt | 1211 | 2 |
| cspell:npm/npm.txt | 288 | 2 |
Consider adding them using (in .github/workflows/spelling3.yml):
with:
extra_dictionaries:
cspell:cpp/src/cpp.txt
cspell:win32/src/win32.txt
cspell:python/src/python/python-lib.txt
cspell:php/php.txt
cspell:java/java.txt
cspell:python/src/python/python.txt
cspell:python/src/common/extra.txt
cspell:django/django.txt
cspell:typescript/typescript.txt
cspell:npm/npm.txt
To stop checking additional dictionaries, add:
with:
check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
This schema is not final and we will continue to iterate on this version for now. Planning to check this in so that people can use it as a reference for building their own configuration yamls.