-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix initialisms in product names #2272
Fix initialisms in product names #2272
Conversation
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in Ansible. New Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
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.
Looks like there are some sorting changes in the downstream. Not a big deal, but it looks like somewhere we sort case sensitively before snake_casing, making things like sql_field
to be ordered before something_else
@@ -268,7 +268,7 @@ func (c *Config) LoadAndValidate() error { | |||
c.clientContainerBeta.UserAgent = userAgent | |||
c.clientContainerBeta.BasePath = containerBetaClientBasePath | |||
|
|||
dnsClientBasePath := removeBasePathVersion(c.DnsBasePath) + "v1/projects/" | |||
dnsClientBasePath := removeBasePathVersion(c.DNSBasePath) + "v1/projects/" |
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.
Is there no TPUBasePath?
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 part only exists for products where we have both generated + handwritten resources.
@@ -18,14 +18,6 @@ def underscore | |||
Google::StringUtils.underscore(self) | |||
end | |||
|
|||
def camelize(style = :lower) |
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.
camelize
is coming out of active support now?
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.
It has been ever since we started using ActiveSupport in the first place, I believe. This specific change was a no-op.
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
ae91878
to
a9fc441
Compare
For a handful of products, we've collapsed initialisms like
TPU
intoTpu
. This should correct a handful of those. Previously, no providers cared, but KCC will.In addition, this moves off some janky string manipulation code onto ActiveSupport ones.
Release Note for Downstream PRs (will be copied)