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

feat(cloudbuild): generate v1 by busunkim96 · Pull Request #9510 · googleapis/google-cloud-python · GitHub

feat(cloudbuild): generate v1 - #9510

Merged
busunkim96 merged 12 commits into
googleapis:masterfrom
busunkim96:cloud-build
Nov 7, 2019
Merged

feat(cloudbuild): generate v1#9510
busunkim96 merged 12 commits into
googleapis:masterfrom
busunkim96:cloud-build

Conversation

busunkim96 commented Oct 21, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

I named the directory cloudbuild rather than build.

The generator names the package google-cloud-cloudbuild, but I'd be open to naming it google-cloud-build. Thoughts?

Product team said they preferred google-cloud-build, so I've added a synth replace.

TODO:

  • Setup Kokoro configs internally
  • Add Kokoro config in GitHub

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 21, 2019
busunkim96 marked this pull request as ready for review October 23, 2019 17:55

tseaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The only other library (containeranalysis) which uses google/cloud/devtools doesn't declare it as a namespace package, which means that installing it won't be compatible with this one if we continue to ship the library this PR generates.

Comment thread cloudbuild/docs/conf.py Outdated

busunkim96 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think google/cloud/ is the only namespace package for both?

google/cloud/__init__.py (namespace package):

google/cloud/devtools/__init__.py (regular package):

tseaver commented Oct 25, 2019

Copy link
Copy Markdown
Contributor

@busunkim96 Try installing google-cloud-containeranalysis and the new google-cloud-build library in the same virtualenv: the fact that google.cloud.devtools is not declared by both as a namespace package means that one of the two won't be importable (or maybe the second install will fail, depending on pip's behavior).

Copy link
Copy Markdown
Contributor Author

@tseaver Ah I see. So my options are:

  1. change containeranalysis and cloudbuild to both declare google.cloud.devtools as a namespace package.
  2. place cloudbuild in google.cloud.cloudbuild

I'll probably do 1, and note in the README that you need google-cloud-containeranalysis>=x.x.x to be able to install side by side with google-cloud-build.

busunkim96 requested a review from tseaver November 6, 2019 23:19
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

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL