winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Support for PowerShell cmdlets in admin mode

Open ryfu-msft opened this issue 2 years ago • 7 comments

Related to: #221

Initial Proof of Concept: https://github.com/microsoft/winget-cli/compare/master...JohnMcPMS:winget-cli:ps-admin

This PR adds support for calling an elevated PowerShell and having elevation flow through the installer.

Changes:

  • Changes Activation path in PS based on elevation, blocks if running as SYSTEM
  • Targets test CLSIDs and devServer by default
  • Git ignores files generated from IDL
  • If create instance fails, launches server using CreateProcess
  • Terminates server if another server is already present
  • Requires a secure connection via RPC flags and security descriptor.
  • Adds E2E test for PowerShell cmdlets. Build pipeline runs these in admin mode so this feature should have sufficient test coverage.
Microsoft Reviewers: Open in CodeFlow

ryfu-msft avatar Oct 26 '22 21:10 ryfu-msft

/azp run

yao-msft avatar Nov 04 '22 19:11 yao-msft

Azure Pipelines failed to run 1 pipeline(s).

azure-pipelines[bot] avatar Nov 04 '22 19:11 azure-pipelines[bot]

/azp run

ryfu-msft avatar Nov 04 '22 19:11 ryfu-msft

Azure Pipelines failed to run 1 pipeline(s).

azure-pipelines[bot] avatar Nov 04 '22 19:11 azure-pipelines[bot]

/azp run

ryfu-msft avatar Nov 04 '22 19:11 ryfu-msft

Azure Pipelines failed to run 1 pipeline(s).

azure-pipelines[bot] avatar Nov 04 '22 19:11 azure-pipelines[bot]

/azure-pipelines.yml (Line: 174, Col: 12): Unexpected value ''

yao-msft avatar Nov 04 '22 19:11 yao-msft

/azp run

ryfu-msft avatar Nov 16 '22 19:11 ryfu-msft

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 16 '22 19:11 azure-pipelines[bot]

<ProjectReference Include="..\..\UndockedRegFreeWinRT\UndockedRegFreeWinRT\UndockedRegFreeWinRT.vcxproj">

Don't you need to update this?


Refers to: src/PowerShell/Microsoft.WinGet.Client/Microsoft.WinGet.Client.csproj:41 in 190a6b9. [](commit_id = 190a6b9398c44ac13231bd5e5e8423963eb47aa2, deletion_comment = False)

msftrubengu avatar Nov 30 '22 23:11 msftrubengu

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view or the :scroll:action log for details.

