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 — Storage: Add benchwrapper, support STORAGE_EMULATOR_HOST. by jeanbza · Pull Request #9219 · googleapis/google-cloud-python

Conversation

@jeanbza

@jeanbza jeanbza commented Sep 12, 2019

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
@jeanbza
jeanbza requested review from busunkim96, crwilcox, frankyn and tseaver as code owners September 12, 2019 14:29
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 12, 2019
@tseaver tseaver changed the title storage: add benchwrapper, support STORAGE_EMULATOR_HOST Storage: Add benchwrapper, support STORAGE_EMULATOR_HOST. Sep 12, 2019
@tseaver tseaver added the api: storage Issues related to the Cloud Storage API. label Sep 12, 2019
@busunkim96

busunkim96 commented Sep 12, 2019

Copy link
Copy Markdown
Contributor

@jadekler Would you mind running nox -s blacken to appease the linter? That will run a code formatter.

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza
jeanbza force-pushed the storage_emulator branch from 75d5628 to de3f950 Compare September 12, 2019 16:47
@jeanbza

jeanbza commented Sep 12, 2019

Copy link
Copy Markdown
Contributor Author

@jadekler Would you mind running nox -s blacken to appease the linter? That will run a code formatter.

Done!

All reactions

Sorry, something went wrong.

Uh oh!

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

tseaver
tseaver suggested changes Sep 12, 2019
View reviewed changes

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

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.

In addition to in-line review comments, please blacken the code (nox -e blacken).

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread core/google/cloud/environment_vars.py Resolved

Uh oh!

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

Comment thread storage/google/cloud/storage/blob.py Resolved

Uh oh!

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

Comment thread storage/google/cloud/storage/blob.py Resolved

Uh oh!

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

Comment thread storage/google/cloud/storage/client.py Resolved

Uh oh!

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

Comment thread storage/test_utils/storage.proto Resolved

Uh oh!

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

Comment thread storage/test_utils/benchwrapper.py Resolved

Uh oh!

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

Comment thread storage/test_utils/benchwrapper.py Resolved

Uh oh!

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

@jeanbza

jeanbza commented Sep 12, 2019

Copy link
Copy Markdown
Contributor Author

nox -e blacken

I did that already - is there more I need to do? :)

deklerk at deklerk-macbookpro2 in ~/workspace/google-cloud-python/storage on storage_emulator
$ nox -e blacken
nox > Running session blacken
nox > Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
nox > pip install black==19.3b0
nox > black docs google tests noxfile.py setup.py
All done! ✨ 🍰 ✨
31 files left unchanged.
nox > Session blacken was successful.
deklerk at deklerk-macbookpro2 in ~/workspace/google-cloud-python/storage on storage_emulator
$
All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza
storage: add benchwrapper, support STORAGE_EMULATOR_HOST
b427c2b
@jeanbza
jeanbza force-pushed the storage_emulator branch from de3f950 to b427c2b Compare September 12, 2019 20:46
tseaver added 2 commits September 13, 2019 14:28
@tseaver
Avoid compounding felony: no new env vars in core.
d30b64f
@tseaver
DRY emulator host lookup into a helper function.
5c4e6ef
@googlebot

googlebot commented Sep 13, 2019

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 13, 2019
@tseaver

tseaver commented Sep 13, 2019

Copy link
Copy Markdown
Contributor

@jadekler I've pushed the DRY changes to your branch.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver tseaver added the testing label Sep 13, 2019
@tseaver
Remove unused import.
42abcab
tseaver
tseaver approved these changes Sep 13, 2019
View reviewed changes

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

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 pending CI green. @jadekler you will need to tweak the CLA stuff.

Sorry, something went wrong.

Uh oh!

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

All reactions
@busunkim96 busunkim96 added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 13, 2019
@googlebot

googlebot commented Sep 13, 2019

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza

jeanbza commented Sep 13, 2019

Copy link
Copy Markdown
Contributor Author

@googlebot I consent

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza

jeanbza commented Sep 13, 2019

Copy link
Copy Markdown
Contributor Author

@jadekler I've pushed the DRY changes to your branch.

Thank you!!

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza

jeanbza commented Sep 14, 2019

Copy link
Copy Markdown
Contributor Author

(could somebody merge? I don't have powers to :) )

All reactions

Sorry, something went wrong.

Uh oh!

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

@jeanbza
add STORAGE_EMULATOR_HOST to README.md
463902a
@googlebot

googlebot commented Sep 14, 2019

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 14, 2019
@jeanbza

jeanbza commented Sep 14, 2019

Copy link
Copy Markdown
Contributor Author

@googlebot I consent.

All reactions

Sorry, something went wrong.

Uh oh!

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

1 similar comment
@tseaver

tseaver commented Sep 16, 2019

Copy link
Copy Markdown
Contributor

@googlebot I consent.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot

googlebot commented Sep 16, 2019

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 16, 2019
@tseaver
tseaver merged commit 795bb32 into googleapis:master Sep 16, 2019
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
@jeanbza @emar-kar
Add support for 'STORAGE_EMULATOR_HOST' env var; add 'benchwrapper' s…
6c753d9
…cript. (googleapis#9219)
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
@jeanbza @emar-kar
Add support for 'STORAGE_EMULATOR_HOST' env var; add 'benchwrapper' s…
8f795b0
…cript. (googleapis#9219)
@simonvanderveldt simonvanderveldt mentioned this pull request Jan 22, 2020
Storage: Add support for emulators. #8728
Closed
parthea pushed a commit that referenced this pull request Mar 9, 2026
@jeanbza @tseaver
Add support for 'STORAGE_EMULATOR_HOST' env var; add 'benchwrapper' s…
bf377e0
…cript. (#9219)
This was referenced Jun 8, 2026
Support STORAGE_EMULATOR_HOST in the google-cloud-storage Gem googleapis/google-cloud-ruby#34022
Open
feat(storage): support STORAGE_EMULATOR_HOST environment variable googleapis/google-cloud-ruby#34023
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@busunkim96 busunkim96 Awaiting requested review from busunkim96
@crwilcox crwilcox Awaiting requested review from crwilcox
@frankyn frankyn Awaiting requested review from frankyn
1 more reviewer
@tseaver tseaver tseaver approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement. testing

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

@jeanbza @busunkim96 @googlebot @tseaver
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.