-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vmware.powercli module help could not be scraped automatically #63
Comments
Sure. Some remarks:
|
Thanks Luc! I think your first bullet is what causes the problem here. I remember having this same issue with the Az module, which is similar in that it is a kind of wrapper for a whole bunch of modules. I need to look into the scrape script to see what's going on again (been a while) |
Ah yes. You could use BulkHelpCollector.ps1 to locally create files that contain help for all the member modules. If you could run that, and send me the resulting files, I could bulk upload them into Azure.
|
Will do. |
Attached are the files in a ZIP archive. This is for VMware.PowerCLI 12.6, currently the latest version |
Yes, let's try that. If that doesn't work, we'll figure out an alternative :-) |
Hi @lucdekens, your modules have been added. Note that a few modules were not loaded completely. The problematic ones were: Help info was available for 2.177+ cmdlets. At least 2.104 of them were added successfully. (I ran the first module 'VMware.CloudServices' seperately, those numbers are not included. I think that's a great start. I will spend a little time trying to find out what blocks the few unsuccessfull ones. Full output here:
|
Only thing I need to do is trigger DB metadata crawl, so the metadata in the hamburger menu is updated. And done :) |
Great. |
Thanks, I've created a separate issue for that, so we can investigate further. |
I just finished a rerun of the bulk upload, and that seems to have solved the issues. Let me know if there is something still missing. |
It looks like some cmdlets are not there, like enable-wmcluster and set-vsanclusterconfiguration. Couldn't write 'set-vsanclusterconfiguration': Exception calling "Execute" with "1" argument(s): "The remote server returned an error: (400) Bad Request." |
hi @lucdekens, I've corrected two bugs in my help scraping process, one was for help cache files with help info for only one cmdlet, which resulted in a false error message saying only 1 of 15 items were imported, where actually all 1 of 1 were imported.
The only thing I'm still working on in the background now, is finding and fixing other modules where this bug may have played a role, resulting in empty Parameter data, or missing cmdlets. The VMWare module is done. |
If it's allright with you, I'd like to close this issue |
Just tried it, and it is looking good. Thanks for investing all this time in this issue. Yes, you may close the issue. |
It was a pleasure having you! Glad we could improve the app 😊 |
#. Sorry @lucdekens cc @Jawz84, I was not able to process module 'VMware.PowerCLI' on my own.. :-( See details here
Originally posted by @github-actions[bot] in #43 (comment)
@lucdekens thanks for trying out my stuff. Too bad this one didn't work out of the box. Would you like to help me add this module to the DB?
The text was updated successfully, but these errors were encountered: