mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-29 21:00:46 +00:00

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 typical end-user installation of Visual Studio Community 2022 with the
|
|
# required components to build LibreOffice, excluding the components to cross-compile for ARM64
|
|
# It includes recommended packages as if you had selected the "Desktop development with C++"
|
|
# workload in the in the UI driven installer.
|
|
|
|
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: LibreOffice Components including recommended packages
|
|
dependsOn:
|
|
- VisualStudio
|
|
directives:
|
|
description: Install components required to build LibreOffice, including recommended ones
|
|
settings:
|
|
productId: Microsoft.VisualStudio.Product.Community
|
|
channelId: VisualStudio.17.Release
|
|
vsConfigFile: '${WinGetConfigRoot}\2022.vsconfig'
|
|
IncludeRecommended: true
|
|
configurationVersion: 0.2.0
|