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

refactor(hand-written-products): to use GOOGLE_CLOUD_CPP_NS for inline namespace #7441

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

devjgm
Copy link
Contributor

@devjgm devjgm commented Oct 11, 2021

Part of: #5976

For {spanner,bigtable,storage,pubsub}, they all now directly use GOOGLE_CLOUD_CPP_NS as the name of their inline namespace. This resolves to the exact same thing as it did before, so this is not a breaking change.

The old namespace names of GOOGLE_CLOUD_CPP_PUBSUB_NS, BIGTABLE_CLIENT_NS, SPANNER_CLIENT_NS, and STORAGE_CLIENT_NS are now commented as deprecated, but they are still defined to be equivalent to GOOGLE_CLOUD_CPP_NS, so this change should not break any customers.

ATTENTION REVIEWERS: This PR is mostly search-n-replace changes. The only files with hand edits are:

  • cmake/GoogleCloudCppCommon.cmake
  • google/cloud/*/version.h, where the addition is just a comment

This change is Reviewable

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2021
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: c5b4359ffa8444959c24938d99b51a06993faa2c

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@devjgm devjgm marked this pull request as ready for review October 11, 2021 20:34
@devjgm devjgm requested a review from a team as a code owner October 11, 2021 20:34
@codecov
Copy link

codecov bot commented Oct 11, 2021

Codecov Report

Merging #7441 (fa1d5ac) into main (677e5f1) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7441      +/-   ##
==========================================
- Coverage   93.64%   93.63%   -0.01%     
==========================================
  Files        1362     1362              
  Lines      118253   118253              
==========================================
- Hits       110736   110732       -4     
- Misses       7517     7521       +4     
Impacted Files Coverage Δ
google/cloud/bigtable/admin_client.cc 38.40% <ø> (ø)
google/cloud/bigtable/admin_client.h 100.00% <ø> (ø)
google/cloud/bigtable/admin_client_test.cc 100.00% <ø> (ø)
google/cloud/bigtable/app_profile_config.cc 91.66% <ø> (ø)
google/cloud/bigtable/app_profile_config.h 100.00% <ø> (ø)
google/cloud/bigtable/app_profile_config_test.cc 100.00% <ø> (ø)
google/cloud/bigtable/async_read_stream_test.cc 97.32% <ø> (ø)
google/cloud/bigtable/async_row_reader.h 96.75% <ø> (ø)
google/cloud/bigtable/async_row_reader_test.cc 100.00% <ø> (ø)
google/cloud/bigtable/bigtable_version_test.cc 94.44% <ø> (ø)
... and 263 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 677e5f1...fa1d5ac. Read the comment docs.

Copy link
Contributor

@coryan coryan left a comment

Choose a reason for hiding this comment

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

Ugh. Nothing jumps at me as wrong, and the version.h file changes LGTM.

@devjgm devjgm force-pushed the rename-product-ns branch from c5b4359 to fa1d5ac Compare October 11, 2021 21:38
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: fa1d5acdcaaeed09548b623087aba4c7857f6fe9

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@devjgm devjgm merged commit 6137b15 into googleapis:main Oct 11, 2021
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