VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • pkgs
  • enabled
  • opts

Was this helpful?

  1. Modules
  2. Module settings
  3. Global settings

msys2 settings

Previousenv settingsNextnix settings

Last updated 4 years ago

Was this helpful?

Allow managing .

msys2 is only available for Windows.

pkgs

pkgs allow installing some .

You need to specify the name of the packages to install.

A simple example, in the file to ask to install the in the python3module:

vscode-anywhere:
    python3:
        enabled: True
        msys2:
            pkgs:
                opts:
                    global: {}
                    install: {}
                    update: {}
                    uninstall: {}
                python3:
                    enabled: True
                    opts:
                        global: {}
                        install:
                            version: "3.8.2-1"
                        update:
                            version: "3.8.2-1"
                        uninstall: {}

enabled

True to enable, False to skip (default to False).

opts

opts is not mandatory but allows to pass extra args.

Global packages settings

  • msys2:pkgs:opts:global: allow passing arguments to all msys2 packages when installing, updating, or uninstalling a package

Specific packages settings

  • msys2:pkgs:<mypkg>:opts:global: allow passing arguments to <mypkg> msys2 package when installing, updating, or uninstalling the package

This is just an example, if you do that you will have 2 python packages installed. One by and another one by msys2.

Extra args can be arguments described in the or can be .

is not an official Saltstack states but a custom states written for VSCode-Anywhere.

msys2:pkgs:opts:install: allow passing arguments to all msys2 packages when installing a package (cf function)

msys2:pkgs:opts:update: allow passing arguments to all msys2 packages when updating a package (cf function)

msys2:pkgs:opts:uninstall: allow passing arguments to all msys2 packages when uninstalling a package (cf function)

msys2:pkgs:<mypkg>:opts:install: allow to pass arguments to <mypkg> msys2 packages when installing the package (cf function)

msys2:pkgs:<mypkg>:opts:update: allow to pass arguments to <mypkg> msys2 packages when updating the package (cf function)

msys2:<mypkg>:opts:uninstall: allow to pass arguments to <mypkg> msys2 packages when uninstalling the package (cf function)

scoop
Saltstack msys2 states
global Saltstack arguments
msys2
pkg_installed
pkg_latest
pkg_removed
pkg_installed
pkg_latest
pkg_removed
msys2
msys2 packages
msys2 python 3.8.2-1 package
vscode-anywhere.sls