FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move bigtable code into a subpackage by dhermes · Pull Request #2410 · googleapis/google-cloud-python · GitHub

Move bigtable code into a subpackage - #2410

Merged
dhermes merged 2 commits into
googleapis:masterfrom
dhermes:make-bigtable-subpackage
Sep 26, 2016
Merged

Move bigtable code into a subpackage#2410
dhermes merged 2 commits into
googleapis:masterfrom
dhermes:make-bigtable-subpackage

Conversation

dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor

Towards #2404. See #2367 for a reference point.

Done via:

$ mkdir -p bigtable/google/cloud
$ cp google/__init__.py bigtable/google/__init__.py
$ git add bigtable/google/__init__.py
$ cp google/cloud/__init__.py bigtable/google/cloud/__init__.py
$ git add bigtable/google/cloud/__init__.py
$ git mv google/cloud/bigtable bigtable/google/cloud/bigtable
$ git mv unit_tests/bigtable bigtable/unit_tests
- Adding setup.py, MANIFEST.in, README, .coveragerc and tox.ini
- Adding google-cloud-bigtable as a dependency to the umbrella
  package
- Adding the bigtable subdirectory into the list of packages
  for verifying the docs
- Incorporating the bigtable subdirectory into the umbrella
  coverage report
- Adding the bigtable only tox tests to the Travis config
- Updating the project main README to refer the bigtable
  subdirectory
- Renamed bigtable _testing imports (since in a new place)
- Adding {toxinidir}/../core as a dependency for the bigtable
  tox config
- Updating the location of the ignored bigtable generated
  files both in the `pycodestyle` config in `tox.ini`
  and in `run_pylint`

Changed the bigtable test helper import via:

$ git grep -l 'from unit_tests.bigtable._testing import _FakeStub' |
> xargs sed -i s/'from unit_tests.bigtable._testing import _FakeStub'/'from unit_tests._testing import _FakeStub'/g
dhermes added packaging api: bigtable Issues related to the Bigtable API. labels Sep 23, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 23, 2016

dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor Author

For reference, the 2nd commit is essentially these 3 (from core) mushed together:

dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor Author

Just occurred to me that I didn't move the system test.

tseaver commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

@dhermes Before merging, what did you decide to do about the system tests?

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

I punted to #2404 on system tests.

tseaver commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

LGTM

dhermes merged commit d1dd186 into googleapis:master Sep 26, 2016
dhermes deleted the make-bigtable-subpackage branch September 26, 2016 19:11
parthea pushed a commit that referenced this pull request Apr 1, 2026
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:
- [x] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #2410  🦕
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

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement. packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL