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

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

Closed
wants to merge 1 commit into from

Conversation

buchgr
Copy link
Contributor

@buchgr buchgr commented Jan 18, 2019

No description provided.

@meteorcloudy
Copy link
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
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