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

impl(bigquerycontrol): promote from experimental to transitional #14887

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

scotthart
Copy link
Member

@scotthart scotthart commented Dec 9, 2024

This change is Reviewable

@scotthart scotthart requested a review from a team as a code owner December 9, 2024 17:22
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.91%. Comparing base (6b60e33) to head (f767cf5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14887   +/-   ##
=======================================
  Coverage   92.91%   92.91%           
=======================================
  Files        2351     2351           
  Lines      209692   209692           
=======================================
+ Hits       194832   194841    +9     
+ Misses      14860    14851    -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dbolduc dbolduc left a comment

Choose a reason for hiding this comment

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

This is probably a convenient way to keep defining the experimental-* target, which quickstart-cmake-pr needs.

https://github.com/coryan/google-cloud-cpp/blob/49b7952a640dd4e323b2acafe18088557ff8f3a7/google/cloud/accessapproval/config.cmake.in#L23-L26

google/cloud/bigquerycontrol/README.md Show resolved Hide resolved
Copy link
Member Author

@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

So the edits to the config.cmake.in fixed one issue, but because the quickstart-cmake build uses the current release and not HEAD to install cmake targets, the build could not find experimental-bigquerycontrol, so I have temporarily excluded it from that build.

Reviewable status: 0 of 13 files reviewed, 1 unresolved discussion (waiting on @dbolduc)

google/cloud/bigquerycontrol/README.md Show resolved Hide resolved
@@ -20,6 +20,6 @@ cc_binary(
"quickstart.cc",
],
deps = [
"@google_cloud_cpp//:experimental-bigquerycontrol",
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted.

@@ -29,4 +29,4 @@ endif ()

# Define your targets.
add_executable(quickstart quickstart.cc)
target_link_libraries(quickstart google-cloud-cpp::experimental-bigquerycontrol)
target_link_libraries(quickstart google-cloud-cpp::bigquerycontrol)
Copy link
Member

Choose a reason for hiding this comment

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

same

Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted.

Copy link
Member Author

@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 16 files reviewed, 3 unresolved discussions (waiting on @dbolduc)

@@ -20,6 +20,6 @@ cc_binary(
"quickstart.cc",
],
deps = [
"@google_cloud_cpp//:experimental-bigquerycontrol",
Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted.

@@ -29,4 +29,4 @@ endif ()

# Define your targets.
add_executable(quickstart quickstart.cc)
target_link_libraries(quickstart google-cloud-cpp::experimental-bigquerycontrol)
target_link_libraries(quickstart google-cloud-cpp::bigquerycontrol)
Copy link
Member Author

Choose a reason for hiding this comment

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

Reverted.

bigquerycontrol "Cloud BigQuery Control API" EXPERIMENTAL REST_TRANSPORT
SERVICE_DIRS "v2/")
google_cloud_cpp_add_gapic_library(bigquerycontrol "Cloud BigQuery Control API"
REST_TRANSPORT SERVICE_DIRS "v2/")
Copy link
Member

Choose a reason for hiding this comment

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

We want a TRANSITION flag here

@@ -1747,7 +1747,7 @@ void RestoreDatabaseWithEncryptionKeyCommand(std::vector<std::string> argv) {
// [START spanner_restore_backup_with_MR_CMEK]
void RestoreDatabaseWithMRCMEK(
google::cloud::spanner_admin::DatabaseAdminClient client,
BackupIdentifier src, std::string const& database_id,
BackupIdentifier const& src, std::string const& database_id,
Copy link
Member

Choose a reason for hiding this comment

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

odd that we are making a spanner change in this PR, but it looks like a good change

Copy link
Member Author

Choose a reason for hiding this comment

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

For reasons unknown, clang-tidy complained about it in this PR, not whichever PR is was introduced in.

Copy link
Member Author

@scotthart scotthart left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 16 files reviewed, 5 unresolved discussions (waiting on @dbolduc)

@@ -1747,7 +1747,7 @@ void RestoreDatabaseWithEncryptionKeyCommand(std::vector<std::string> argv) {
// [START spanner_restore_backup_with_MR_CMEK]
void RestoreDatabaseWithMRCMEK(
google::cloud::spanner_admin::DatabaseAdminClient client,
BackupIdentifier src, std::string const& database_id,
BackupIdentifier const& src, std::string const& database_id,
Copy link
Member Author

Choose a reason for hiding this comment

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

For reasons unknown, clang-tidy complained about it in this PR, not whichever PR is was introduced in.

@scotthart scotthart merged commit e2ed1e6 into googleapis:main Dec 11, 2024
74 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants