Skip to content
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

Moving node properties of a directory to the Directory message #102

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

ola-rozenfeld
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes Pull requests whose authors are covered by a CLA with Google. label Oct 22, 2019
@ola-rozenfeld
Copy link
Contributor Author

ola-rozenfeld commented Oct 22, 2019

@EdSchouten, @traveltissues

@@ -689,9 +692,6 @@ message DirectoryNode {
// represented. See [Digest][build.bazel.remote.execution.v2.Digest]
// for information about how to take the digest of a proto message.
Digest digest = 2;

// The node properties of the DirectoryNode.
repeated NodeProperty node_properties = 3;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these properties may also be removed from one or two other places (e.g., output directories).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand why properties should be added to the directory message but why are these being removed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise all directories except the top-level one would have two node_properties lists, and we should only need one per directory.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, i see

@ola-rozenfeld
Copy link
Contributor Author

@traveltissues, PTAL. Thank you!

@traveltissues
Copy link
Contributor

@ola-rozenfeld ola-rozenfeld merged commit b773405 into bazelbuild:master Nov 3, 2019
santigl pushed a commit to santigl/remote-apis that referenced this pull request Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Pull requests whose authors are covered by a CLA with Google.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants