Skip to content

Conversation

@bshaffer
Copy link
Contributor

No description provided.

@bshaffer bshaffer force-pushed the add-bigquery branch 2 times, most recently from 7b2e85a to 5b1cc2a Compare August 15, 2016 22:19
@bshaffer bshaffer force-pushed the add-bigquery branch 2 times, most recently from c1614a4 to d77523b Compare August 23, 2016 07:53
- fixes docblocks
- adds BrowseTableCommand, TablesCommand, and ProjectsCommand
- adds test
- adds GOOGLE_KEY_FILE for listing projects
test_table2
test_table3
```

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide help text for each subcommand? If so, can we stop having example output in the README since you can put such output in the help text which is little bit better from maintenance standpoint? My only worry is the document will easily become stale.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

{
if (!$projectId = $input->getOption('project')) {
if (!$projectId = $this->detectProjectId()) {
throw new Exception('Could not derive a project ID from gloud. ' .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TYPO:

gloud -> gcloud

@tmatsuo
Copy link
Contributor

tmatsuo commented Aug 24, 2016

LGTM


# [START guzzle_request]
$url = 'http://httpbin.org/post?query=update';
$url = 'https://httpbin.org/post?query=update';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said before, this test depends on external resource which may change anytime. I think we should use something else that we can fully control.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be done in another PR.

(also it's not related to bigquery, so shouldn't it be another PR?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I respectfully disagree, and I do not see how this is relevant. I updated this to test HTTPS for a separate issue, it has nothing to do with a problem using an external resource.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not relevant, but we should not rely on external site in general

@bshaffer bshaffer merged commit d81a0ca into master Aug 26, 2016
@bshaffer bshaffer deleted the add-bigquery branch August 26, 2016 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants