high-yak-85899
05/20/2022, 8:39 PMDownloadedExternalTool properly configured. I have my PublishRequest which has pacakages inside it for me to push, but I'm getting a little turned around on the proper syntax of things. I want to take all the pex files and execute a command like jf rt u <pex file name here> . I think I need to do something like await Get(Snapshot, package.digest) so I can get a file name and then something like Process([tool.exe, 'rt', 'u', snapshot.<something to get the file path?>], input_digest=package.digest). Does that seem right?high-yak-85899
05/20/2022, 9:01 PMDigestEntries instead, but something like thishundreds-father-404
05/20/2022, 9:04 PMsnapshot.files[0], and make sure you set input_digest=package.digest (or snapshot.digest, the same thing)hundreds-father-404
05/20/2022, 9:04 PMDigestContents - it will load more than necessary. You only need path namehigh-yak-85899
05/20/2022, 9:08 PMhigh-yak-85899
05/20/2022, 9:08 PMDigestEntries in my second messagehigh-yak-85899
05/20/2022, 9:09 PMhundreds-father-404
05/20/2022, 9:14 PMSnapshot is marginally faster. more conventional too
The idea w/ Snapshot is "a digest + its file paths"high-yak-85899
05/20/2022, 9:19 PMhigh-yak-85899
05/20/2022, 10:03 PMDigest of the pex package to my Process for publishing, but I got a FileNotFoundError from the InteractiveProcess that was attempted to run. I know the file is there because I logged by DigestEntries of the Digest to the terminal. Anything else that's expected to get wired up?hundreds-father-404
05/20/2022, 10:08 PM--no-process-cleanup so you can inspect the chroot. Env vars maybe, like PEX_EXTRA_SYS_PATH (aka PYTHONPATH)high-yak-85899
05/20/2022, 10:24 PMhigh-yak-85899
05/20/2022, 10:30 PMhigh-yak-85899
05/20/2022, 10:32 PMhigh-yak-85899
05/20/2022, 10:32 PM