hundreds-carpet-28072
05/03/2023, 9:47 AMscie-pants but would like a better way to pin the version of the launcher. Are there plans to accommodate this in pants.toml and via the get-pants script? (https://github.com/pantsbuild/setup/blob/gh-pages/get-pants.sh)refined-addition-53644
05/03/2023, 11:15 AM-V when installing using get-pants . There are more options available, just download the script and pass -h
./get-pants.sh -h
Usage: ./get-pants.sh
Installs the pants launcher binary.
You only need to run this once on a machine when you do not have "pants"
available to run yet.
The pants binary takes care of managing and running the underlying
Pants version configured in "pants.toml" in the surrounding Pants-using
project.
Once installed, if you want to update your "pants" launcher binary, use
"SCIE_BOOT=update pants" to get the latest release or
"SCIE_BOOT=update pants --help" to learn more options.
-h | --help: Print this help message.
-d | --bin-dir:
The directory to install the scie-pants binary in, "~/bin" by default.
-b | --base-name:
The name to use for the scie-pants binary, "pants" by default.
-V | --version:
The version of the scie-pants binary to install, the latest version by default.
The available versions can be seen at:
<https://github.com/pantsbuild/scie-pants/releases>hundreds-carpet-28072
05/03/2023, 11:16 AM-V via a middleman script. I thought that it would be good to have this stored in pants.toml alongside pants_version ?refined-addition-53644
05/03/2023, 11:18 AMpants.toml only comes into action when you have already installed scie-pants itself.hundreds-carpet-28072
05/03/2023, 3:08 PMpants.toml but for reproducibility it would be nice to be able to pin the launcher version somewherewitty-crayon-22786
05/03/2023, 4:08 PMhundreds-carpet-28072
05/03/2023, 4:11 PM./pants script, we would include the commit hash that that specific script was from. It would be nice to pin the launcher version in so as to keep complete reproducibilitywitty-crayon-22786
05/03/2023, 4:13 PMinit-pants action for CI: https://github.com/pantsbuild/example-python/blob/main/.github/workflows/pants.yaml#L30hundreds-carpet-28072
05/03/2023, 4:16 PM