-
Notifications
You must be signed in to change notification settings - Fork 438
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
First Bigtable gapic gen for php #731
Conversation
|
GAPIC code looks good, but there are some other changes that we will need in addition. Check out this PR, which adds the DLP API for the first time: #569 In particular, we will need:
|
@andreamlin, Did you run artman using PHP 5.5 by any chance? @vam-google discovered an issue where php-cs-fixer was failing silently during generation as it was requiring a version of PHP greater than 5.5. googleapis/artman#310 & should address that issue and will use a ruleset which fixes items like extra whitespace and unused imports. |
@dwsupplee I'm running php v5.5.9. That should be fine, right? |
Yeah, v5.5.9 should work! Do you know which version of php-cs-fixer you are running? It should be v2.2.7 to ensure compatability with your version of PHP. The reason I ask is because it appears the task may have failed: https://github.com/GoogleCloudPlatform/google-cloud-php/pull/731/files#diff-5235c551bb78376c8ebd0495ed33870aR55 (unused import, should be removed) https://github.com/GoogleCloudPlatform/google-cloud-php/pull/731/files#diff-5235c551bb78376c8ebd0495ed33870aR222 (extra whitespace) |
…-cs-fixer:2.2.7; ran phpcbf style fixer on result
I was using the wrong version of php-cs-fixer :/ |
The autogen code LGTM now. Nice work! We still will need the changes @michaelbausor mentioned earlier in the thread, as well as a |
… into php_bigtable
Added VERSION, license, readme, bigtable/composer.json, and docs files; updated top-level composer.json. |
LGTM, @dwsupplee and/or @jdpedrie can you also take a look? |
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.
We need a readme (ex: https://github.com/GoogleCloudPlatform/google-cloud-php/blob/master/src/Dlp/V2beta1/README.md) in each directory that as a *ServiceClient
. Outside of these last few nits, looks good to me.
docs/manifest.json
Outdated
{ | ||
"id": "cloud-bigtable", | ||
"name": "google/cloud-bigtable", | ||
"defaultService": "bigtable/bigtableclient", |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@dwsupplee Added a README.md to the bigtable/v2 directory. |
docs/contents/cloud-bigtable.json
Outdated
"pattern": "bigtable\/\\w{1,}", | ||
"services": [{ | ||
"title": "BigtableClient", | ||
"type": "bigtable/bigtableclient" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
src/Bigtable/composer.json
Outdated
"id": "cloud-bigtable", | ||
"target": "GoogleCloudPlatform/google-cloud-php-bigtable.git", | ||
"path": "src/Bigtable", | ||
"entry": "BigtableClient.php" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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. Thanks @andreamlin
Copied over from api-client-staging