Guess: Regression for kustomize build with git SSH URLs: no such file or directory #4998
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Hi Kustomize team,
Please see the following issue for the
kustomize build git@gist.github.com:bc7947cb727d7f9217e7862d961a1ffd.git
command for current master branch—commit 279ad3e.What happened?
I expected a command like
kustomize build git@gist.github.com:bc7947cb727d7f9217e7862d961a1ffd.git
to work since remoteBuild.md mentions that git SSH URLs work and that command also works for Kustomize 4.5.7—commit 56d82a8; however, that command doesn't work for current master branch—commit 279ad3e. I wonder if a regression happened from 56d82a8 to 279ad3e.After I did a cursory look at the git history with theEdit: I think the regression is somewhere from daf81df to 279ad3e—see #4998 (comment).git log --patch
command, I noticed that internal/git/repospec.go file was edited during 8b21844 so I wonder if that's the problematic commit.Resources
See the following related resources.
kustomize build
commands target, see kustomization.yaml public gist.What did you expect to happen?
I expected the
kustomize build git@gist.github.com:bc7947cb727d7f9217e7862d961a1ffd.git
output to look like the following.How can we reproduce it (as minimally and precisely as possible)?
To reproduce you can run the following commands—for command output, see https://gist.github.com/mbigras/23aa35cf0f53b6ede2a7f76c517c648e.
Expected output
I expected the
kustomize build git@gist.github.com:bc7947cb727d7f9217e7862d961a1ffd.git
output to look like the following.Actual output
The actual output for the 279ad3e commit looks like the following.
Kustomize version
279ad3e
Operating system
I'm running macOS—for versions, see
sw_vers
output.The text was updated successfully, but these errors were encountered: