https://pantsbuild.org/ logo
#general
Title
# general
f

flaky-beard-52072

04/11/2023, 11:49 PM
is this design doc the best thing to read on how the environment stuff works under the hood? I'm interested in understanding how it compares to platforms & transitions in bazel.
b

busy-vase-39202

04/12/2023, 6:19 AM
@witty-crayon-22786 is probably the authority on environments
🙏🏼 1
w

witty-crayon-22786

04/12/2023, 4:34 PM
@flaky-beard-52072: assuming that you’ve already read https://www.pantsbuild.org/docs/environments , then yea: that’s probably the best reference on implementation. not completely up to date, but.
the largest difference that i’m aware of is that multiple environments may be used concurrently in one Pants build, while in Bazel, the host and target platforms are global settings
i.e., you can concurrently build for both macOS and Linux via docker or a remote environment.
f

flaky-beard-52072

04/12/2023, 4:37 PM
yeah I've read blog post & docs but was left with questions. probably the right move is to play with the feature instead of pontificate!
w

witty-crayon-22786

04/12/2023, 4:37 PM
happy to talk about it after you’ve experimented a bit, yea. thanks!
f

flaky-beard-52072

04/12/2023, 4:39 PM
that'll be a while 😶
3 Views