Unrecognized words (2160)
abortx
aconf
acroformtool
ACTCTX
ACTCTXW
actime
activatable
activationregistration
acw
adb
adcl
addb
ADDBNDDIRE
ADDFILEINEXISTINGZIP
ADDINZIP
addl
addler
addpoint
addq
Addrs
addsuffix
addthis
adelaide
adler
adr
adrp
adrret
AFile
afx
AFXDLL
Ahvenlampi
AIAIAIAIAIAIA
alain
ALDAN
Alexey
allshared
allstatic
aloop
AMicrosecond
amigaos
AMillisecond
AMinute
amk
andb
andl
andq
Andrzej
andthis
anisimkov
Aonix
aopt
APPCONTAINER
appleclang
appnote
APTTYPE
APTTYPEQUALIFIER
arcname
AREGTYPE
ARFLAGS
armv
arrayasolutions
ARRR
ASecond
ASFLAGS
ASLR
Asmflags
ASMINF
ASMS
asmv
assertionhandler
assertionresult
assmebler
Asumes
atari
atarist
Athlon
Attension
atto
attrb
atual
autodeleted
AUTOLISTEN
AUTOMAKE
autoregistrar
Autorelease
autoselect
avaibale
AVX
axp
BADZIPFILE
bak
Bakker
balign
bbbbbiii
bcc
bclose
bcopy
beahvior
beenhere
Beihang
BEOS
BERGEN
bestlen
bestlend
Betts
Beucler
Bezier
BFC
BFINAL
bflush
bgcolor
bget
bhelp
BIGBUFSIZE
BINFILES
bitbuf
bitcnt
bitfields
bitlen
bitnum
bitpattern
bitslong
bjoern
BKUPIFSNAME
Blammo
blbits
blcodes
BLDNUM
blen
blindex
blitt
BLKTYPE
bload
BLOCKSIZE
blr
blx
Bmmmmm
bname
BNDDIR
bndsrc
bobdl
bonnefoy
bopen
bopt
Borca
borgsys
borland
BORLANDC
Borstel
Bosmans
Botlan
broonie
Broukhis
bsd
bsfw
bsize
bskip
Bson
bstate
bstream
BTYPE
buflen
BUFREADCOMMENT
BUFSIZ
bugtraq
bugzilla
builddir
BUILDFIXED
Burik
BXJ
BYFOUR
bytary
BYTEBITS
bytecodes
bytecount
Bytef
bythirds
bzalloc
bzfree
bziped
bzlib
cachefly
caddr
Cadieux
caltech
carrefull
Caruana
CASESENSITIVITY
CASESENSITIVITYDEFAULT
CASESENSITIVITYDEFAULTVALUE
casestudies
castleproject
catchorg
cbclr
cbdata
cbidh
cbinh
cbnz
cbz
cccc
ccflags
CCheck
ccopt
ccrc
CCSID
cdef
CDetour
cdh
cdir
centraldir
centralheader
CENTRALHEADERMAGIC
cerrno
cfa
CFBF
CFILES
cflags
CFull
cfz
chainlen
chainlenwmask
charf
Charlap
checkfn
Chemeris
chk
chksum
chng
chofz
choosen
CHOST
CHR
christop
CHRTYPE
chstr
Chupahin
CImage
CINFO
ciso
clara
Clarius
CLASSNOTREG
CLDB
cleanupgroup
clen
CLion
cloexec
Clure
cmakedefine
CMakefile
cmakein
CMBND
CMOVC
CMOVE
CMOVNA
CMOVNAE
CMOVNB
CMOVNBE
CMOVNC
CMOVNE
cmovng
CMOVNGE
cmovngl
cmovnl
CMOVNLE
CMOVPE
CMOVPO
cmpb
cmpl
cmpq
cmpress
cmps
cmpw
cmr
codecount
CODEOWNERS
codetype
Coghlan
colourised
combaseapi
coments
Compaq
comparision
compearing
complen
completly
compr
compres
comprlen
Comression
comsize
comutil
concantenated
confh
consts
CONTTYPE
COPYENTRY
COPYFUNC
copymeta
copyout
corewrappers
Cosmin
cosmint
couse
cov
Coverity
cpan
cparm
cpluplus
cplusplus
CPPFILES
CPPFLAGS
CPPUNWIND
cpr
cpsize
cranies
CRCERROR
CRCs
CREATEAFTER
creatwth
Creech
Crt
CRTBNDDIR
CRTCMOD
crtdbg
CRTDLL
CRTDUPOBJ
CRTL
CRTLIB
CRTSRCPF
CRTSRVPGM
crypthead
crypting
csbi
csh
csource
cswinrt
CTDQ
Ctrm
ctxtcall
cumn
CURDIR
curfile
curlen
curmatch
curmatchd
currentfile
currenty
curretly
CVPI
cvs
CXe
cxt
CXXFLAGS
Cybozu
cygwin
cygz
Cyrix
Dalsnes
Darbois
DATAA
datablock
datasize
DATASPHERE
davispuh
dbakker
dbase
dbghelp
DBGVIEW
DBHLPAPI
dbits
DCheck
dcode
dcompi
ddi
ddr
dealloc
DEBND
decc
decomp
decompresed
decompressd
decompressor
DEEND
defaut
defcpr
Defl
deflatestate
DEIN
Dellaca
delphi
delte
deoptimize
deoptimized
depedent
depl
DEPSDIR
Deref
derefence
derivated
derrived
descr
descrip
DESTDIR
destlen
determinte
detourc
detourd
detver
devkitarm
devkitpro
devmajor
devminor
dext
dfa
dff
DHelper
dictid
Diekhans
diffs
DINFOZIP
DIRTYPE
disas
disasm
disolarm
disolia
disolx
distbits
distclean
distcnt
distcode
DISTEXT
DISTFILES
distfix
distlen
distribtution
dists
distsym
disttribution
DJDIR
djgpp
dlname
DLocator
dlversion
dmask
dmax
Dmitriy
DNO
dnrsl
dnsrl
DOBIG
dodist
dolen
DOLIT
Donais
donwload
dosdate
dostime
dotzlib
dpi
Dpos
DProjection
DRecord
DROPBITS
Dropbox
dsh
DSIZE
DTAFMT
Dtr
dtree
DUMPDIR
DUPLICATEALIAS
dwl
Dxaml
DYLD
dylib
dynamiclib
dynazip
DYNBNDDIR
easilty
eax
ebp
ebx
ECCN
ECompression
ecount
ecx
edd
Eddelbuettel
EDecompression
edi
EDTF
edu
eduardo
edx
eeee
eeeee
Eerror
eetbeetee
efah
eflags
EHa
eief
eip
Elahi
elease
Elemar
elems
ello
empted
EMSCRIPTEN
emx
emximp
emxomfar
Enchance
encodable
endef
ENDHEADERMAGIC
ENDLOCHEADERMAGIC
endp
ENDPGMEXP
endproc
endsource
endsubroutine
Enumate
eob
EOC
eocd
eocdl
eocdr
eod
eol
EOR
eprefix
eqs
equ
ERCIM
erfinv
Eron
errclose
errnum
ERRORREXX
esac
esi
eso
essex
etags
eurexchange
Evain
evex
exabytes
examplesh
Exarevsky
executability
execve
exitval
EXLEN
exmples
explicitely
EXPOR
EXPORTVA
EXPREFIX
extened
extproc
extr
extractdir
extrafield
extrainfo
extrq
extsize
extwinrt
exvlo
EZlib
fabricbot
facil
falloc
Fanslau
Fantoftvegen
fao
FAQs
farcall
farfree
farmalloc
Farshid
fastcall
FBuffer
fcalloc
FCHECK
fchkf
fcntl
FCOMMENT
FDICT
fdopen
Fearnley
Fedtke
feloop
femto
FEXTRA
ffe
fff
ffff
fffffef
fffffffffffffef
ffffffffh
FFFFh
fffh
ffunc
FHCRC
Fiala
fifield
FIFOTYPE
filebuffer
filedate
Fileflags
filefunc
fileinfo
filemane
filenameinzip
filestream
filetime
fillbuf
fillzffunc
filnam
fiow
fitblk
fixedtables
FIXLCODES
fjoin
FLa
FLADD
Flate
FLEVEL
FLG
Flgvmat
Flinffas
Flinffasx
Flmatch
flushbuf
FLUSHCODE
Flyout
fmemcmp
fmemcpy
fmemset
fnc
fnsize
follwed
formely
FORPARSING
fout
fpneon
Frodo
FROMLIB
Frysinger
fseeki
fseeko
FStrm
FSUBQ
ftelli
ftello
ftestexist
FTEXT
ftime
ftm
FUJITSU
FWAIT
fxxxx
Gailly
gcc
gcclib
gcda
gcno
GCopyright
gcov
gdal
generatortracker
Genererate
getheader
getjpi
getoct
getpid
getsyi
gettimeofday
Gflags
Giersig
ginstall
GLIBCXX
globalcomment
globbing
globl
gname
gnatmake
gnatwcfilopru
gnatyabcefhiklmnoprst
gnuc
GNUCC
GNUG
gnupg
GNUTYPE
Gomes
google
gosub
gpflag
gpr
GPto
Greef
Groffen
gsi
Guevarra
Gulles
gunpipe
gvmat
gvmatch
gxs
gzappend
gzbody
gzbuffer
GZBUFSIZE
gzclearerr
gzclose
GZCOMPRESS
gzcopy
gzdirect
gzdopen
gzeek
gzeof
gzerror
gzext
gzfilebuf
gzfilestream
gzflags
gzflush
gzfread
gzfwrite
gzgetc
gzgets
gzguts
gzhead
gzheader
gzifstream
gzindex
gzinit
gzio
gziped
gzipped
gzjoin
gzlib
gzlog
gzoffset
gzofstream
gzomanip
gzopen
gzprint
gzprintf
gzputc
gzputs
gzread
gzrewind
gzs
gzscan
gzseek
gzsetparams
gztack
gztell
gzungetc
gzvprintf
gzwrite
Haan
Hainley
Haksi
halloc
Haruhiko
havedict
hbuf
HCLEN
HCORENUM
hcrc
HDIST
hdone
hdr
headerp
headr
henrik
Herborth
hfree
HGlobal
hhhddddd
HIBYTE
Highlighter
highwater
Hildenborg
Hirschberg
hlibz
HLIT
hloop
Hlp
hoehrmann
Holmgren
Homurlu
Horvath
HOS
hotmail
HOWTO
HPFS
HPUX
hrsc
huffman
huft
IActivation
iat
IBTS
icache
ICallback
icbt
icc
ICEBP
iconr
icpc
idel
idh
idl
ietf
ifactory
IFCRYPTALLOWED
ifd
ifdefs
ifeq
ifneq
IFSDIR
IFSFILE
ifspec
iidp
IIf
iiittttt
IInspectable
IIP
ijs
IMAGEAPI
imagehlp
IMeta
imm
immhi
immlo
implib
implicitily
improvment
inbuf
INCDIR
INCDIRFIRST
INCLUDECRYPTINGCODE
includedir
incnt
incompartible
INCOPY
incq
INDATABLOCK
indp
INEND
INFA
infback
infblock
infcodes
infcover
inffas
inffast
inffasx
inffix
Infobuffer
infoserve
infozip
inftest
inftree
infun
infutil
Ingy
inh
inhow
ININ
INITBITS
INITGUID
inlen
inmemory
inname
INPATHROOT
Inproc
INSEDI
insertor
insertq
insruction
instream
instuction
INSY
INTABL
intead
interix
INTERNALERROR
interntal
interupted
intf
intialized
invalidparameter
INVALIDSID
invisibles
inzip
ioapi
iowin
ipmo
iqr
IRefresh
IRET
irix
irrez
isable
isdst
ISSPECIAL
itu
izstream
Jazelle
JELMER
JETBRAINS
jhainley
jloup
jmpe
JNA
JNAE
JNB
JNBE
jnc
jne
JNG
JNGE
JNL
JNLE
jon
joran
JPE
JPO
junitreport
Kazuho
kbytes
Kconform
Keio
kevin
keyshift
KFree
Kientzle
kinfo
Kirill
KJk
Kleinert
Klomp
Kohlhoff
KPIC
kreuzerkrieg
Krinke
Krzemienski
ksh
Kuchling
Kuno
Kupries
Kvp
largefile
lastbit
lastblock
lasterr
lastest
lastoff
lastslash
lbase
lbits
lcase
lcc
lcode
lcompr
LDADD
ldconfig
ldef
LDFLAGS
ldi
ldinext
LDLIBS
LDMIA
ldr
LDRD
LDREX
LDREXB
LDREXD
LDREXH
LDRSW
LDSHARED
LDSHAREDLIBC
leaq
Lelewer
Lempel
lenb
lenbits
lencnt
lencode
LENEXT
lenfix
lenlen
lensym
Lepilleur
lext
lfanew
lfh
LGCHUNK
libc
LIBCMT
libdefs
libdest
libdir
libgz
libidentify
LIBIFSNAME
LIBL
libminizip
LIBNAME
LIBNDS
libopt
libpng
LIBRARYN
libstd
libstdc
libz
libzdll
libzip
libzshr
Lillge
limitd
LINEINFO
Linhart
linkedlist
Linkflags
linkname
linkonly
linkto
LINX
LIres
listfiles
litcnt
litcode
litlen
litsym
lld
Llopis
llu
lmask
lng
lngfnc
lngpvt
lnk
LNKTYPE
LOADONCALL
LOBYTE
LOCALETYPE
LOCALHEADER
LOCALHEADERMAGIC
localstatedir
locft
loctm
LODS
lodsl
logd
LOGID
Lohmann
Loitsch
lom
Londer
Longf
LONGLINK
longlong
LONGNAME
Looijaard
lopts
los
Lovset
LPAPI
LPCTSTR
LPCVOID
LPCWSTR
lpdw
Lpp
LPPROCESS
LPSECURITY
LPSTARTUPINFOA
LPSTARTUPINFOW
LPSTR
lpv
LPWORD
lseek
lseeki
LTLIBRARIES
ltree
lunpipe
Lvl
lzw
MACTYPES
madler
MAINSTA
MAJORc
mak
MAKECRCH
makedepend
makedir
makefiles
makefixed
MAKEINTRESOURCEW
Makeit
makelcc
maketree
MAKEULONG
malbrech
mandoc
manip
mapfile
markn
marknelson
Marot
masm
masmdl
masmx
MASPS
matchee
matchname
mathias
mathod
MATSUURA
MAXBITS
MAXCODES
MAXD
MAXDCODES
maxed
MAXFILENAME
MAXFILENAMEINZIP
MAXLCODES
MAXSEG
MAXU
maxversiontested
MAXWIN
maybenull
mayfail
mbc
mbi
MBR
mcr
mdef
MDs
mdsos
Metada
Metrowerks
metux
Micael
milleniumbug
milli
minigzip
minigzipsh
miniunz
miniunzip
minizip
MINORc
MINSIGSTKSZ
minzip
Mitsunari
mkasm
mktemp
MKWERKS
mman
mmap
mmap'ed
mmap'ing
MMD
mmk
mms
mmx
MNG
modft
modific
MODIFSNAME
modrm
modtime
module'mod
modulos
Moene
Mohanathas
Mokrejs
Monnerat
Moretti
mostlyclean
movb
movk
movl
movn
MOVS
movt
movw
movz
movzbl
movzwl
mozilla
MPROP
mrdone
mrloop
mrsloop
msc
MSCOREE
MSCVER
msdos
msgbuf
MSHCTX
MSHLFLAGS
MSIL
msvc
MSVCR
MSVCRT
msym
mta
mtest
mthumb
mtune
Mula
MULTIVOL
munmap
muppetlabs
MWERKS
mwinrtact
mwinrtactx
MWKERKS
myalloc
mydef
mydir
myfree
mymkdir
myndkryme
myproc
myrec
mytest
mztools
nanoant
NARGS
nastygram
nbytes
ncacn
ncode
ndist
nds
Necasek
NEEDBITS
negl
nes
nevetheless
newdate
newdir
NEWOBJ
Newsham
Nex
nextlen
Ngth
nicematch
Nieder
Niessink
nih
nihilo
Nikl
Nintendo
nintendods
nitems
nlen
nlm
nlohmann
nmake
NMAX
nnn
NOACCESS
NOBYFOUR
noconf
NOCRYPT
noe
NOENLARGE
nofac
NOFAIL
noi
NOICONS
noident
NOINTERNAL
NOLINT
nolog
nologo
Nomssi
NONSTDC
noops
noopt
noprefix
NOPs
noreturn
Norwitz
nosever
NOSINT
nospan
NOSTACKCHECK
NOSTDOUT
NOSTKCHK
NOSUCHFILE
notdir
notext
notlifo
notnull
NOTSIB
notw
NOUNCRYPT
NOUNDERLINE
novell
NOVER
NOVERSION
nprintf
nroff
nsamples
nsstring
NTA
NTAPI
nttp
NUMBEROF
nval
Nyffenegger
Nzali
Oait
Oberhumer
OBJA
objc
OBJG
OBJP
OBJPA
OBJTYPE
OBJZ
obry
oflag
ofs
oidp
oilrtfm
Okt
Oku
Okumura
olb
oldnewthing
olist
oml
ommit
onefile
onlinedocs
ONSTACK
OOXML
Opc
opcodes
opportunites
OPTALIAS
OPTCOMP
OPTDEP
Opteron
optf
optfile
OPTGO
Optimisation
OPTINL
OPTINLINE
OPTINLOCAL
OPTLOOP
OPTPEEP
OPTRDEP
OPTSCHED
OPTTIME
ORBIS
origlen
oring
orq
Osma
oss
ostringstreams
osvi
OSX
ouput
ourselfs
outbuf
outcnt
outd
Outercurve
outf
outfun
outhow
outlen
outnname
OUTPATHROOT
outputresource
ozstream
paag
paches
packcode
PACTIVATION
palmzlib
parafernalia
PARAMERROR
PARMS
partcompress
particuarly
pbegin
PByte
pcb
pcch
pchar
PCHs
pclr
Pcn
pcount
pcrc
PCSTR
pder
PDETOUR
pdflib
pdi
pdw
PDWORD
Pehrson
pentium
perlfaq
PEXCEPTION
pez
pfile
pfilefunc
pfs
PFUNC
pgcc
pglobal
PGMLVL
philsquared
phstr
pidh
pigz
piid
PIMAGE
PIMAGEHLP
pinh
PINIT
pkeys
pkgconfig
pkgconfigdir
pkware
pkzip
PLABEL
pld
plp
pmd
pmqs
pnh
poffset
Pohland
Poltorak
Polushin
Polyline
popl
popt
Posf
POSTINC
ppend
PPLABEL
ppld
ppp
PPro
ppsz
pqdownheap
pqremove
prefast
PREFETCHINTA
Prefs
prevlen
PRFM
processthreadsapi
procptr
PROT
protseq
Prouse
psects
PSYMBOL
Pth
pthread
ptm
PTOKEN
ptrace
pufftest
puft
PULLBYTE
PULONG
pushebp
pushebx
pushedi
pushesi
pushf
pushl
PUSHORT
putbackfail
pwinerror
pwsh
pwsz
Pxx
Pzd
pziinit
pzlib
QDOS
Qing
qmaxmem
qnx
qpg
QPM
QSH
qshell
QSYS
Quines
raddr
raiter
randeg
ranlib
ravn
RAWLEN
rawtime
rbp
rbrown
RCDLEN
rce
RCFLAGS
rcs
rcx
rdfsbase
rdgsbase
rdi
rdpartysource
rdx
readabilty
readin
readmore
READWRITEFILTER
rearchitecting
recived
recomended
recompresses
recompressing
recreting
recsize
redhat
redistributable
REFCOPYENTRY
referece
REFGUID
REGDB
regfree
REGTYPE
reimplementation
Reinholdtsen
relativefilepath
remaing
remoting
reocmpression
REPE
REPZ
REQS
reseting
resourcestring
retval
REVSH
rfc
rfm
rguid
rios
riscos
rlp
roapi
rocksoft
rodgers
rodin
roff
rometadataresolution
rommable
ROUTINEA
ROUTINEW
rpath
rpi
Rrtd
RSDS
rsi
rsp
RSQRTTS
rsxnt
rtl
rtti
Rudiak
Ruland
rundll
rva
RWTH
Rzesniowiecki
Sangwine
sarl
Sarwate
sas
SASC
savefilenameinzip
saveopt
scanalign
scanalignd
scanend
scanendw
scanstart
scanstartw
SCAS
Schiffer
Schlafly
Schluper
Schrum
Schwaderer
schwardt
Schweda
scl
SCOPTIONS
scppc
SCRIPTDIR
securityfocus
seekable
segfault
SEH
Senisivity
setcompression
setcompressionlevel
setcompressionstrategy
setenv
setfiletime
setmode
settime
SEV
SFILES
SFLAGS
sfx
sgid
Shachar
SHAREDLIB
sharedlibdir
SHAREDLIBIMP
SHAREDLIBM
SHAREDLIBV
Shigeo
SHLIB
shll
shlobj
shlq
shopt
SHORTNAMESIZE
shouldfail
shrl
shrq
shtypes
sigaction
sigaltstack
Simplfy
simplied
sirena
Sitebuilder
Siz
SIZECENTRALDIRITEM
SIZECENTRALHEADER
SIZEDATA
sizet
SIZEZIPLOCALHEADER
skipq
slib
Smake
SMakefile
SMALLBUFSIZE
SManifest
Sobrado
somes
soname
sonda
sourcelen
SOVERSION
specfied
spetsified
sptk
sqcb
Squeezeflags
srcdir
srcfil
SRCFILE
SRCMBR
SRCPF
SRCS
SRCSTMF
SRVPGM
SSAT
sstr
stackoverflow
startproc
STARTUPINFO
STARTUPINFOA
STARTUPINFOW
stat'ing
STATBNDDIR
stategy
STATEm
STATEn
statep
STATEw
STATEx
STATICLIB
stdarg
stdbool
STDC
stddef
stdint
STEDD
STMF
Stoks
STOS
strarg
strat
STRB
strcasecmp
strcmpcasenosensitive
STRCMPCASENOSENTIVEFUNCTION
strcmpi
STRD
strdup
streamp
strend
STREQUAL
strerror
STREX
STREXB
STREXD
STREXH
STRH
STRICTUNZIP
STRICTZIP
STRICTZIPUNZIP
stringification
STRINGIFIER
STRINGMAKERS
stringref
strm
STRMERGE
strneq
strnlen
Stroustrup
STRPGMEXP
strsafe
strstart
strtime
structore
strwinerror
Strzelecki
subb
subl
subq
SUBREVISION
sunfreeware
Suport
suppors
suse
Svensson
svn
swtch
SXTB
SXTH
Symantec
SYMOPT
syms
SYMTYPE
sync'ed
synchapi
syncsearch
syscalls
sysconfdir
SYSIFCOPT
sysnative
systemnotsupported
SYSTEMTIME
syswow
Tagunz
Tagzip
Takanori
TAlloc
tarball
TARGETLIB
tarmode
tartime
TASM
taz
tbb
tbd
TBH
TBLS
TBNZ
tbz
tcc
tcl
TColor
TCompression
tconfig
tcrc
tcsh
TCustom
TDecompression
tds
Technolgies
tempdir
TEMPFILE
Tencent
Teredesai
Terje
testb
testcase
testdll
testerror
TESTFILE
testframework
testi
testl
testo
testreuslt
testshared
teststatic
testsuite
testt
testw
testz
testzlib
Teterin
textflow
textflowcpp
TFree
TGTCCSID
TGTRLS
tgz
tgzarchive
thefore
THL
Thorsen
Thorson
tlen
tlib
tmperr
tmphdrfile
tmpptr
tmpsh
tmpst
tmu
tmz
tmzip
TNotify
TObject
TOCCSID
TOOBJ
TOOFAR
Toolflags
TOPDIR
topt
Torok
Torri
Toshiaki
tostring
totin
totout
totsym
Tracec
Tracecv
Tracev
Tracevv
Trampo
treebuild
tristanpenman
trnlnm
TRO
Truta
tryboth
TRYFREE
tstream
tttt
TURBOC
TWOBLUECUBES
txtvsbin
tyge
typedef'ed
typedefed
typedefs
TYPEDO
typeflag
typeresolution
ubbcluj
uch
uchf
Ucp
udpate
uft
uimports
ULARGE
ulg
ulongs
ulp
uncompr
uncompress
uncompressing
Uncompression
uncpr
uncpsize
uncrypt
undersubscribed
UNDNAME
UNDOCKEDREGFREEWINRT
ungobbled
unices
uninit
uninitialised
unistd
unixio
Unkn
Unmap
Unmarshal
unpacakged
Unrecognised
Unstreamable
UNSUPPRESS
untabify
untestd
untgz
unusued
unz
unzeof
unztell
updatewindow
upgradable
URng
usenix
userdata
Usermode
USEWIN
USEWINDOWS
ushf
UTILLIB
utimbuf
UWIN
UXP
UXTB
UXTH
vagul
Vainstein
Valgrind
valied
varargs
VARGS
varsize
vaxc
vaxcrtl
Vcdfimorst
VCL
VCRT
vda
vec
VERNUM
VERSIONHELPERAPI
VERSIONMADEBY
VFMADD
Viewbox
Virt
visualc
vlink
vmap
vmod
vms
vmsdefs
vnocompatwarnings
voidnp
voidp
voidpc
voidpf
VOLHDR
vollant
VPATH
vsconfig
vset
vstudio
vtables
Walles
Wassenhove
watcom
WATCOMC
wbits
wcc
WCE
wcl
wday
WDK
webdocs
weblogs
websites
Wegner
Weigelt
WFE
WFI
WFLAGS
whave
WIDECHAR
wikipedia
winapifamily
WINAPIV
windowbestlen
windowlen
windres
wingetutil
winimage
WINNT
winrtactlibx
winrtactx
WINSIZE
winstring
winver
winzip
withoutpath
wlib
wmake
wmask
wnext
Wojciech
woot
wopen
Wparentheses
wraplen
wrfsbase
wrgsbase
WRITEBUFFERSIZE
WRITECOMBINE
WRITECOPY
wsize
wstr
wtypesbase
wustl
Wvvvv
Wxxxxxxxxxxxxxxxxxxxxx
xar
xarch
XBEGIN
xbits
XBTS
xcode
XFL
xflag
xflgs
XLAT
xlc
XLEN
xmllite
xmlmultiple
xmlwriter
xmm
xop
xorl
xsom
xtarget
xtra
XTSTEP
xvmsutils
xxd
xxxx
xxxxxxx
xxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxxx
xxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxx
Yakimov
Yasuhiro
ycombinator
yperesolution
Zabolotny
zachary
zalloc
zbsm
ZCALLBACK
zcalloc
zcat
zcfree
zclose
zconfh
zconst
zcpr
ZCR
Zcrtdll
zdecode
zdef
zdll
zdoc
zencode
zerr
zerror
ZEXPORT
ZEXPORTVA
ZEXTERN
zfile
Zfname
zfree
zfstream
Zhu
ziinit
zilb
ZINCOUT
zinser
zipcharpc
zipfi
zipfile
zipfilename
zipfilenamearg
ziplib
zipok
zlb
zless
zlibd
zlibdefs
ZLIBIOAPI
zlibpas
zlibrc
zlibstatic
zlibvc
ZLIBWAPI
zmem
zmemcmp
zmemcpy
zmemzero
Znotfound
Zomf
zopen
Zouzou
zpipe
ZPOS
zprefix
zpull
zran
zread
zseek
zstate
zstream
zstreamp
zstrerror
zstringlen
zstrm
Zsuffix
ZSWAP
ztell
ztest
zutil
Zwin
zwrite
Previously acknowledged words that are now absent acl AFX anonymized asm badbit Baz brk Buf CDEF cend cfr chcp ci Concat cstdint Ctx curated CYRL dirs dw endian enums EQU ERANGE errno fd FSharp ftp GES gitlab Google gz htm img IObject jp KF Kp langs LATN lhs Lifecycle llvm localhost lw lz memcpy middleware msdn multimap mx nullopt NX openmode pb psd psm px pz qb rbegin readonly rhs SARL Screenshot semver serializer Shlobj streambuf strtoull SUSE textarea tpl typeof ubuntu uintptr ul UNSCOPED UPSERT uris URLs USHORT utils uuid virtualization vscode vy wcslen website wn Workflows zy :arrow_right:
Some files were automatically ignored

