-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Move storage code into a subpackage #2416
Conversation
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 with a few tiny things.
bucket = client.get_bucket('bucket-id-here') | ||
# Then do other things... | ||
blob = bucket.get_blob('remote/path/to/file.txt') | ||
print blob.download_as_string() |
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.
@@ -18,6 +19,12 @@ covercmd = | |||
--cov-append \ | |||
--cov-config {toxinidir}/.coveragerc \ | |||
core/unit_tests | |||
py.test --quiet \ |
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.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
dd9c52e
to
9af414d
Compare
LGTM |
|
@tseaver Yes essentially all will conflict, but luckily I can just re-run the script (that is why I ran it).
|
OK, LGTM |
Done via: $ mkdir -p storage/google/cloud $ cp google/__init__.py storage/google/__init__.py $ git add storage/google/__init__.py $ cp google/cloud/__init__.py storage/google/cloud/__init__.py $ git add storage/google/cloud/__init__.py $ git mv google/cloud/storage storage/google/cloud/storage $ git mv unit_tests/storage storage/unit_tests
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini - Adding google-cloud-storage as a dependency to the umbrella package - Adding the storage subdirectory into the list of packages for verifying the docs - Incorporating the storage subdirectory into the umbrella coverage report - Adding the storage only tox tests to the Travis config - Adding {toxinidir}/../core as a dependency for the storage tox config
9af414d
to
b01ffb4
Compare
Pushed to resolve rebase conflict and re-ran script. Won't wait on Travis since a) that could be awhile and b) this will be painful. |
This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3