Open benbrittain opened 2 weeks ago
The tool that our toolchain points to is this one. I could hypothetically copy that into the prelude and claim that you're now better supported, but that would require a bootstrap java toolchain or something like that which is a road I really don't think we want to go down in the prelude. You of course still have the option to do that in your own repo if you like.
Probably someone should rewrite that thing into python (or even better, modify the rule to just accept a standard zip
tool).
Probably the zip rules should be removed then? They are just kinda api noise for open source if they aren't functional.
The prelude rule for
zip_file
looks like it's been partially exported.It looks like the toolchain target that is used internal to Meta is called
fbsource//xplat/buck2/platform/zip_file:zip_file
. I'm pretty sure the rule can't be used without it, the arguments don't refer to a zip tool I'm aware of. I'd guess it's a python wrapper around the zip tool itself.