The new file naming conventions for WinGet configurations files are: - Use the `.winget` extension instead of `.dsc.yaml`. This allows user to run the configuration directly from the file explorer. - The configurations should be placed in a `.config` directory in the root of the repository. Reference: https://learn.microsoft.com/en-us/windows/package-manager/configuration/create#file-naming-convention This commit also removes `allowPrerelease: true` directive from the `Microsoft.WinGet.DSC` resource. The Microsoft.WinGet.DSC module is GA (stable) so the directive is no longer needed. See https://www.powershellgallery.com/packages/Microsoft.WinGet.DSC/ For reference, maintainers may see these recommendations enacted in the following Microsoft repositories: - WinGet CLI: https://github.com/microsoft/winget-cli/tree/master/.config - WinGet Packages: https://github.com/microsoft/winget-pkgs/tree/master/.config - WinGet Create: https://github.com/microsoft/winget-create/tree/main/.config - PowerToys: https://github.com/microsoft/PowerToys/tree/main/.config Change-Id: Ib88598f5fb93b1bb0ed1b608e0d690c196cf9b80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182675 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
|
|
|
|
# This configuration is for a minimal installation of Visual Studio meant for CI use or setups with
|
|
# remote access with no need for convenience features of the IDE. It installs the dependencies
|
|
# without additional recommended packages. If you want to use the IDE to edit code, you probably
|
|
# want to use the regular configuration.winget (or launch Visual Studio Installer afterwards, pick
|
|
# modify and then unselect and reselect the "Desktop Development with C++" workload)
|
|
|
|
properties:
|
|
resources:
|
|
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
|
id: VisualStudio
|
|
directives:
|
|
description: Install Visual Studio 2022 Community
|
|
settings:
|
|
id: Microsoft.VisualStudio.2022.Community
|
|
source: winget
|
|
- resource: Microsoft.VisualStudio.DSC/VSComponents
|
|
id: minimal LibreOffice Components
|
|
dependsOn:
|
|
- VisualStudio
|
|
directives:
|
|
description: Install components required to build LibreOffice
|
|
settings:
|
|
productId: Microsoft.VisualStudio.Product.Community
|
|
channelId: VisualStudio.17.Release
|
|
vsConfigFile: '${WinGetConfigRoot}\2022_cross.vsconfig'
|
|
configurationVersion: 0.2.0
|