Move storage code into a subpackage#2416
Merged
dhermes merged 2 commits intogoogleapis:masterfrom Sep 26, 2016
Merged
Conversation
32 tasks
theacodes
approved these changes
Sep 25, 2016
Contributor
theacodes
left a comment
There was a problem hiding this comment.
LGTM with a few tiny things.
storage/README.rst
Outdated
| 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.
| --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
Contributor
|
LGTM |
Contributor
|
Contributor
Author
|
@tseaver Yes essentially all will conflict, but luckily I can just re-run the script (that is why I ran it).
|
Contributor
|
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
Contributor
Author
|
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 was referenced Sep 26, 2016
parthea
added a commit
that referenced
this pull request
Nov 24, 2025
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3