-
Notifications
You must be signed in to change notification settings - Fork 3
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
Also use cache dir as temporary directory, solving cross-disk copy errors #7
Conversation
…rors Signed-off-by: Tim Ramlot <[email protected]>
I think this would still panic if the home directory was on a different filesystem to the working directory, since rename does not perform a file copy like cp. |
It looked like |
@ThatsMrTalbot Lines 70 to 72 in e2d88b8
The cache folder is copied into the project: Lines 88 to 90 in e2d88b8
So, the only move we do is from temp to cache, which is what this PR changes. |
Ah, ok. I saw the os.Rename at the bottom and it read like the cache was being copied to the destination /lgtm |
@ThatsMrTalbot: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Prevent the following error from occurring:
panic: failed to fetch targets: rename /tmp/klone-1469327034/modules/boilerplate /home/username/.cache/klone/47952611b91a53de34be5ba9fba781: invalid cross-device link