Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bringing all environment variables into a single place. #1010

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

Merged
merged 2 commits into from
Jul 23, 2015

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Jul 22, 2015

This is so we can give a quick overview of all environment variables used.

Inspired by the gcloud-* wide discussion of env. vars. I'm not sure if this is worth doing, so @tseaver feel free to shoot this down.

/cc @jgeewax

This is so we can give a quick overview of all environment
variables used.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 22, 2015
@tseaver
Copy link
Contributor

tseaver commented Jul 23, 2015

I don't object to centralizing them; ISTM that if we do so, it would be to make them "non-private", so maybe remove the leading underscore on the module name / variable names??

@dhermes
Copy link
Contributor Author

dhermes commented Jul 23, 2015

@tseaver What about also axing _ENV_VAR_NAME from all the variables? Also, I'm not sure about making the module public, but happy to make the variables public. Why do you think the module should be?

@tseaver
Copy link
Contributor

tseaver commented Jul 23, 2015

I was thinking to point to it from user-facing docs on configuring gcloud-python: we don't normally do that for "private" modules.

@dhermes
Copy link
Contributor Author

dhermes commented Jul 23, 2015

SGTM

@dhermes
Copy link
Contributor Author

dhermes commented Jul 23, 2015

@tseaver PTAL

@tseaver
Copy link
Contributor

tseaver commented Jul 23, 2015

@dhermes I don't see any new commits.

Also renaming all variables in the file to drop the
`_ENV_VAR_NAME` post-fix and the leading underscore.
@dhermes
Copy link
Contributor Author

dhermes commented Jul 23, 2015

@tseaver D'oh! #FAIL by me. Actually pushed the commit now.

@tseaver
Copy link
Contributor

tseaver commented Jul 23, 2015

LGTM

dhermes added a commit that referenced this pull request Jul 23, 2015
Bringing all environment variables into a single place.
@dhermes dhermes merged commit 871f26e into googleapis:master Jul 23, 2015
@dhermes dhermes deleted the single-env-var-file branch July 24, 2015 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.