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: fix updating of strip_prefix in renovate.sh #10946

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

devbww
Copy link
Contributor

@devbww devbww commented Feb 23, 2023

renovate.sh knew that the editable bazel/google_cloud_cpp_deps.bzl elements were terminated by the "sha256" field ... until they weren't. (See "canonicalize the ordering of urls/sha256/strip_prefix fields" in #10851.)

The new sed script is just as fragile, but hopefully now a little more stable.

Also update the order of the substitution commands to match the file, for just a little more clarity.


This change is Reviewable

`renovate.sh` knew that the editable `bazel/google_cloud_cpp_deps.bzl`
elements were terminated by the "sha256" field ... until they weren't.
(See "canonicalize the ordering of urls/sha256/strip_prefix fields"
in googleapis#10851.)

The new sed script is just as fragile, but hopefully now a little more
stable.

Also update the order of the substitution commands to match the file,
for just a little more clarity.
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.

Ah, thanks.

@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Base: 93.64% // Head: 93.64% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (dbe48ac) compared to base (9f868bf).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10946   +/-   ##
=======================================
  Coverage   93.64%   93.64%           
=======================================
  Files        1717     1717           
  Lines      154890   154890           
=======================================
+ Hits       145045   145054    +9     
+ Misses       9845     9836    -9     
Impacted Files Coverage Δ
google/cloud/internal/async_connection_ready.cc 89.36% <0.00%> (-4.26%) ⬇️
...le/cloud/storage/internal/curl_download_request.cc 88.62% <0.00%> (-0.34%) ⬇️
google/cloud/completion_queue_test.cc 97.13% <0.00%> (-0.20%) ⬇️
...cloud/pubsub/internal/subscription_session_test.cc 98.49% <0.00%> (ø)
google/cloud/storage/parallel_upload.cc 98.62% <0.00%> (+0.34%) ⬆️
...ud/spanner/integration_tests/client_stress_test.cc 84.86% <0.00%> (+0.65%) ⬆️
google/cloud/internal/curl_impl.cc 88.50% <0.00%> (+1.95%) ⬆️
google/cloud/internal/curl_handle.h 100.00% <0.00%> (+14.28%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@devbww devbww marked this pull request as ready for review February 23, 2023 23:19
@devbww devbww requested a review from a team as a code owner February 23, 2023 23:19
@devbww devbww merged commit a2a691f into googleapis:main Feb 24, 2023
@devbww devbww deleted the googleapis-update branch February 24, 2023 00:27
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