These sample patterns would exclude them:

^\Qsrc/PureLib/pure/AUTHORS\E$
^\Qsrc/PureLib/pure/zlib/contrib/blast/test.pk\E$
^\Qsrc/PureLib/pure/zlib/contrib/blast/test.txt\E$
^\Qsrc/PureLib/pure/zlib/contrib/masmx64/bld_ml64.bat\E$
^\Qsrc/PureLib/pure/zlib/contrib/puff/zeros.raw\E$

You should consider adding them to:

.github/actions/spelling/excludes.txt

File matching is via Perl regular expressions.

To check these files, more of their words need to be in the dictionary than not. You can use patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

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 powerShellAdmin 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/3605940685/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary

This includes both expected items (477) from .github/actions/spelling/expect.txt and unrecognized words (2160)

Dictionary Entries Covers
cspell:cpp/src/cpp.txt 30216 297
cspell:win32/src/win32.txt 53509 70
cspell:java/java.txt 7642 37
cspell:python/src/python/python-lib.txt 3873 36
cspell:php/php.txt 2597 36
cspell:python/src/common/extra.txt 741 14
cspell:r/src/r.txt 808 11
cspell:python/src/python/python.txt 453 8
cspell:scala/scala.txt 833 7
cspell:golang/go.txt 3412 6

