You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A symlink was provided after the directory change from "config" to
"manifests", however this is no longer needed.
This also works around a kpt bug, which fails to clone repos that
contain symlinks. [1]
[1] kptdev/kpt#2408
Change-Id: I3856e5a9bd3839bfa7e98cd6bf4f32f77a23ffae
kpt pkg get "https://github.com/argoproj/argo-workflows.git/manifests@v3.1.6" upstream
When in kpt 0.39, this command ran successfully. But when in kpt 1.0.0+, the command fails with:
Package "manifests":
Fetching https://github.com/argoproj/argo-workflows@v3.1.6
From https://github.com/argoproj/argo-workflows
* tag v3.1.6 -> FETCH_HEAD
Error: error copying package: read /Users/jamxl/.kpt/repos/nb2hi4dthixs6z3joruhkyromnxw2l3bojtw64dsn5vc6ylsm5xs253pojvwm3dpo5z5ihmm3ghqbmqe5gaatghm7bbh4===/docs/examples: is a directory
Note that I only need the files in manifests/ folder, but the error is about symlink examples in a separate folder docs. I think this error is avoidable as long as kpt 1.0.0+ doesn't copy the whole repo.
Expected behavior
The repo that contains links (to files or dirs) should be cloned without errors
Actual behavior
It fails, see steps to reproduce below
Information
kpt version:
Steps to reproduce the behavior
config
dir is in fact a link to another directory:Apparently CopyDir can't handle links in its current implementation.
The text was updated successfully, but these errors were encountered: