kishorekumar-anchala
5e9605c7dc
Fix vs signature issue ( #10593 )
2024-09-11 17:50:40 +05:30
Congyi Wu
5ecfd27e8f
VisualStudioHelpers.ps1 stop enabling 8.3 filename creation ( #9862 )
...
The bug that prompted enabling 8.3 filename creation was fixed 5 years ago, see https://github.com/xamarin/xamarin-android/issues/3407 :
> Fix included in Xamarin.Android 10.1.0.30.
>
> Fix included on Windows in Visual Studio 2019 version 16.4.
We're on VS 2019 16.11: 9815039618/images/windows/Windows2019-Readme.md (L233)
8.3 filename creation is known to hurt file creation performance, especially when there are a large number of similarly named files in the same folder:
* https://learn.microsoft.com/en-us/archive/blogs/josebda/windows-server-2012-file-server-tip-disable-8-3-naming-and-strip-those-short-names-too
* https://www.linkedin.com/pulse/dont-forget-disable-short-filenames-83-servers-folders-wes-brown
* https://deep.data.blog/2013/06/19/debugging-story-slowness-due-to-ntfs-short-file-8-3-name-generation/
I created a new VM with the base Azure Marketplace Windows 2019 image and confirmed that 8.3 name generation is disabled by default for both the OS and temp disk:
```
fsutil 8dot3name query C:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).
Based on the above settings, 8dot3 name creation is disabled on C:
fsutil 8dot3name query D:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).
Based on the above settings, 8dot3 name creation is disabled on D:
```
This might help a bit with https://github.com/actions/cache/issues/752 , although I haven't tested it, and AFAICT it's unlikely make an order of magnitude difference.
2024-05-16 18:32:15 +02:00
Erik Bershel
dafa292860
[Windows] Force Resolve-ChocoPackageVersion function to use CLI ( #9605 )
2024-04-02 23:37:28 +02:00
Shamil Mubarakshin
ebef5f5fee
[windows] Add dynamic path for Get-ToolsetContent ( #9147 )
...
* [windows] Add dynamic path for Get-ToolsetContent
* Add missing variable in win22 template
2024-01-12 12:31:21 +01:00
Erik Bershel
cd286f70f7
[Windows] Force Chocolatey to check packages hashes ( #9020 )
2023-12-15 00:28:36 +01:00
Vasilii Polikarpov
7fe65a2204
[Windows] Apply code style rules to Windows scripts ( #8957 )
...
* Apply code style rules to Windows scripts
* Fix typo
* Fix configure-toolset script
* Fix parameters in Msys2 installation script
* Improve log readability
* Remove broken exit code validation
2023-12-11 22:23:36 +01:00
Erik Bershel
f28573731f
[Windows] Update Resolve-GithubReleaseAssetUrl function ( #8981 )
2023-12-11 11:59:52 +01:00
Vasilii Polikarpov
5ed2615017
[Windows] Cleanup various scripts ( #8942 )
...
* Use Resolve-GithubReleaseAssetUrl more widely
* Add the Get-ChecksumFromUrl function
* Sort exported functions and add docs
* Remove alias and fix typo
* Fix kind checksum url and syntax
* Fix checksums url for gh cli and msys2
* [Windows] Cleanup various scripts
* Add spaces after type specifications
* Rename the Take-Part function
2023-12-04 10:50:53 +01:00
Vasilii Polikarpov
d86c4900fa
[Windows] Update functions that get urls and hashes from Github ( #8917 )
...
* [Windows] Update function to get hash from github
* Remove redundant function and add documentation
* Fix aws-sam-cli url
2023-11-30 17:12:17 +01:00
Vasilii Polikarpov
eb0e4ff100
[Windows] Move Android and VS helpers to dedicated files ( #8903 )
2023-11-30 16:53:16 +01:00
Vasilii Polikarpov
92e22bd8c6
[Windows] Refactor helpers that verify hashsum and signature ( #8886 )
2023-11-30 09:22:14 +01:00
Vasilii Polikarpov
7dba8776df
[Windows] Rename and refactor downloading function ( #8906 )
2023-11-29 13:02:29 +01:00
Vasilii Polikarpov
bfe32a2b12
[Windows] Refactor PATH helpers ( #8885 )
2023-11-29 13:00:16 +01:00
Vasilii Polikarpov
c73276d3f6
[Windows] Rename the Invoke-SBWithRetry function ( #8880 )
2023-11-29 12:58:37 +01:00
Vasilii Polikarpov
da1c04b81a
[Windows] Reimplement function resolving GH asset ( #8899 )
...
* [Windows] Reimplement function resolving GH asset
* Fix tests and software report
* Fix selenium-server version check
2023-11-28 15:08:03 +01:00
Vasilii Polikarpov
e1e621e78c
[Windows] Update helper function that returns Windows Update states ( #8878 )
2023-11-27 12:29:42 +01:00
Vasilii Polikarpov
12066050d0
[Windows] Refactor script installing Android SDK and packages ( #8877 )
2023-11-27 12:28:21 +01:00
Vasilii Polikarpov
79c347765a
[Windows] Unify services handling ( #8871 )
...
* [Windows] Unify services handling
* Fix Set-Service usage
2023-11-23 18:08:20 +01:00
Vasilii Polikarpov
6efbc46fc7
[Windows] Update helper name to Expand-7ZipArchive ( #8875 )
...
* [Windows] Update helper name to Expand-7ZipArchive
* Fix typo
2023-11-23 11:59:49 +01:00
Vasilii Polikarpov
64d5d2c1f4
[Windows] Rename ToolCache path helpers ( #8874 )
2023-11-23 11:59:08 +01:00
Vasilii Polikarpov
1254bc94a5
[Windows] Split VSIX installation helper into two ( #8872 )
2023-11-23 11:58:34 +01:00
Vasilii Polikarpov
d3e630f774
[Windows] Implement installation helpers refactoring ( #8865 )
...
* [Windows] Refactor base Installer helper functions
* Fix helper name
* Fix name gen logic and improve error handling
* Fix hash checking logic
* Fix Install-VsixExtension invocation
* Fix variable name in Install-OpenSSL.ps1
* Fix type for git downloadUrl
2023-11-22 15:14:08 +01:00
Vasilii Polikarpov
07e8da79f8
[Windows] Use common approach to set machine vars ( #8830 )
2023-11-17 13:52:52 +01:00
Vasilii Polikarpov
0263bdd53e
[Windows] Rename image build scripts ( #8808 )
2023-11-16 11:20:11 +01:00
Vasilii Polikarpov
d1f2c9a3be
[Windows] Implement new directories hierarchy ( #8616 )
2023-11-15 11:24:45 +01:00