Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Redis v1 with new redis/synth.py #5945

Merged
merged 8 commits into from
Sep 14, 2018
Merged

Generate Redis v1 with new redis/synth.py #5945

merged 8 commits into from
Sep 14, 2018

Conversation

danoscarmike
Copy link
Contributor

No description provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 12, 2018
redis/nox.py Outdated
os.path.join('..', 'core'),
)


This comment was marked as spam.

redis/nox.py Outdated
session.interpreter = 'python3.6'
session.install('coverage', 'pytest-cov')
session.run('coverage', 'report', '--show-missing', '--fail-under=100')
session.run('coverage', 'erase')

This comment was marked as spam.

redis/setup.py Outdated
name = 'google-cloud-redis'
description = 'Cloud Redis API client library'
description = 'Google Cloud Memorystore for Redis API API client library'

This comment was marked as spam.

redis/setup.py Outdated
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'

This comment was marked as spam.

redis/setup.py Outdated

package_root = os.path.abspath(os.path.dirname(__file__))

readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
readme = readme_file.read()

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.

This comment was marked as spam.

redis/setup.py Outdated
'google-api-core[grpc] >= 0.1.0, < 0.2.0dev',
'google-api-core[grpc] >= 1.1.0, < 2.0.0dev',
'enum34; python_version < "3.4"',
'grpc-google-iam-v1<0.12dev,>=0.11.4',

This comment was marked as spam.

@tseaver
Copy link
Contributor

tseaver commented Sep 12, 2018

I wonder if we need an option for synthtool to leave anything outside of gapic and proto alone: I'm not confident that trying to fix it up with synth.py afterwards is sufficient to risk damaging the library.

@theacodes
Copy link
Contributor

I wonder if we need an option for synthtool to leave anything outside of gapic and proto alone: I'm not confident that trying to fix it up with synth.py afterwards is sufficient to risk damaging the library.

Yep, we have the ability to copy just subdirs and exclude specific files as well. Check out pubsub's synth.py. Also, you can take a look at the source for synthtool over here: https://github.com/GoogleCloudPlatform/synthtool

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 12, 2018
@danoscarmike
Copy link
Contributor Author

Thanks @tseaver for jumping on these fixes. Much appreciated.

@theacodes are we good to merge and release this? Can you override the cla label?

@theacodes theacodes added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 12, 2018
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

@theacodes
Copy link
Contributor

Circle is still failing due to bad docstrings (uggg). @tseaver do you mind adding the appropriate replaces in synth.py to work around those?

@danoscarmike
Copy link
Contributor Author

@tseaver @theacodes apologies for lobbing the 💣 and running. I'm happy to continue to work on this but will need some direction...

Unfortunately we are on the clock with this one and need to get it released ASAP.

@theacodes
Copy link
Contributor

theacodes commented Sep 13, 2018 via email

@theacodes
Copy link
Contributor

Nvm, I got it, eta ~1 hour or so.

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 14, 2018
@theacodes theacodes added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 14, 2018
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Sep 14, 2018
@theacodes theacodes added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Sep 14, 2018
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

@theacodes theacodes merged commit b262661 into master Sep 14, 2018
@theacodes theacodes deleted the dan_redis branch September 14, 2018 20:00
@tseaver tseaver added codegen api: redis Issues related to the Memorystore for Redis API. and removed api: redis Issues related to the Memorystore for Redis API. labels Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: redis Issues related to the Memorystore for Redis API. cla: yes This human has signed the Contributor License Agreement. codegen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants