diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2021-10-21 13:43:45 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2021-10-21 13:44:16 -0600 |
commit | 997e41deae139dbf2cb3e95ed250070b40d6f3cb (patch) | |
tree | 02545efe236c0a863c3b40fd74739e81b946e565 /go.mod | |
parent | 0ffb2229b00c3e6b484fb7fac6d5ff8d652c2cc8 (diff) |
go.mod: Replace promptui with Apache-compatible fork (fix #4394)
Ideally this needs to be fixed upstream in github.com/manifoldco/promptui, but it appears unmaintained. Our dependency is extremely indirect:
$ go mod why github.com/juju/ansiterm
# github.com/juju/ansiterm
github.com/caddyserver/caddy/v2/modules/caddypki
github.com/smallstep/certificates/authority
go.step.sm/cli-utils/ui
github.com/manifoldco/promptui
github.com/juju/ansiterm
And it appears that all dependencies in this chain are in conflict with the LGPL license.
Ref:
- https://github.com/manifoldco/promptui/issues/173
- https://github.com/manifoldco/promptui/pull/181
/cc @maraino
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,3 +33,7 @@ require ( gopkg.in/natefinch/lumberjack.v2 v2.0.0 gopkg.in/yaml.v2 v2.4.0 ) + +// avoid license conflict from juju/ansiterm until https://github.com/manifoldco/promptui/pull/181 +// is merged or other dependency in path currently in violation fixes compliance +replace github.com/manifoldco/promptui => github.com/nguyer/promptui v0.8.1-0.20210517132806-70ccd4709797 |