okay, so i have a project with a mix of python, go...
# general
f
okay, so i have a project with a mix of python, go, jsonnet and a whole giant heap of bash scripts that are written with the gnu variants of coreutils + friends in mind now ā€” iā€™m almost settled on for mac laptops to provide a complete user installed shell + coreutils setup through an isolated homebrew instance (talk me out of it please šŸ˜‚) any pointers on how to provide such a dependency conditionally based on pants is running on laptop va ci? or is there some other tree i should be barking up at? šŸ˜ thanks in advance šŸ™
h
iā€™m almost settled on for mac laptops to provide a complete user installed shell + coreutils setup through an isolated homebrew instance
@enough-analyst-54434 has thoughts on macOS šŸ˜‰ Personally, I love macOS, but not for technical reasons. More for things like integration with iOS, and the trackpad. And M1s are wicked fast At Toolchain, we have a Brewfile we use for our mac developers w/ isolated homebrew. One thing to consider is that your production environment is likely to be Linux, right?
f
that is entirely correct
h
what's the motivation for using macs for all your devs? would they have access to something like a Linux dev box?
f
yeah, i think the choice of using standard tooling vs gnu in PATH is not possible to standardise, and ā€” i was hoping with something like pants that we did not have to, if the premise is that everything ideally would be run by pants
all developers have macs at our org, and M1s are getting added as laptops are replaced at a pretty quick pace
e
I definitely have no understanding of wanting to run a foreign OS as your dev env. But it seems like everyone thinks this is a good idea.
āž• 1
šŸ˜† 3
f
good idea, or unfortunate requirement? ā€” either way, here we are šŸ¤Ŗ
so ā€” just as a poc and a quick hack ā€” would it be possible through a macro that defines different configurations of the same dependency based on the os or env var perhaps?
h
Would what in specific be possible?
f
iā€™m thinking ā€” on linux do pretty much nothing, or perhaps copy in a file or something and on macos ā€” unpack a bundle from some external source and setup PATH accordingly