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

cleanup!: use the google-cloud-cpp-common project #3196

Merged
merged 30 commits into from
Oct 14, 2019

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Oct 11, 2019

BREAKING CHANGE: The common libraries have been moved
to the google-cloud-cpp-common repository.
While this may not be a technically breaking change (the API and ABI
remain unchanged, the include paths are the same), it will require
application developers to change their build scripts, so I think labeling
as such is useful.


This change is Reviewable

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2019
@codecov
Copy link

codecov bot commented Oct 11, 2019

Codecov Report

Merging #3196 into master will decrease coverage by 0.77%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3196      +/-   ##
==========================================
- Coverage   91.06%   90.28%   -0.78%     
==========================================
  Files         300      448     +148     
  Lines       20360    39275   +18915     
==========================================
+ Hits        18540    35461   +16921     
- Misses       1820     3814    +1994
Impacted Files Coverage Δ
...e/cloud/storage/testing/storage_integration_test.h 100% <ø> (ø) ⬆️
...gle/cloud/storage/internal/object_requests_test.cc 100% <ø> (ø)
google/cloud/storage/lifecycle_rule_test.cc 100% <100%> (ø)
google/cloud/storage/oauth2/credentials.h 33.33% <0%> (-33.34%) ⬇️
google/cloud/storage/well_known_headers.h 74.07% <0%> (-18.52%) ⬇️
google/cloud/storage/internal/complex_option.h 66.66% <0%> (-16.67%) ⬇️
google/cloud/storage/internal/curl_handle.h 65.62% <0%> (-12.5%) ⬇️
google/cloud/bigtable/version.cc 90.9% <0%> (-9.1%) ⬇️
google/cloud/storage/version.cc 90.9% <0%> (-4.55%) ⬇️
...le/cloud/bigtable/internal/async_retry_unary_rpc.h 84.61% <0%> (-3.85%) ⬇️
... and 215 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 8ab5e51...57bb685. Read the comment docs.

Needed to build google-cloud-cpp-common as shared libraries so these
builds would work.

Also I forgot to remove the common libraries from the check-abi.sh
script.
The google-cloud-cpp-common port does not exist in vcpkg, and should not
exist until this PR is merged. So for a short while we will use vcpkg
overlays, once we cut the next release we can clean all of this up.
@coryan coryan marked this pull request as ready for review October 12, 2019 14:11
@coryan
Copy link
Contributor Author

coryan commented Oct 12, 2019

PTAL.

@mr-salty mr-salty self-assigned this Oct 14, 2019
Copy link
Contributor

@mr-salty mr-salty left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 154 of 156 files at r1, 11 of 11 files at r2.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @coryan)


ci/kokoro/docker/Dockerfile.fedora-install, line 95 at r2 (raw file):

RUN tar -xf v0.13.0.tar.gz
WORKDIR /var/tmp/build/google-cloud-cpp-common-0.13.0
# Compile without the tests because we are testing spanner, not the base

this should say something other than "spanner".

Applies to a bunch of Dockerfiles (I only saw it go by 5 times or so before it registered...)


ci/test-install/WORKSPACE, line 51 at r2 (raw file):

)

#   https://github.com/bazelbuild/bazel/issues/1550

nit: get rid of extra indent since you deleted the top line


google/cloud/README.md, line 11 at r2 (raw file):

the

s/, the/; they/

@mr-salty
Copy link
Contributor

mr-salty commented Oct 14, 2019 via email

Copy link
Contributor Author

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

Thanks for the detailed review, I know it cannot have been easy.

Reviewable status: 152 of 165 files reviewed, 3 unresolved discussions (waiting on @mr-salty)


ci/kokoro/docker/Dockerfile.fedora-install, line 95 at r2 (raw file):

Previously, mr-salty (Todd Derr) wrote…

this should say something other than "spanner".

Applies to a bunch of Dockerfiles (I only saw it go by 5 times or so before it registered...)

Fixed here and elsewhere, thanks for noticing.


ci/test-install/WORKSPACE, line 51 at r2 (raw file):

Previously, mr-salty (Todd Derr) wrote…

nit: get rid of extra indent since you deleted the top line

Removed, I think this information is just "how Bazel works".


google/cloud/README.md, line 11 at r2 (raw file):

Previously, mr-salty (Todd Derr) wrote…
the

s/, the/; they/

Fixed. Thanks!

@coryan coryan merged commit 319c7e7 into googleapis:master Oct 14, 2019
@coryan coryan deleted the switch-to-google-cloud-cpp-common branch October 14, 2019 19:12
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.

3 participants