i want to repackage some of the pants rust code (p...
# development
c
i want to repackage some of the pants rust code (probably something like
src/rust/engine/{fs,process_execution,process_executor}/
) for other rust programs; for example, a few years ago i wrote scala bindings for snapshot manipulation and process execution as part of https://github.com/cosmicexplorer/upc. iirc this use case is intentionally not supported so i understand the API will remain unstable etc--just wanted to give a heads up in case someone else was working on this already
i would publish it under the same license, with attribution etc ofc
in particular i had been working on https://github.com/cosmicexplorer/medusa-zip which is a really natural fit for the virtual fs magic pants does
and after seeing in particular https://github.com/pantsbuild/pants/pull/19424 recently from @broad-processor-92400 it seemed like there are also caching optimizations in the works e.g. hardinks to large files that i would want to take advantage of instead of reimplementing by hand in my own code
but again i understand this is unsupported
nobody is gonna use this code to be clear i'm just messin around atm
f
Why don’t we just publish them as crates on crates.io?
c
perhaps for the reasons given above about API stability, to not be hindered by backwards compatibility issues for published crates?