Consider adding them using (in .github/workflows/spelling3.yml):

      with:
        extra_dictionaries:
          cspell:cpp/src/cpp.txt
          cspell:win32/src/win32.txt
          cspell:java/java.txt
          cspell:python/src/python/python-lib.txt
          cspell:php/php.txt
          cspell:python/src/common/extra.txt
          cspell:r/src/r.txt
          cspell:python/src/python/python.txt
          cspell:scala/scala.txt
          cspell:golang/go.txt

To stop checking additional dictionaries, add:

      with:
        check_extra_dictionaries: ''
Errors (4)

See the :open_file_folder: files view or the :scroll:action log for details.

:x: Errors Count
:information_source: binary-file 2
:x: check-file-path 9
:x: forbidden-pattern 21
:information_source: noisy-file 3

See :x: Event descriptions for more information.

If the flagged items are 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.txt file 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.txt file.

    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.

github-actions[bot] avatar Dec 02 '22 23:12 github-actions[bot]

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view or the :scroll:action log for details.

Unrecognized words (17)
AUTOLISTEN
HGlobal
ifspec
INVALIDSID
MSHCTX
MSHLFLAGS
ncacn
processthreadsapi
protseq
PTOKEN
REQS
shlobj
shtypes
STARTUPINFO
ULARGE
Unmarshal
wtypesbase
Previously acknowledged words that are now absent abortx ACTCTX ACTCTXW activatable activationregistration acw addl Addrs adr adrp AFXDLL Ahvenlampi AMicrosecond AMillisecond AMinute Andrzej Anisimkov APPCONTAINER appleclang APPNOTE APTTYPE APTTYPEQUALIFIER ASecond ASLR assertionhandler assertionresult atto autodeleted autoregistrar Autorelease AVX bbbbbiii bcc Beihang Bezier BFC bitfields bitnum bitpattern bjoern BLDNUM blitt blr blx Bmmmmm Borland BORLANDC Bson bugtraq bugzilla BXJ bytecount cachefly casestudies castleproject catchorg cbclr cbdata cbidh cbinh cbnz cbz cccc CDetour cdh cerrno CFBF CFull Chemeris chk CHR christop chstr CImage ciso clara Clarius CLASSNOTREG CLDB cleanupgroup CLion CMOVC CMOVE CMOVNA CMOVNAE CMOVNB CMOVNBE CMOVNC CMOVNE CMOVNG CMOVNGE CMOVNL CMOVNLE CMOVPE CMOVPO CMPS colourised combaseapi comutil COPYENTRY COPYFUNC corewrappers Cosmin cplusplus CPPUNWIND creatwth Crt crtdbg csbi cswinrt CTDQ ctxtcall cumn CVPI cxt Cybozu cygwin Darbois dbghelp DBHLPAPI dcompi ddi ddr Dellaca deoptimize deoptimized Deref derefence descr detourc detourd detver dfa dff DHelper disas disasm disolarm disolia disolx DJGPP Dmitriy dpi DProjection Dropbox dsh Dtr dwl Dxaml eax ecount EHa eief eip elease Elemar elems EMSCRIPTEN encodable eocdl eocdr EOR ERCIM erfinv Eron Evain evex executability extrq extwinrt fchkf femto ffe fff ffff fifield FLADD Flyout fpneon FSUBQ FWAIT Gailly gcc generatortracker getpid gettimeofday GLIBCXX GNUC GNUG GPto Greef HCORENUM hdr hhhddddd HIBYTE Highlighter Hildenborg Hlp hoehrmann hrsc IActivation iat IBTS icache ICallback ICEBP iconr icpc idh ifactory ifdefs iidp iiittttt IInspectable IIP IMAGEAPI imagehlp IMeta imm immhi immlo Infobuffer infozip Ingy inh INITGUID INPATHROOT Inproc insertq invisibles iqr IRefresh IRET Jazelle JELMER JETBRAINS jmpe JNA JNAE JNB JNBE JNC JNE JNG JNGE JNL JNLE Joran JPE JPO junitreport Kazuho Keio kinfo Kirill Kleinert Klomp Kohlhoff Krzemienski Kvp largefile lcase LDMIA ldr LDRD LDREX LDREXB LDREXD LDREXH LDRSW Lepilleur lfanew lfh libidentify libstd libstdc LINEINFO Llopis llu LNK LOBYTE LODS Lohmann Loitsch lom los LPAPI LPCVOID LPCWSTR Lpp LPPROCESS LPSECURITY LPSTARTUPINFOA LPSTARTUPINFOW lpv MAINSTA MAJORc MAKEINTRESOURCEW manip MASPS matchee maxed maxversiontested mayfail mbi MDs Micael milleniumbug milli minizip MINORc MINSIGSTKSZ Mitsunari modrm Moene movk movl movn MOVS movt movw movz MSCOREE MSIL MSVC mta Mula muppetlabs mwinrtact mwinrtactx nanoant NARGS nihilo nlohmann NOACCESS NOENLARGE NOFAIL NOINTERNAL NOLINT Nomssi noops NOPs noreturn Norwitz NOSTDOUT notnull NOTSIB novell nsamples nsstring NTA NTAPI nttp NUMBEROF nval Nyffenegger Nzali objc ofs oidp Oku onlinedocs ONSTACK OOXML Opc opcodes ORBIS Osma oss ostringstreams osvi OSX Outercurve OUTPATHROOT PACTIVATION pcch PCHAR PCHs pclr PCSTR pder PDETOUR pdi pdw PDWORD Pentium PEXCEPTION pfs PFUNC philsquared phstr pidh piid PIMAGE PIMAGEHLP pinh PINIT pkware PLABEL pld plp pmd pnh Polyline PPLABEL ppld ppp ppsz prefast PREFETCHINTA Prefs PRFM Processthreadsapi Prouse psects PSYMBOL pthread ptrace PULONG PUSHORT pwsz Pxx QNX Quines raddr Raiter rawtime rce rdfsbase rdgsbase rdpartysource REFCOPYENTRY REFGUID REGDB regfree reimplementation remoting REPE REVSH rguid rlp roapi rometadataresolution ROUTINEA ROUTINEW Rrtd RSDS RSQRTTS rundll rva RWTH saveopt SCAS securityfocus SEH SEV Shigeo Shlobj shouldfail sigaction sigaltstack skipq SManifest sptk sqcb SSAT sstr STARTUPINFOA STARTUPINFOW stdbool stddef stdint STEDD STOS STRB STRD strerror STREX STREXB STREXD STREXH STRH stringification STRINGIFIER STRINGMAKERS stringref strneq strnlen strsafe Strzelecki suse Svensson swtch SXTB SXTH SYMOPT synchapi syscalls sysnative syswow tbb tbd TBH TBNZ tbz Tencent Terje testcase testframework testsuite textflow textflowcpp THL Thorson tostring Trampo tristanpenman TRO Truta TWOBLUECUBES Typedefs typeresolution uimports ulp UNDNAME UNDOCKEDREGFREEWINRT unices uninit unistd Unmap Unrecognised Unstreamable UNSUPPRESS untestd URng usenix userdata Usermode UXTB UXTH Vainstein VARGS VCRT vec VERSIONHELPERAPI VFMADD Viewbox Virt Vollant vtables webdocs WFE WFI winimage WINNT winrtactlibx winrtactx winstring winver Wojciech woot Wparentheses wrfsbase wrgsbase WRITECOMBINE WRITECOPY wstr Wvvvv Wxxxxxxxxxxxxxxxxxxxxx xar XBEGIN XBTS XCode XLAT xmllite xmlwriter xmm xop xxxx xxxxxxx xxxxxxxx xxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx Yasuhiro ycombinator yperesolution zalloc zbsm zfree :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 powerShellAdmin 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/3605963171/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary

