-
Notifications
You must be signed in to change notification settings - Fork 375
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
cleanup: remove remnant IAM deprecation macros #8873
Conversation
`GOOGLE_CLOUD_CPP_BIGTABLE_IAM_DEPRECATED` disappeared in googleapis#8652. `GOOGLE_CLOUD_CPP_IAM_DEPRECATED` disappeared in googleapis#8667.
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I missed this in #8667. Thanks for noticing and cleaning up!
@@ -82,8 +82,6 @@ elseif (GOOGLE_CLOUD_CPP_GENERATE_DOXYGEN) | |||
# to be noops or have simple values. | |||
set(DOXYGEN_PREDEFINED | |||
"GOOGLE_CLOUD_CPP_DEPRECATED(x)=" | |||
"GOOGLE_CLOUD_CPP_IAM_DEPRECATED(x)=" | |||
"GOOGLE_CLOUD_CPP_BIGTABLE_IAM_DEPRECATED(x)=" | |||
"GOOGLE_CLOUD_CPP_SPANNER_ADMIN_API_DEPRECATED(x)=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. I recently added
google-cloud-cpp/google/cloud/bigtable/version.h
Lines 22 to 26 in b09c2f3
#define GOOGLE_CLOUD_CPP_BIGTABLE_DATA_CLIENT_DEPRECATED(name) \ | |
GOOGLE_CLOUD_CPP_DEPRECATED( \ | |
"google::cloud::bigtable::DataClient::" name \ | |
" is deprecated, and will be removed on or shortly after 2023-05-01." \ | |
" See GitHub issue #8800 for more information.") |
GOOGLE_CLOUD_CPP_DEPRECATED
? If so, then maybe we can remove the spanner macro from this list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is that it should be a problem if doxygen saw any code that used GOOGLE_CLOUD_CPP_BIGTABLE_DATA_CLIENT_DEPRECATED
. So you may want to investigate.
[The original problem is that doxygen doesn't usually expand macros during its parse, so those attribute macros look like syntax errors.]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack. I think the GOOGLE_CLOUD_CPP_BIGTABLE_DATA_CLIENT_DEPRECATED
macro is only used in tests and internal classes. So we should be fine.
Codecov Report
@@ Coverage Diff @@
## main #8873 +/- ##
=======================================
Coverage 93.20% 93.20%
=======================================
Files 1474 1474
Lines 124487 124487
=======================================
+ Hits 116033 116034 +1
+ Misses 8454 8453 -1
Continue to review full report at Codecov.
|
GOOGLE_CLOUD_CPP_BIGTABLE_IAM_DEPRECATED
disappeared in #8652.GOOGLE_CLOUD_CPP_IAM_DEPRECATED
disappeared in #8667.This change is