broad-processor-92400
03/31/2023, 5:22 AM<http://path.to|path.to>.some/target.pex
), which seems moderately unfortunate from a caching perspective. https://github.com/pantsbuild/pants/blob/1f4b040ba4e3e875d1b08c6c1d6bbbccc6538f0e/src/python/pants/backend/python/util_rules/pex.py#L572-L573
For instance: if a build target is renamed, or if multiple targets end up building the same PEX (e.g. multiple include_sources=False
pexes that happen to have the same set of 3rd party requirements would be convenient to share from each other).
Is that output path doing something other than moving the file around? As in, could it be fixed for the process invocation, and the renaming managed outside?enough-analyst-54434
03/31/2023, 5:41 AMbroad-processor-92400
03/31/2023, 7:32 AMAddPrefix
and RemovePrefix
, but my searches for "move", "rename" don't find anything.
I suppose I could run a subprocess with MvBinary
, or CreateDigest
with an appropriately adjusted bunch of FileContent
objects.
Any tips?enough-analyst-54434
03/31/2023, 8:40 AMbroad-processor-92400
03/31/2023, 10:17 AMbitter-ability-32190
03/31/2023, 11:09 AMbitter-ability-32190
03/31/2023, 11:10 AMCreateDigest
with the right pathcurved-manchester-66006
03/31/2023, 3:35 PMfoo-VERSION.tar.gz
bitter-ability-32190
03/31/2023, 3:46 PMbroad-processor-92400
03/31/2023, 8:34 PMbroad-processor-92400
03/31/2023, 8:40 PMcurved-manchester-66006
04/03/2023, 2:17 PM