Skip to content

Proposal: use bash on windows for configure #2071

@msarahan

Description

@msarahan

Allowing variable overrides in batch scripts is hairy because of the need for complicated startlocal enabledelayedexpansion stuff. It makes our scripts fragile and limits the number of people who are willing to work on them. I propose that we cut configure.cmd completely, and run configure.sh on all platforms.

What this requires is the use of msys2 or git for windows. WSL is not useful here, it behaves like a linux system for the sake of our scripts instead of a bash-on-windows thing.

We clearly can't require this on end user systems for our quarto.cmd script. This proposal is only for development. The quarto.cmd script doesn't present the same override headaches anyway, so it's not a big deal there.

I will put up a PR showing that configure.sh can run fine on windows. If that is satisfactory, then maybe we can consider removing configure.cmd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinstallersissues with packages from package managers, installers, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions