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 — Move translate code into a subpackage by dhermes · Pull Request #2432 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Sep 26, 2016 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3

export PROJECT_DIR="${HOME}/google-cloud-python"
export READMES_DIR="${HOME}/i-wrote-some-readmes-for-2357"
cd ${PROJECT_DIR}
git worktree add -b make-translate-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package translate \
  --package-name "Google Translate" \
  --readme "${READMES_DIR}/translate/README.rst"

Sorry, something went wrong.

Uh oh!

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

All reactions
@dhermes dhermes added packaging api: translation Issues related to the Cloud Translation API API. labels Sep 26, 2016
@dhermes dhermes assigned tseaver and theacodes Sep 26, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2016
@dhermes dhermes mentioned this pull request Sep 26, 2016
[TRACKING] Move all packages into subpackages #2404
Closed
25 of 32 tasks
theacodes
theacodes approved these changes Sep 26, 2016
View reviewed changes
dhermes added 2 commits September 26, 2016 16:33
@dhermes
Moving all translate files into subdirectory.
2be3c93
Done via:

$ mkdir -p translate/google/cloud
$ cp google/__init__.py translate/google/__init__.py
$ git add translate/google/__init__.py
$ cp google/cloud/__init__.py translate/google/cloud/__init__.py
$ git add translate/google/cloud/__init__.py
$ git mv google/cloud/translate translate/google/cloud/translate
$ git mv unit_tests/translate translate/unit_tests
@dhermes
Making translate subpackage into a proper package.
f80cdfc
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-translate as a dependency to the umbrella
  package
- Adding the translate subdirectory into the list of packages
  for verifying the docs
- Incorporating the translate subdirectory into the umbrella
  coverage report
- Adding the translate only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the translate
  tox config
@dhermes
dhermes force-pushed the make-translate-subpackage branch from 5143916 to f80cdfc Compare September 26, 2016 23:57
@dhermes

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

Rebased after #2433. Green build

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
dhermes merged commit 77899d4 into googleapis:master Sep 26, 2016
@dhermes
dhermes deleted the make-translate-subpackage branch September 26, 2016 23:58
@dhermes dhermes mentioned this pull request Sep 27, 2016
Move speech code into a subpackage #2431
Closed
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
docs: minor formatting improvements (#2432)
4bf299f
parthea pushed a commit that referenced this pull request Apr 1, 2026
@GarrettWu
test: add system tests for bigquery.ml.create_model (#2432)
aa29a00
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:
- [ ] 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
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@theacodes theacodes theacodes approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@tseaver tseaver

@theacodes theacodes

Labels

api: translation Issues related to the Cloud Translation API API. cla: yes This human has signed the Contributor License Agreement. packaging

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

@dhermes @theacodes @tseaver @googlebot
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.