Closed anujc25 closed 4 months ago
Forgot these minor points:
Do we need to deal with users who are running v1.3.0-alpha.* or do we ask them to run tanzu plugin source init
? Because the initializer will not trigger.
While at it, do you want to replace the followowign with something "broadcom"?
Do we need to deal with users who are running v1.3.0-alpha.* or do we ask them to run
tanzu plugin source init
? Because the initializer will not trigger.
I do not think we need to do anything to support v1.3.0-alpha.*
. And as you mentioned if required we can ask users to run tanzu plugin source init
in that specific case.
lgtm, I just have a question about the means to the eula retrigger. Also: Worth mentioning in some md how to revert back to projects.registry or you feel this is better done out-of-band?
I added that as part of the release note and might be better to keep it as part of the release note as most of the users should not need to switch back to the old registry.
What this PR does / why we need it
projects.packages.broadcom.com
.projects.packages.broadcom.com/tanzu_cli
project.registry.vmware.com/tanzu_cli
will be kept for some time for users consuming older versions of Tanzu CLI and bothprojects.packages.broadcom.com/tanzu_cli
andproject.registry.vmware.com/tanzu_cli
.Details:
projects.packages.broadcom.com/tanzu_cli/plugins/plugin-inventory:latest
Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
$ tanzu plugin source list NAME IMAGE
default projects.registry.vmware.com/tanzu_cli/plugins/plugin-inventory:latest
$ tz version version: v1.3.0-dev buildDate: 2024-04-29 sha: 82ca2e91-dirty arch: amd64
$ tz plugin list Some initialization of the CLI is required. Let's set things up for you. This will just take a few seconds.
Refreshing the 2 installed plugins... Updating default plugin discovery source to "projects.packages.broadcom.com/tanzu_cli/plugins/plugin-inventory:latest"...
Initialization done!
? You must agree to the VMware General Terms in order to download, install, or use software from this registry via Tanzu CLI. Acceptance of the VMware General Terms 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 VMware General Terms, (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 General Terms is prompted by VMware.
To view the VMware General Terms, please see https://www.vmware.com/vmware-general-terms.html.
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 VMware General Terms? Yes
== NAME DESCRIPTION TARGET INSTALLED STATUS
builder Build Tanzu components global v1.2.0 installed
telemetry configure cluster-wide settings for vmware tanzu telemetry global v1.1.0 installed
Verify that the plugin discovery source has been updated
$ tz plugin source list NAME IMAGE
default projects.packages.broadcom.com/tanzu_cli/plugins/plugin-inventory:latest
$ tz plugin list Some initialization of the CLI is required. Let's set things up for you. This will just take a few seconds.
Refreshing the 2 installed plugins... Updating default plugin discovery source to "projects.packages.broadcom.com/tanzu_cli/plugins/plugin-inventory:latest"...
Initialization done!
? You must agree to the VMware General Terms in order to download, install, or use software from this registry via Tanzu CLI. Acceptance of the VMware General Terms 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 VMware General Terms, (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 General Terms is prompted by VMware.
To view the VMware General Terms, please see https://www.vmware.com/vmware-general-terms.html.
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 VMware General Terms? 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, ortanzu config eula accept
to accept them directly [x] : terms not accepted$ tanzu version version: v1.2.0 buildDate: 2024-02-07 sha: f3abe62e arch: amd64
$ tanzu plugin source update default -u harbor-repo.vmware.com/tanzu_cli_stage/plugins/plugin-inventory:latest [i] Refreshing plugin inventory cache for "harbor-repo.vmware.com/tanzu_cli_stage/plugins/plugin-inventory:latest", this will take a few seconds. [i] Reading plugin inventory for "harbor-repo.vmware.com/tanzu_cli_stage/plugins/plugin-inventory:latest", this will take a few seconds. [ok] updated discovery source default
$ tz version version: v1.3.0-dev buildDate: 2024-04-29 sha: 82ca2e91-dirty arch: amd64
Note: The discovery source is not getting updated here because it was manually updated by the user to point to custom registry.
$ tz plugin list Some initialization of the CLI is required. Let's set things up for you. This will just take a few seconds.
Refreshing the 2 installed plugins...
Initialization done!
NAME DESCRIPTION TARGET INSTALLED STATUS
builder Build Tanzu components global v1.2.0 installed
$ tz plugin source list NAME IMAGE
default harbor-repo.vmware.com/tanzu_cli_stage/plugins/plugin-inventory:latest
Additional information
Special notes for your reviewer