mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-26 15:45:26 +00:00
Make WinGet config files consistent with new recommendations
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
This commit is contained in:

committed by
Christian Lohmaier

parent
3d3d093e99
commit
b4fd0468f6
@ -4,7 +4,6 @@
|
||||
# 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.
|
||||
# (the allowPrerelease directive refers to the DSC module)
|
||||
|
||||
properties:
|
||||
resources:
|
||||
@ -12,12 +11,11 @@ properties:
|
||||
id: VisualStudio
|
||||
directives:
|
||||
description: Install Visual Studio 2022 Community
|
||||
allowPrerelease: true
|
||||
settings:
|
||||
id: Microsoft.VisualStudio.2022.Community
|
||||
source: winget
|
||||
- resource: Microsoft.VisualStudio.DSC/VSComponents
|
||||
id: LibreOffice Components including recommended packages
|
||||
id: LibreOffice Components including recommended packages
|
||||
dependsOn:
|
||||
- VisualStudio
|
||||
directives:
|
@ -3,9 +3,8 @@
|
||||
# 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.dsc.yaml (or launch Visual Studio Installer afterwards, pick
|
||||
# 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)
|
||||
# (the allowPrerelease directive refers to the DSC module)
|
||||
|
||||
properties:
|
||||
resources:
|
||||
@ -13,12 +12,11 @@ properties:
|
||||
id: VisualStudio
|
||||
directives:
|
||||
description: Install Visual Studio 2022 Community
|
||||
allowPrerelease: true
|
||||
settings:
|
||||
id: Microsoft.VisualStudio.2022.Community
|
||||
source: winget
|
||||
- resource: Microsoft.VisualStudio.DSC/VSComponents
|
||||
id: minimal LibreOffice Components
|
||||
id: minimal LibreOffice Components
|
||||
dependsOn:
|
||||
- VisualStudio
|
||||
directives:
|
Reference in New Issue
Block a user