Skip to content

remote: fix unexpected IO error (not a directory) - #7174

Closed
buchgr wants to merge 1 commit into
bazelbuild:masterfrom
buchgr:fix4751
Closed

buchgr wants to merge 1 commit into
bazelbuild:masterfrom
buchgr:fix4751

Conversation

@buchgr

@buchgr buchgr commented Jan 18, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@meteorcloudy

Copy link
Copy Markdown
Member

Does this change also fix #7160?

/**
* Returns the {@link Path} for an {@link ActionInput}.
*/
public static Path toPath(ActionInput input, Path execRoot) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: could you call it "toInputPath" or something more concrete than "toPath"? Otherwise the sloppy hurried coder (not that I speak of my own experience, *ahem*) might believe this function does nothing but a trivial conversion (e.g. calling Artifact.toPath).

@bazel-io bazel-io closed this in 3759e38 Jan 18, 2019
aehlig pushed a commit that referenced this pull request Jan 18, 2019
Closes #7174.

PiperOrigin-RevId: 229914032
buchgr added a commit to buchgr/bazel that referenced this pull request Jan 18, 2019
Like bazelbuild#7174, but only affecting remote execution. Also,
incorporate feedback from bazelbuild#7174 and rename toPath to toInputPath.
bazel-io pushed a commit that referenced this pull request Jan 21, 2019
Like #7174, but only affecting remote execution. Also,
incorporate feedback from #7174 and rename toPath to toInputPath.

Closes #7181.

PiperOrigin-RevId: 230211153
aehlig pushed a commit that referenced this pull request Jan 23, 2019
Closes #7174.

PiperOrigin-RevId: 229914032
aehlig pushed a commit that referenced this pull request Jan 23, 2019
Closes #7174.

PiperOrigin-RevId: 229914032
weixiao-huang pushed a commit to weixiao-huang/bazel that referenced this pull request Jan 31, 2019
weixiao-huang pushed a commit to weixiao-huang/bazel that referenced this pull request Jan 31, 2019
Like bazelbuild#7174, but only affecting remote execution. Also,
incorporate feedback from bazelbuild#7174 and rename toPath to toInputPath.

Closes bazelbuild#7181.

PiperOrigin-RevId: 230211153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants