pulumi/sdk/go/common/util
Fraser Waters 3b97bf5788 Fix cloning from ADO repos
Small path bug, "git clone" by default clones to a new folder based on
the last part of the repo name. So running something like `pulumi new
https://fraser0275@dev.azure.com/fraser0275/fraser/_git/fraser` resulted
in us making a folder like /tmp/pulumi-templates-1234/fraser with all
the templates in it. That last part of the path was unexpected, because
when we use gogit it clones directly into the target directory we give
it.

Simple fix to just add `.` to the git clone command. I also added some
logging while I was about here, given it helped me work out this issue.
2022-10-07 08:27:46 +01:00
..
archive Look at .gitignore files above dir (#10493) 2022-08-26 10:35:54 +01:00
buildutil ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
ciutil ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
cmdutil ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
contract [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
deepcopy ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
executable ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
fsutil refactor: use `os.ReadDir` for lightweight directory reading 2022-09-24 15:20:43 +08:00
gitutil Fix cloning from ADO repos 2022-10-07 08:27:46 +01:00
goversion ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
httputil ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
logging ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
mapper [utils] Handle nils in mapper encoding (#9810) 2022-06-16 15:43:23 -07:00
result ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
retry move pkg/util/retry -> sdk/go/common/util/retry 2020-03-18 15:47:01 -07:00
rpcutil Update sdk/go/common/util/rpcutil/interceptor.go 2022-09-22 10:30:13 -04:00