would take a look at what the failing workspace lo...
# development
w
would take a look at what the failing workspace looks like
h
Sorry what does this mean?
w
using:
Copy code
--[no-]process-execution-cleanup-local-dirs (default: True)
   Whether or not to cleanup directories used for local process execution
   (primarily useful for e.g. debugging).
👌 1
does the execution directory contain the right things in the right places?
etc
if not, hacks with subprocessed bash scripts to manipulate the workspace will go a fairly long way... and then we can follow up to either add intrinsics to create files inside of a Snapshot, or whatever else turns out to be necessary.
except that it would run in-memory on the Snapshot that is inputed to pex building
...oh. actually, it's probably that the source roots need to be applied: https://www.pantsbuild.org/setup_repo.html#source-roots
h
Yes I think that is the issue
w
@hundreds-father-404: would you mind opening a ticket about that one, and pinging DWH with it?
👍 1
we might want to consider making a target's source Snapshot relative to its source root in all cases
but if not, he'll have thoughts on the API to add to re-relativize
until then, it's probably possible to do this with bash or a subprocessed python script.