Remove LGPLv3 Dependency#181
Merged
jbowes merged 1 commit intomanifoldco:masterfrom Oct 30, 2021
Merged
Conversation
|
Thank you for addressing the issue @nguyer! Would be great to have this merged, so we can consume |
|
@jbowes Could you take a look? |
Contributor
Author
|
In the meantime, anyone is welcome to use my fork which has the GPL code removed: https://github.com/nguyer/promptui |
mholt
added a commit
to caddyserver/caddy
that referenced
this pull request
Oct 21, 2021
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:
- manifoldco/promptui#173
- manifoldco/promptui#181
/cc @maraino
Contributor
Author
|
Awesome! Thanks for merging this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses #173
promptuiis only using theansitermlibrary for itsTabWriter. However, this library is licensed under LGPLv3 https://github.com/juju/ansiterm/blob/master/LICENSE, causing licensing issues for other projects that want to includepromptui.This PR changes
promptuito use Go's built inTabWriterrather than the one provided byansiterm. This could result in some loss in features. All tests are passing still after this change, but it would be good for someone more familiar with the library to verify that this does not cause any significant problems.