vmware-labs / vmware-customer-connect-cli

Golang based CLI to interact with customerconnect.vmware.com
Apache License 2.0
21 stars 2 forks source link

Feature Request : add support for downloading from the "drivers and tools" section #5

Open vEDW opened 1 year ago

vEDW commented 1 year ago

Most iso / ovas are to be found under the "Product Downloads" section in customer connect. But sometimes additional/alternative iso/ova are under other sections.

example with VSAN: "Product Download" : https://customerconnect.vmware.com/downloads/info/slug/datacenter_cloud_infrastructure/vmware_vsan/8_0#product_downloads

but

"Drivers and Tools" is : https://customerconnect.vmware.com/downloads/info/slug/datacenter_cloud_infrastructure/vmware_vsan/8_0#drivers_tools

If i want to download the iso for the witness appliance, i have to go through this link : https://customerconnect.vmware.com/downloads/details?downloadGroup=WITNESS-OVA-80&productId=1356

having the possibility to also download these components through vcc would be a great feature.

laidbackware commented 1 year ago

@vEDW whilst I think this is technically possible, I think that it would be quite a bit of effort to implement. I'm pretty sure that the SDK is already returning the information, but the CLI would need to be re-worked for this. I'll add this to the repo backlog.

vEDW commented 1 year ago

@laidbackware understood. thanks for considering it. great project.

alagoutte commented 1 year ago

same issue for get also Open Virtualization Format Tool 4.5.0

Knappek commented 1 year ago

@alagoutte thanks. I am working on this but having limited time only. Also the Customer Connect API is very inconsistent as you've realized, so it makes it even harder to bring it to a consistent format in the CLI.

lamw commented 1 year ago

+1 for supporting Drivers and Tools section, which includes popular utilities like OVFTool

tgranlun commented 1 year ago

+1 for downloads in Product Patches section

tsugliani commented 1 year ago

+1 for supporting Drivers and Tools section, for VMware Cloud Director Availability for to download the onprem appliances for accessing this from vmware_cloud_director_availability

And all above 💯

laidbackware commented 11 months ago

@vEDW @alagoutte @lamw @tsugliani

I've added this requested feature and cut a beta release. Can you please give it a test and let me know your feedback.

https://github.com/vmware-labs/vmware-customer-connect-cli/releases/tag/v1.2.0-beta

laidbackware commented 11 months ago

+1 for downloads in Product Patches section

@tgranlun Due to the way Customer Connect works this will require a completely new code path, which will be a lot more effort. I will close this issue requesting drivers etc. and if you still need patches, can you please open a separate issue.

vEDW commented 11 months ago

thanks @laidbackware : testing beta version. will provide feedback asap.

vEDW commented 9 months ago

problem running beta 1.2.0 on photonos 3.0:

vcc: /lib/libc.so.6: version `GLIBC_2.34' not found (required by vcc)
vcc: /lib/libc.so.6: version `GLIBC_2.32' not found (required by vcc)

the below script downloads desired vcc version and runs 'vcc --version'

example if using 1.1.7 (latest)

$> ./0_vcc_cli.sh
Select desired VCC release or CTRL-C to quit

1) v1.2.0-beta    4) v1.1.5        7) v1.1.2       10) v1.0.0
2) v1.1.7         5) v1.1.4        8) v1.1.1
3) v1.1.6         6) v1.1.3        9) v1.1.0
#? 2

you selected release : v1.1.7

vcc version 1.1.7

problem if using vcc 1.2.0-beta

$> ./0_vcc_cli.sh
Select desired VCC release or CTRL-C to quit

1) v1.2.0-beta    4) v1.1.5        7) v1.1.2       10) v1.0.0
2) v1.1.7         5) v1.1.4        8) v1.1.1
3) v1.1.6         6) v1.1.3        9) v1.1.0
#? 1

you selected release : v1.2.0-beta

vcc: /lib/libc.so.6: version `GLIBC_2.34' not found (required by vcc)
vcc: /lib/libc.so.6: version `GLIBC_2.32' not found (required by vcc)

photonos 3 runs older version of libc

$> ldd --version
ldd (GNU libc) 2.28