-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rewrite Validate Command #341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job!
Really fantastic work 🚀
defer os.RemoveAll(tmpDir) | ||
|
||
l.infof("compiling provider %q", shortName) | ||
providerPath := fmt.Sprintf("plugins/registry.terraform.io/hashicorp/%s/0.0.1/%s_%s", shortName, runtime.GOOS, runtime.GOARCH) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious to know the significance of using 0.0.1
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great! Left some comments and questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, great work! Looks like @bendbennett and @austinvalle got the good review items already. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work Selena!
I know you mentioned that there may be some additional pieces of work related to using the new YAML library, but I think the tests you wrote should hopefully cover any new changes 🚀
This reverts commit a1b156e.
…ate-command # Conflicts: # go.mod # go.sum
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Closes: #36
Closes: #38
Closes: #182
Rewrites the
validate
subcommand to migrate and adapt a number of checks from bflad/tfproviderdocs including:InvalidDirectoriesCheck
MixedDirectoriesCheck
/website/docs
) and registry documentation (/docs
) are found.NumberOfFilesCheck
FileSizeCheck
FileExtensionCheck
FrontMatterCheck
FileMismatchCheck
validate
subcommand to rendered provider documentation (/website/docs
and/docs
).1.21