vmware-tanzu / tanzu-cli

The Tanzu Core CLI project provides the core functionality of the Tanzu CLI. The CLI is based on a plugin architecture where CLI command functionality can be delivered through independently developed plugin binaries
Apache License 2.0
33 stars 21 forks source link

Update error for Broadcom Foundation Agreement #760

Closed marckhouzam closed 4 months ago

marckhouzam commented 4 months ago

What this PR does / why we need it

This PR adjusts the error message when the EULA is rejected to use the "Broadcom Foundation Agreement" term instead of "General Terms" which came from the previous EULA which mentioned: "VMware General Terms"

Which issue(s) this PR fixes

Fixes # N/A

Describe testing done for PR

Before this PR notice the error message after the == which refers to "General Terms" which was the formulation of the old EULA ("You must agree to the VMware General Terms in order to download..."):

$ tz plugin search
? You must agree to the Broadcom Foundation Agreement in order to download,
install, or use software from this registry via Tanzu CLI. Acceptance of the
Broadcom Foundation Agreement covers all software installed via the Tanzu CLI
during any Session. "Session" means the period from acceptance until any of the
following occurs: (1) a change to Broadcom Foundation Agreement, (2) a new
major release of the Tanzu CLI is installed, (3) software is accessed in a
separate software distribution registry, or (4) re-acceptance of the Foundation
Agreement is prompted by Broadcom.

To view the Broadcom Foundation Agreement, please see
https://www.broadcom.com/company/legal/licensing.

If you agree, the essential plugins (required by the Tanzu CLI) will be
automatically installed.

Note: this prompt can be avoided by running "tanzu config eula accept".

Do you agree to the Broadcom Foundation Agreement?
 No

==
The Tanzu CLI is only usable with reduced functionality until the General Terms are agreed to.
Please use `tanzu config eula show` to review the terms, or `tanzu config eula accept` to accept them directly
[x] : terms not accepted

With this PR notice the new error message after the ==:

$ tz plugin search
? You must agree to the Broadcom Foundation Agreement in order to download,
install, or use software from this registry via Tanzu CLI. Acceptance of the
Broadcom Foundation Agreement covers all software installed via the Tanzu CLI
during any Session. "Session" means the period from acceptance until any of the
following occurs: (1) a change to Broadcom Foundation Agreement, (2) a new
major release of the Tanzu CLI is installed, (3) software is accessed in a
separate software distribution registry, or (4) re-acceptance of the Foundation
Agreement is prompted by Broadcom.

To view the Broadcom Foundation Agreement, please see
https://www.broadcom.com/company/legal/licensing.

If you agree, the essential plugins (required by the Tanzu CLI) will be
automatically installed.

Note: this prompt can be avoided by running "tanzu config eula accept".

Do you agree to the Broadcom Foundation Agreement?
 No

==
The Tanzu CLI is only usable with reduced functionality until the Broadcom Foundation Agreement is accepted.
Please use `tanzu config eula show` to review the Agreement, or `tanzu config eula accept` to accept it directly
[x] : agreement not accepted

Release note

Update message when rejecting the Broadcom Foundation Agreement

Additional information

Special notes for your reviewer