Skip to content

feat(channel): generate library - #8116

Merged
devjgm merged 5 commits into
googleapis:mainfrom
devjgm:feat-channel-generate-library
Jan 27, 2022
Merged

devjgm merged 5 commits into
googleapis:mainfrom
devjgm:feat-channel-generate-library

Conversation

@devjgm

@devjgm devjgm commented Jan 26, 2022 •

Copy link
Copy Markdown
Contributor

Fixes: #8115


This change is Reviewable

@product-auto-label product-auto-label Bot added the api: cloudchannel Issues related to the Channel Services API. label Jan 26, 2022
@google-cloud-cpp-bot

Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 1f529adaad0fb8ace75ee831bbade8af7841e725

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

@codecov

codecov Bot commented Jan 26, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #8116 (70d45b4) into main (f51459a) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8116      +/-   ##
==========================================
- Coverage   94.59%   94.58%   -0.01%     
==========================================
  Files        1320     1320              
  Lines      117792   117792              
==========================================
- Hits       111421   111415       -6     
- Misses       6371     6377       +6     
Impacted Files Coverage Δ
google/cloud/bigtable/internal/common_client.h 94.02% <0.00%> (-5.98%) ⬇️
google/cloud/examples/grpc_credential_types.cc 88.71% <0.00%> (-1.03%) ⬇️
.../cloud/storage/benchmarks/throughput_experiment.cc 74.37% <0.00%> (-0.51%) ⬇️
...cloud/pubsub/internal/subscription_session_test.cc 98.00% <0.00%> (-0.25%) ⬇️
google/cloud/pubsub/samples/samples.cc 92.02% <0.00%> (-0.08%) ⬇️
...le/cloud/internal/default_completion_queue_impl.cc 97.72% <0.00%> (+0.56%) ⬆️
google/cloud/bigtable/internal/common_client.cc 97.14% <0.00%> (+1.42%) ⬆️
google/cloud/internal/async_rpc_details.h 100.00% <0.00%> (+5.55%) ⬆️

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 f51459a...70d45b4. Read the comment docs.

Comment thread .typos.toml
"google/cloud/bigtable/internal/readrowsparser_acceptance_tests.inc",
# The source proto files have one or more typos in their comments
"google/cloud/accessapproval/access_approval_client.h",
"google/cloud/channel/cloud_channel_client.h",

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.

Consider sending CLs to fix the typos upstream, I just merged my fixes for storage_transfer_client.h

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.

It's not clear that it's a real typo. It complained about "add-ons" (the ons part). Maybe it's a typos bug. Not sure. In a way, it may be good to teach typos to ignore all auto-generated libraries.

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.

The comments go straight to our Doxygen documentation. The number of typos is small, but I would rather not ignore them and fix the problems upstream. Less embarrassing for everyone involved. It would be nice if the protos in googleapis/googleapis used some kind of typo detector too.

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.

Makes sense. I'll keep that in mind. In this case, typos complained about "Add-ons", which I think is spelled correctly; it's likely a bug in typos.

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.

Can't we add an extend-words entry to our .typos.toml file?

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.

Generally, we could do that. In this case, however, the typo is actually "ons" from the word "add-ons". So if we used extend-words we'd have to teach it that "ons" is a valid word, which is generally not true. Extending the allowed words to allow "add-ons" does not work.

FTR, the actual output was:

  --> ./google/cloud/channel/cloud_channel_client.h:813:10
    |
813 |   /// add-ons, or entitlements for Google Cloud's development platform.
    |           ^^^
    |
... 0.784 seconds

Comment thread BUILD.bazel
@devjgm
devjgm marked this pull request as ready for review January 26, 2022 17:57
@devjgm
devjgm requested a review from a team January 26, 2022 17:57
@google-cloud-cpp-bot

Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 80bacc8fb591e819f135ea205b79118687883e84

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

@devjgm
devjgm force-pushed the feat-channel-generate-library branch from 80bacc8 to 70d45b4 Compare January 26, 2022 23:47
@google-cloud-cpp-bot

Copy link
Copy Markdown
Contributor

Google Cloud Build Logs
For commit: 70d45b449779e2cbd4dde90d567070a4ae320ddd

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

@devjgm
devjgm merged commit f48b603 into googleapis:main Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudchannel Issues related to the Channel Services API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloud Channel API: cloudchannel.googleapis.com

4 participants