2021-03-17 13:20:05 +00:00
|
|
|
module github.com/pulumi/pulumi/sdk/v3
|
2020-03-18 23:30:44 +00:00
|
|
|
|
2023-01-07 00:39:04 +00:00
|
|
|
go 1.18
|
2020-03-18 23:30:44 +00:00
|
|
|
|
2023-09-19 23:02:51 +00:00
|
|
|
replace golang.org/x/text => golang.org/x/text v0.3.8
|
2022-01-04 15:21:13 +00:00
|
|
|
|
2020-03-18 23:30:44 +00:00
|
|
|
require (
|
2023-11-01 17:21:52 +00:00
|
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
2020-03-18 23:30:44 +00:00
|
|
|
github.com/blang/semver v3.5.1+incompatible
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/cheggaaa/pb v1.0.29
|
|
|
|
github.com/djherbis/times v1.5.0
|
2023-07-05 21:37:23 +00:00
|
|
|
github.com/golang/glog v1.1.0
|
2024-01-17 09:35:20 +00:00
|
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
2020-03-18 23:30:44 +00:00
|
|
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/hashicorp/go-multierror v1.1.1
|
2020-03-18 23:30:44 +00:00
|
|
|
github.com/mitchellh/go-ps v1.0.0
|
automation: only read complete lines before trying to deserialize (#15778)
When tailing the event log in automation API we currently have nothing
that makes sure we read only complete lines. This means if the OS
happens to flush an incomplete line for whatever reason (or the Go JSON
encoder does, which we're using to write these lines), we might read a
line that is incompletely written, and thus will fail to JSON decode it.
Since the JSON encoder always writes a newline at the end of each
string, we can also make sure that the line we read ends with a newline
and otherwise wait for the rest of the line to be written.
The library we use in Go provides a convenient setting for this, while
in python and nodejs we need to add some code to do this ourselves.
Fixes https://github.com/pulumi/pulumi/issues/15235
Fixes https://github.com/pulumi/pulumi/issues/15652
Fixes https://github.com/pulumi/pulumi/issues/9269 (This is closed
already, but never had a proper resolution afaics)
Fixes https://github.com/pulumi/pulumi/issues/6768
It would be nice to add a typescript test here as well, but I'm not sure
how to do that without marking the readLines function non-private. But I
don't know typescript well, so any hints of how to do that would be
appreciated!
## Checklist
- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
- [x] I have formatted my code using `gofumpt`
<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!---
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-26 14:32:56 +00:00
|
|
|
github.com/nxadm/tail v1.4.11
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/opentracing/opentracing-go v1.2.0
|
2020-03-18 23:30:44 +00:00
|
|
|
github.com/pkg/errors v0.9.1
|
2023-05-25 05:27:11 +00:00
|
|
|
github.com/rivo/uniseg v0.4.4
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/rogpeppe/go-internal v1.11.0
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
|
|
|
|
github.com/spf13/cast v1.4.1
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/spf13/cobra v1.7.0
|
|
|
|
github.com/stretchr/testify v1.8.4
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/texttheater/golang-levenshtein v1.0.1
|
2020-07-27 19:57:51 +00:00
|
|
|
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
2024-03-17 22:20:32 +00:00
|
|
|
golang.org/x/crypto v0.21.0
|
2024-01-17 22:25:47 +00:00
|
|
|
golang.org/x/mod v0.14.0 // indirect
|
2024-03-17 22:20:32 +00:00
|
|
|
golang.org/x/net v0.21.0
|
|
|
|
golang.org/x/sys v0.18.0
|
2023-10-28 15:56:28 +00:00
|
|
|
google.golang.org/grpc v1.57.1
|
2022-03-28 13:43:56 +00:00
|
|
|
gopkg.in/yaml.v2 v2.4.0
|
2022-11-25 21:37:51 +00:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
2023-02-16 19:56:45 +00:00
|
|
|
pgregory.net/rapid v0.5.5
|
2020-03-18 23:30:44 +00:00
|
|
|
)
|
2021-10-11 16:47:08 +00:00
|
|
|
|
2022-04-03 14:54:59 +00:00
|
|
|
require (
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/charmbracelet/bubbles v0.16.1
|
|
|
|
github.com/charmbracelet/bubbletea v0.24.2
|
|
|
|
github.com/charmbracelet/lipgloss v0.7.1
|
2024-01-02 18:41:06 +00:00
|
|
|
github.com/go-git/go-git/v5 v5.11.0
|
2024-02-27 13:00:45 +00:00
|
|
|
github.com/google/uuid v1.3.0
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/hashicorp/hcl/v2 v2.17.0
|
2023-11-22 05:04:14 +00:00
|
|
|
github.com/pgavlin/fx v0.1.6
|
2022-04-03 14:54:59 +00:00
|
|
|
github.com/pkg/term v1.1.0
|
2023-12-05 19:53:45 +00:00
|
|
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231
|
2023-12-20 04:15:34 +00:00
|
|
|
github.com/pulumi/esc v0.6.2
|
2022-09-19 17:42:27 +00:00
|
|
|
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0
|
2023-12-19 08:05:16 +00:00
|
|
|
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
|
2024-03-17 22:20:32 +00:00
|
|
|
golang.org/x/term v0.18.0
|
2022-06-15 19:11:20 +00:00
|
|
|
lukechampine.com/frand v1.4.2
|
2022-04-03 14:54:59 +00:00
|
|
|
)
|
|
|
|
|
2022-08-09 11:46:28 +00:00
|
|
|
require (
|
2023-11-01 17:21:52 +00:00
|
|
|
dario.cat/mergo v1.0.0 // indirect
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect
|
2023-11-01 17:21:52 +00:00
|
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
|
2022-08-09 11:46:28 +00:00
|
|
|
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/agext/levenshtein v1.2.3 // indirect
|
2022-10-17 14:21:11 +00:00
|
|
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
2024-01-16 08:59:57 +00:00
|
|
|
github.com/cloudflare/circl v1.3.7 // indirect
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
|
2023-11-01 17:21:52 +00:00
|
|
|
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
|
|
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
|
|
github.com/go-git/go-billy/v5 v5.5.0 // indirect
|
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
2023-12-19 08:05:16 +00:00
|
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
2023-12-19 08:05:16 +00:00
|
|
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
2023-08-30 17:08:44 +00:00
|
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
|
|
github.com/muesli/reflow v0.3.0 // indirect
|
2023-12-19 08:05:16 +00:00
|
|
|
github.com/muesli/termenv v0.15.2 // indirect
|
2023-02-28 23:27:30 +00:00
|
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
2024-01-02 18:41:06 +00:00
|
|
|
github.com/skeema/knownhosts v1.2.1 // indirect
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/zclconf/go-cty v1.13.2 // indirect
|
2023-12-19 08:05:16 +00:00
|
|
|
golang.org/x/sync v0.5.0 // indirect
|
|
|
|
golang.org/x/tools v0.15.0 // indirect
|
2023-07-26 18:00:25 +00:00
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
|
2022-08-09 11:46:28 +00:00
|
|
|
)
|
2022-06-15 19:11:20 +00:00
|
|
|
|
2021-10-11 16:47:08 +00:00
|
|
|
require (
|
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
2023-02-02 15:28:14 +00:00
|
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
automation: only read complete lines before trying to deserialize (#15778)
When tailing the event log in automation API we currently have nothing
that makes sure we read only complete lines. This means if the OS
happens to flush an incomplete line for whatever reason (or the Go JSON
encoder does, which we're using to write these lines), we might read a
line that is incompletely written, and thus will fail to JSON decode it.
Since the JSON encoder always writes a newline at the end of each
string, we can also make sure that the line we read ends with a newline
and otherwise wait for the rest of the line to be written.
The library we use in Go provides a convenient setting for this, while
in python and nodejs we need to add some code to do this ourselves.
Fixes https://github.com/pulumi/pulumi/issues/15235
Fixes https://github.com/pulumi/pulumi/issues/15652
Fixes https://github.com/pulumi/pulumi/issues/9269 (This is closed
already, but never had a proper resolution afaics)
Fixes https://github.com/pulumi/pulumi/issues/6768
It would be nice to add a typescript test here as well, but I'm not sure
how to do that without marking the readLines function non-private. But I
don't know typescript well, so any hints of how to do that would be
appreciated!
## Checklist
- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
- [x] I have formatted my code using `gofumpt`
<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!---
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-26 14:32:56 +00:00
|
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
2022-04-18 10:17:56 +00:00
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
2021-10-11 16:47:08 +00:00
|
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
2023-05-03 23:52:31 +00:00
|
|
|
github.com/kevinburke/ssh_config v1.2.0
|
2023-12-19 08:05:16 +00:00
|
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
2021-10-11 16:47:08 +00:00
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
2023-10-10 01:35:39 +00:00
|
|
|
github.com/sergi/go-diff v1.3.1 // indirect
|
2022-03-28 13:43:56 +00:00
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
2023-01-30 22:02:59 +00:00
|
|
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
2023-02-02 15:28:14 +00:00
|
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
2023-01-30 22:02:59 +00:00
|
|
|
go.uber.org/atomic v1.9.0 // indirect
|
2023-12-19 08:05:16 +00:00
|
|
|
golang.org/x/text v0.14.0 // indirect
|
2024-03-17 22:20:32 +00:00
|
|
|
google.golang.org/protobuf v1.33.0
|
2021-10-11 16:47:08 +00:00
|
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
|
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
|
|
)
|