GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add browsing data sample by ace-n · Pull Request #201 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@ace-n

@ace-n ace-n commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Ace Nassri added 2 commits September 2, 2016 10:16
Ace Nassri
First draft of browseTable sample
bfe3791
Ace Nassri
A few minor tweaks
720ea9b
@ace-n ace-n assigned jmdobry Sep 2, 2016
@jmdobry

jmdobry commented Sep 2, 2016

Copy link
Copy Markdown
Member

This branch didn't get rebased properly, it overwrites a lot of the copyTable code.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jmdobry
jmdobry reviewed Sep 2, 2016
View reviewed changes
Comment thread bigquery/tables.js Outdated
program.createTable(utils.pick(options, ['dataset', 'table']), utils.makeHandler());
})
.command('list <dataset>', 'List tables in the specified dataset.', {}, function (options) {
.command('tables <dataset>', 'List tables in the specified dataset.', {}, function (options) {

@jmdobry jmdobry Sep 2, 2016

Copy link
Copy Markdown
Member

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 should stay list to be consistent with all the other sample CLIs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ace-n ace-n Sep 2, 2016

Copy link
Copy Markdown
Contributor Author

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.

So the problem is that we can list both tables and rows - should I use something like list_tables and list_rows instead?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Sep 2, 2016

Copy link
Copy Markdown
Member

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.

I was thinking of having list for listing tables, since the sample is tables.js, and browse for the rows, which matches the sample description "Browse a table.".

node tables list my_dataset
node tables browse my_dataset my_table

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Sep 2, 2016

Copy link
Copy Markdown
Member

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.

Or

node tables list my_dataset
node tables rows my_dataset my_table
or
node tables getRows my_dataset my_table
or
node tables get-rows my_dataset my_table
or
node tables listRows my_dataset my_table
or
node tables list-rows my_dataset my_table

I don't really mind what the CLI command is for running listRows, but I think the command for listing tables should be list for consistency.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ace-n ace-n Sep 2, 2016

Copy link
Copy Markdown
Contributor Author

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.

Point taken, will fix.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codecov-io

codecov-io commented Sep 2, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Current coverage is 89.46% (diff: 100%)

Merging #201 into master will increase coverage by 0.15%

@@             master       #201   diff @@
==========================================
  Files            57         57          
  Lines          2423       2431     +8   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           2164       2175    +11   
+ Misses          259        256     -3   
  Partials          0          0          

Powered by Codecov. Last update 92f033d...83ebd51

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Ace Nassri added 2 commits September 2, 2016 12:14
Ace Nassri
Fix bad rebase
b0aa116
Ace Nassri
Address comments
ec5e9ae
jmdobry
jmdobry reviewed Sep 2, 2016
View reviewed changes
Comment thread bigquery/system-test/tables.test.js Outdated
// Delete bucket
setTimeout(function () {
storage.bucket(options.bucket).delete(done);
}, 2000);

@jmdobry jmdobry Sep 2, 2016

Copy link
Copy Markdown
Member

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.

Why these changes? Don't we still need to delete both srcDataset and destDataset?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jmdobry

jmdobry commented Sep 2, 2016

Copy link
Copy Markdown
Member

LGTM after comments are addressed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Ace Nassri
Address comments
83ebd51
@ace-n

ace-n commented Sep 2, 2016

Copy link
Copy Markdown
Contributor Author

@dpebot merge when green

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dpebot

dpebot commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

Okay! I'll merge when all statuses are green.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dpebot dpebot added the automerge Merge the pull request once unit tests and other checks pass. label Sep 2, 2016
@jmdobry
jmdobry merged commit 6543ff9 into master Sep 4, 2016
@jmdobry
jmdobry deleted the browse-data branch September 30, 2016 23:30
@snyk-bot snyk-bot mentioned this pull request Jul 11, 2020
[Snyk] Fix for 1 vulnerabilities ninadhatkar/nodejs-docs-samples#2
Open
@snyk-bot snyk-bot mentioned this pull request Aug 17, 2020
[Snyk] Fix for 1 vulnerabilities ninadhatkar/nodejs-docs-samples#21
Open
@snyk-bot snyk-bot mentioned this pull request Aug 28, 2020
[Snyk] Fix for 1 vulnerabilities ninadhatkar/nodejs-docs-samples#25
Open
@ninadhatkar ninadhatkar mentioned this pull request Feb 23, 2021
[Snyk] Fix for 2 vulnerabilities ninadhatkar/nodejs-docs-samples#59
Open
NimJay pushed a commit that referenced this pull request Nov 9, 2022
Benjamin E. Coe
test: make tests idempotent (#201)
3ad89e6
This was referenced Nov 9, 2022
migrate code from googleapis/nodejs-containeranalysis #2816
Closed
migrate code from googleapis/nodejs-containeranalysis #2833
Closed
migrate code from googleapis/nodejs-containeranalysis #2834
Merged
migrate code from googleapis/nodejs-containeranalysis #2836
Closed
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@JustinBeckwith
fix(deps): upgrade to the latest gce-images (#201)
cb299f6
This was referenced Nov 14, 2022
migrate code from googleapis/nodejs-compute #2846
Closed
migrate code from googleapis/nodejs-compute #2853
Merged
@telpirion telpirion mentioned this pull request Nov 16, 2022
chore(vision): migrate code from googleapis/nodejs-vision #2858
Merged
telpirion pushed a commit that referenced this pull request Nov 16, 2022
@JustinBeckwith @alexander-fenster
Enable prefer-const in the eslint config (#201)
0d12ae8
ace-n pushed a commit that referenced this pull request Nov 21, 2022
@JustinBeckwith Ace Nassri
fix(deps): upgrade to the latest gce-images (#201)
ea6e3ca
ace-n pushed a commit that referenced this pull request Nov 21, 2022
@JustinBeckwith Ace Nassri
fix(deps): upgrade to the latest gce-images (#201)
7754e25
@kweinmeister kweinmeister mentioned this pull request Jan 11, 2023
migrate code from googleapis/nodejs-retail #2975
Merged
kweinmeister pushed a commit that referenced this pull request Jan 11, 2023
@Arakel2811
GRST 159 warn user about fails on user environment setup.sh (#201)
98849be
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-retail/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jmdobry jmdobry

Labels

automerge Merge the pull request once unit tests and other checks pass.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ace-n @jmdobry @codecov-io @dpebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.