choco icon indicating copy to clipboard operation
choco copied to clipboard

Require accepting license when `requireLicenseAcceptance` is `true`

Open ferventcoder opened this issue 11 years ago • 2 comments

For packages that have requireLicenseAcceptance set to true, we should pull and be able to print the license for the user to explicitly approve (unless they explicitly use -y or --accept-license).

ferventcoder avatar Jan 21 '15 13:01 ferventcoder

This is so right. I read a post a few days ago, where someone thought that the requireLicenseAcceptance should be abandoned - I could't disagree more. Legally, it would be much more attractive for the community to make a package of someone else's work if they were able to apply requireLicenseAcceptance, and that would infer that the license was printed upon choco install ..., and the user would have to agree with "y" or "yes", or else the software was not installed. Automation would still be taken care of by passing --accept-license to choco. I don't see the problem at all with this approach.

Would love to see this implemented, @ferventcoder !

henrikhalt avatar Apr 19 '21 19:04 henrikhalt

The option -y would also have to imply accepting the license otherwise it would break a lot of the workflows people already have, especially for headless systems.

pauby avatar Dec 19 '23 12:12 pauby