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 resource manager code into a subpackage by dhermes · Pull Request #2435 · 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-resource_manager-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package resource-manager \
  --package-name "Google Cloud Resource Manager" \
  --readme "${READMES_DIR}/resource_manager/README.rst"

NOTE: A new commit was added to the script to handle the -/_ switch for multi-name packages.

Sorry, something went wrong.

Uh oh!

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

All reactions
@dhermes dhermes added packaging api: cloudresourcemanager Issues related to the Resource Manager 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
dhermes force-pushed the make-resource_manager-subpackage branch from 2579707 to 53e3443 Compare September 26, 2016 21:44
dhermes added 2 commits September 26, 2016 16:11
@dhermes
Moving all resource-manager files into subdirectory.
230267c
Done via:

$ mkdir -p resource_manager/google/cloud
$ cp google/__init__.py resource_manager/google/__init__.py
$ git add resource_manager/google/__init__.py
$ cp google/cloud/__init__.py resource_manager/google/cloud/__init__.py
$ git add resource_manager/google/cloud/__init__.py
$ git mv google/cloud/resource_manager resource_manager/google/cloud/resource_manager
$ git mv unit_tests/resource_manager resource_manager/unit_tests
@dhermes
Making resource-manager subpackage into a proper package.
7cb86b4
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-resource-manager as a dependency to the umbrella
  package
- Adding the resource_manager subdirectory into the list of packages
  for verifying the docs
- Incorporating the resource_manager subdirectory into the umbrella
  coverage report
- Adding the resource-manager only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the resource-manager
  tox config
@dhermes
dhermes force-pushed the make-resource_manager-subpackage branch from 53e3443 to 7cb86b4 Compare September 26, 2016 23:16
@dhermes
dhermes merged commit 685341a into googleapis:master Sep 26, 2016
@dhermes
dhermes deleted the make-resource_manager-subpackage branch September 26, 2016 23:16
@dhermes

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

Failed for similar reasons as #2436, but I fixed up and rebased before merging.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes dhermes mentioned this pull request Sep 26, 2016
Move monitoring code into a subpackage #2430
Merged
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: cloudresourcemanager Issues related to the Resource Manager 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.

5 participants

@dhermes @yegle @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.