-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow clients to provide InputDigests to avoid unnecessary transfer #525
Comments
That's sounds reasonable. It looks like My concern with adding a separate field for digests is that it needs to replicate some meta fields to describe the digest, such as the file type and executable bit. It would be great if you can check if extending |
Sounds good, yeah I think extending
I extend the |
Allows virtual inputs to be used with digests. If Content is provided with InputDigest or the digest does not exist in the CAS, return an error. Bug: b/324349357, #525
Today the API for the SDK only allows clients to specify
Inputs
(files available to the client) andVirtualInputs
(binary available to clients) (from command.go)But I would like to extend this to support providing digests that are available in the remote server.
I have a fork with this code that I am able to use for this. But I wanted to ask folks here if it would make sense to add to the SDK?
This would be useful when trying to do "build-without-bytes" for example.
The text was updated successfully, but these errors were encountered: