forked from microsoft/PowerToys
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into FileOrganizer-early-proof-of-concept
- Loading branch information
Showing
228 changed files
with
7,236 additions
and
2,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -263,6 +263,10 @@ onefuzz | |
|
||
# NameInCode | ||
leilzh | ||
mengyuanchen | ||
|
||
# DllName | ||
testhost | ||
|
||
#Tools | ||
OIP | ||
OIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
.pipelines/v2/templates/steps-download-artifacts-with-azure-cli.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
parameters: | ||
- name: artifactName | ||
type: string | ||
default: "" | ||
|
||
# Why use az cli to download? → The ARM agent may run into OutOfMemory issues. | ||
# Why use the Azure CLI ZIP version? → It comes with its own Python and works fine under emulation on ARM64. | ||
# Why not use AzureCLI@2 task? → It requires azureSubscription, which is unnecessary for downloading artifacts. | ||
|
||
steps: | ||
- powershell: | | ||
Write-Host "Downloading Azure CLI ZIP..." | ||
$azCliUrl = "https://aka.ms/installazurecliwindowszipx64" | ||
$azCliZip = "$(Build.ArtifactStagingDirectory)\azure-cli.zip" | ||
Invoke-WebRequest -Uri $azCliUrl -OutFile $azCliZip | ||
displayName: 'Install Azure CLI from ZIP' | ||
|
||
- task: ExtractFiles@1 | ||
inputs: | ||
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)\azure-cli.zip' | ||
destinationFolder: '$(Build.ArtifactStagingDirectory)\AzureCLI' | ||
|
||
- pwsh: | | ||
$azureCliPath = "$(Build.ArtifactStagingDirectory)\AzureCLI\bin" | ||
$env:Path = "$azureCliPath;" + $env:Path | ||
Write-Host "Configuring Azure DevOps defaults..." | ||
az devops configure --defaults organization='$(System.TeamFoundationCollectionUri)' project='$(System.TeamProject)' --use-git-aliases true | ||
Write-Host "Downloading artifacts..." | ||
az pipelines runs artifact download --artifact-name ${{parameters.artifactName}} --path "$(Pipeline.Workspace)/${{parameters.artifactName}}" --run-id $(Build.BuildId) --debug | ||
displayName: 'Download artifacts with Azure CLI' | ||
env: | ||
AZURE_DEVOPS_EXT_PAT: $(System.AccessToken) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a3f9c60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
🔴 Please review
See the 📜action log or 📝 job summary for details.
Unrecognized words (4)
cgaarden
HIDELABEL
ICONFILE
ISIOI
These words are not needed and should be removed
ahk AMPROPERTY AMPROPSETID Breadcrumb CDEF comdef ddf devenum DEVMON DEVSOURCE DGR DIIRFLAG dshow DVH DVHD DVSD DVSL EData ERole fdw FILEINFOSIG Filtergraph Filterx HCERTSTORE IKs iljxck IYUV KSPROPERTY lcb ldx lld LONGLONG LTRB majortype makecab MEDIASUBTYPE mediatype mfplat mic mjpg Msimg msiquery ORAW outpin overlaywindow PAUDIO PINDIR Pnp ppmt previouscamera PROPBAG propvarutil reencoded REFGUID REGFILTER REGFILTERPINS REGPINTYPES regsvr shmem sizeread stl strsafe strutil subquery SYNCMFT TMPVAR vcdl vdi vid VIDCAP VIDEOINFOHEADER vih webcam wistd WVCTo accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands
... in a clone of the git@github.com:cgaarden/PowerToys.git repository
on the
FileOrganizer-early-proof-of-concept
branch (ℹ️ how do I use this?):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.