This includes both expected items (996) from .github/actions/spelling/expect.txt and unrecognized words (17)

Dictionary Entries Covers
cspell:cpp/src/cpp.txt 30216 27
cspell:win32/src/win32.txt 53509 21
cspell:python/src/python/python-lib.txt 3873 7
cspell:php/php.txt 2597 6
cspell:java/java.txt 7642 5
cspell:python/src/python/python.txt 453 3
cspell:python/src/common/extra.txt 741 3
cspell:golang/go.txt 3412 3
cspell:django/django.txt 859 3
cspell:typescript/typescript.txt 1211 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:golang/go.txt
          cspell:django/django.txt
          cspell:typescript/typescript.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.txt file 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.txt file.

    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.

github-actions[bot] avatar Dec 03 '22 00:12 github-actions[bot]

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view or the :scroll:action log for details.

Unrecognized words (7)

AUTOLISTEN ifspec MSHCTX MSHLFLAGS protseq REQS ULARGE

Previously acknowledged words that are now absent abortx ACTCTX ACTCTXW activatable activationregistration acw addl Addrs adr adrp AFXDLL Ahvenlampi AMicrosecond AMillisecond AMinute Andrzej Anisimkov APPCONTAINER appleclang APPNOTE APTTYPE APTTYPEQUALIFIER ASecond ASLR assertionhandler assertionresult atto autodeleted autoregistrar Autorelease AVX bbbbbiii bcc Beihang Bezier BFC bitfields bitnum bitpattern bjoern BLDNUM blitt blr blx Bmmmmm Borland BORLANDC Bson bugtraq bugzilla BXJ bytecount cachefly casestudies castleproject catchorg cbclr cbdata cbidh cbinh cbnz cbz cccc CDetour cdh cerrno CFBF CFull Chemeris chk CHR christop chstr CImage ciso clara Clarius CLASSNOTREG CLDB cleanupgroup CLion CMOVC CMOVE CMOVNA CMOVNAE CMOVNB CMOVNBE CMOVNC CMOVNE CMOVNG CMOVNGE CMOVNL CMOVNLE CMOVPE CMOVPO CMPS colourised combaseapi comutil COPYENTRY COPYFUNC corewrappers Cosmin cplusplus CPPUNWIND creatwth Crt crtdbg csbi cswinrt CTDQ ctxtcall cumn CVPI cxt Cybozu cygwin Darbois dbghelp DBHLPAPI dcompi ddi ddr Dellaca deoptimize deoptimized Deref derefence descr detourc detourd detver dfa dff DHelper disas disasm disolarm disolia disolx DJGPP Dmitriy dpi DProjection Dropbox dsh Dtr dwl Dxaml eax ecount EHa eief eip elease Elemar elems EMSCRIPTEN encodable eocdl eocdr EOR ERCIM erfinv Eron Evain evex executability extrq extwinrt fchkf femto ffe fff ffff fifield FLADD Flyout fpneon FSUBQ FWAIT Gailly gcc generatortracker getpid gettimeofday GLIBCXX GNUC GNUG GPto Greef HCORENUM hdr hhhddddd HIBYTE Highlighter Hildenborg Hlp hoehrmann hrsc IActivation iat IBTS icache ICallback ICEBP iconr icpc idh ifactory ifdefs iidp iiittttt IInspectable IIP IMAGEAPI imagehlp IMeta imm immhi immlo Infobuffer infozip Ingy inh INITGUID INPATHROOT Inproc insertq invisibles iqr IRefresh IRET Jazelle JELMER JETBRAINS jmpe JNA JNAE JNB JNBE JNC JNE JNG JNGE JNL JNLE Joran JPE JPO junitreport Kazuho Keio kinfo Kirill Kleinert Klomp Kohlhoff Krzemienski Kvp largefile lcase LDMIA ldr LDRD LDREX LDREXB LDREXD LDREXH LDRSW Lepilleur lfanew lfh libidentify libstd libstdc LINEINFO Llopis llu LNK LOBYTE LODS Lohmann Loitsch lom los LPAPI LPCVOID LPCWSTR Lpp LPPROCESS LPSECURITY LPSTARTUPINFOA LPSTARTUPINFOW lpv MAINSTA MAJORc MAKEINTRESOURCEW manip MASPS matchee maxed maxversiontested mayfail mbi MDs Micael milleniumbug milli minizip MINORc MINSIGSTKSZ Mitsunari modrm Moene movk movl movn MOVS movt movw movz MSCOREE MSIL MSVC mta Mula muppetlabs mwinrtact mwinrtactx nanoant NARGS nihilo nlohmann NOACCESS NOENLARGE NOFAIL NOINTERNAL NOLINT Nomssi noops NOPs noreturn Norwitz NOSTDOUT notnull NOTSIB novell nsamples nsstring NTA NTAPI nttp NUMBEROF nval Nyffenegger Nzali objc ofs oidp Oku onlinedocs ONSTACK OOXML Opc opcodes ORBIS Osma oss ostringstreams osvi OSX Outercurve OUTPATHROOT PACTIVATION pcch PCHAR PCHs pclr PCSTR pder PDETOUR pdi pdw PDWORD Pentium PEXCEPTION pfs PFUNC philsquared phstr pidh piid PIMAGE PIMAGEHLP pinh PINIT pkware PLABEL pld plp pmd pnh Polyline PPLABEL ppld ppp ppsz prefast PREFETCHINTA Prefs PRFM Processthreadsapi Prouse psects PSYMBOL pthread ptrace PULONG PUSHORT pwsz Pxx QNX Quines raddr Raiter rawtime rce rdfsbase rdgsbase rdpartysource REFCOPYENTRY REFGUID REGDB regfree reimplementation remoting REPE REVSH rguid rlp roapi rometadataresolution ROUTINEA ROUTINEW Rrtd RSDS RSQRTTS rundll rva RWTH saveopt SCAS securityfocus SEH SEV Shigeo Shlobj shouldfail sigaction sigaltstack skipq SManifest sptk sqcb SSAT sstr STARTUPINFOA STARTUPINFOW stdbool stddef stdint STEDD STOS STRB STRD strerror STREX STREXB STREXD STREXH STRH stringification STRINGIFIER STRINGMAKERS stringref strneq strnlen strsafe Strzelecki suse Svensson swtch SXTB SXTH SYMOPT synchapi syscalls sysnative syswow tbb tbd TBH TBNZ tbz Tencent Terje testcase testframework testsuite textflow textflowcpp THL Thorson tostring Trampo tristanpenman TRO Truta TWOBLUECUBES Typedefs typeresolution uimports ulp UNDNAME UNDOCKEDREGFREEWINRT unices uninit unistd Unmap Unrecognised Unstreamable UNSUPPRESS untestd URng usenix userdata Usermode UXTB UXTH Vainstein VARGS VCRT vec VERSIONHELPERAPI VFMADD Viewbox Virt Vollant vtables webdocs WFE WFI winimage WINNT winrtactlibx winrtactx winstring winver Wojciech woot Wparentheses wrfsbase wrgsbase WRITECOMBINE WRITECOPY wstr Wvvvv Wxxxxxxxxxxxxxxxxxxxxx xar XBEGIN XBTS XCode XLAT xmllite xmlwriter xmm xop xxxx xxxxxxx xxxxxxxx xxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx Yasuhiro ycombinator yperesolution zalloc zbsm zfree :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 powerShellAdmin 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/3605998102/attempts/1'
Available :books: dictionaries could cover words not in the :blue_book: dictionary

This includes both expected items (996) from .github/actions/spelling/expect.txt and unrecognized words (7)

Dictionary Entries Covers
cspell:cpp/src/cpp.txt 30216 27
cspell:win32/src/win32.txt 53509 19
cspell:python/src/python/python-lib.txt 3873 7
cspell:php/php.txt 2597 6
cspell:java/java.txt 7642 5
cspell:python/src/python/python.txt 453 3
cspell:python/src/common/extra.txt 741 3
cspell:golang/go.txt 3412 3
cspell:django/django.txt 859 3
cspell:typescript/typescript.txt 1211 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:golang/go.txt
          cspell:django/django.txt
          cspell:typescript/typescript.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.txt file 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.txt file.

    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.

github-actions[bot] avatar Dec 03 '22 00:12 github-actions[bot]