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

feat(oauth2): add quickstart, README, etc. #12754

Merged
merged 5 commits into from
Sep 28, 2023

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Sep 28, 2023

This will make the library more usable (I think) by including a quickstart, README, landing page for Doxygen, etc.


This change is Reviewable

This will make the library more usable (I think) by including a
quickstart, README, landing page for Doxygen, etc.
@coryan coryan temporarily deployed to internal September 28, 2023 19:34 — with GitHub Actions Inactive
@coryan coryan temporarily deployed to internal September 28, 2023 20:23 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (9caf55b) 93.60% compared to head (a77d767) 93.60%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12754   +/-   ##
=======================================
  Coverage   93.60%   93.60%           
=======================================
  Files        2078     2078           
  Lines      182456   182456           
=======================================
+ Hits       170791   170792    +1     
+ Misses      11665    11664    -1     

see 1 file with indirect coverage changes

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

@coryan coryan temporarily deployed to internal September 28, 2023 20:51 — with GitHub Actions Inactive
@coryan coryan temporarily deployed to internal September 28, 2023 21:01 — with GitHub Actions Inactive
@coryan coryan marked this pull request as ready for review September 28, 2023 21:02
@coryan coryan requested a review from a team as a code owner September 28, 2023 21:02
Copy link
Member

@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.

Reviewed 18 of 19 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @coryan)

@coryan coryan temporarily deployed to internal September 28, 2023 21:21 — with GitHub Actions Inactive
@@ -95,7 +97,7 @@ GA_LIBRARIES = GOOGLE_CLOUD_CPP_GA_LIBRARIES
library_dir = google_cloud_cpp_library_dir_name(library),
),
],
) for library in GA_LIBRARIES + TRANSITION_LIBRARIES]
) for library in GA_LIBRARIES + TRANSITION_LIBRARIES if library not in NO_MOCK_LIBRARIES]
Copy link
Member

Choose a reason for hiding this comment

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

We should probably add this to the experimental-{library}_mocks too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -203,7 +203,7 @@ time {
done

mapfile -t libraries < <(features::libraries)
for library in "${libraries[@]}" opentelemetry; do
for library in "${libraries[@]}" opentelemetry oauth2; do
Copy link
Member

Choose a reason for hiding this comment

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

why not add oauth2 to ci/etc/full_feature_list and thus features::libraries() ?

Because it would have to be hardcoded in the generator, and that would be kinda weird?

std::vector<std::string> features;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I think we should remove ci/etc/full_feature_list in favor of cmake/print-all-libraries.cmake (which does not exist yet)

function features::list_full() {
local feature_list
mapfile -t feature_list < <(features::libraries)
feature_list+=(opentelemetry experimental-storage_grpc grafeas)
Copy link
Member

Choose a reason for hiding this comment

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

FYI: we are dropping grafeas which I am ok with, but it is a feature that does something when we -DGOOGLE_CLOUD_CPP_ENABLE=grafeas. 🤷

and we no longer test it here:

mapfile -t features < <(features::list_full)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am fine with the tradeoff in slightly less testing (the feature is tested indirectly anyway) vs. more manageably CI scripts.

@coryan coryan temporarily deployed to internal September 28, 2023 21:40 — with GitHub Actions Inactive
@coryan coryan enabled auto-merge (squash) September 28, 2023 22:16
@coryan coryan merged commit e68c72e into googleapis:main Sep 28, 2023
@coryan coryan deleted the feat-oauth2-complete-scaffold branch September 28, 2023 22:39
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.

3 participants