Skip to content

stats: change all remaining Stats::ScopePtr references to Stats::ScopeSharedPtr#20888

Merged
jmarantz merged 2 commits intoenvoyproxy:mainfrom
jmarantz:shared-scope-6
Apr 20, 2022
Merged

stats: change all remaining Stats::ScopePtr references to Stats::ScopeSharedPtr#20888
jmarantz merged 2 commits intoenvoyproxy:mainfrom
jmarantz:shared-scope-6

Conversation

@jmarantz
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz commented Apr 19, 2022

Commit Message: Follow-up to #19791, #19790 and #20871, finishing off all remaining ScopePtr references. One more PR to go which will be to remove the ScopePtr definition, but first need to make sure this doesn't break any references outside the repo.

Testing: //test/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Joshua Marantz <jmarantz@google.com>
@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #20888 was opened by jmarantz.

see: more, trace.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
@jmarantz
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit isn't fully completed, but will still attempt retrying.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #20888 (comment) was created by @jmarantz.

see: more, trace.

@jmarantz
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #20888 (comment) was created by @jmarantz.

see: more, trace.

@jmarantz jmarantz changed the title rename remainder of ScopePtr refs stats: change all remaining Stats::ScopePtr references to Stats::ScopeSharedPtr #20871 Apr 19, 2022
@jmarantz jmarantz changed the title stats: change all remaining Stats::ScopePtr references to Stats::ScopeSharedPtr #20871 stats: change all remaining Stats::ScopePtr references to Stats::ScopeSharedPtr Apr 19, 2022
@jmarantz jmarantz marked this pull request as ready for review April 19, 2022 23:50
Copy link
Copy Markdown
Contributor

@KBaichoo KBaichoo left a comment

Choose a reason for hiding this comment

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

lgtm!

@jmarantz jmarantz merged commit 095d6a5 into envoyproxy:main Apr 20, 2022
@jmarantz jmarantz deleted the shared-scope-6 branch April 20, 2022 01:09
@KBaichoo
Copy link
Copy Markdown
Contributor

For the switch what are you waiting for exactly? Perhaps marking the old typedef as deprecated could be a good approach to warning other repos.

@jmarantz
Copy link
Copy Markdown
Contributor Author

jmarantz commented Apr 20, 2022 via email

@jmarantz
Copy link
Copy Markdown
Contributor Author

#20896 adds the lint check and deprecated warning, though that warning doesn't seem to come out for me when I run bazel build on a file where I've used the old name.

@KBaichoo
Copy link
Copy Markdown
Contributor

alas, we silence deprecated warning on linux: #19468

@jmarantz
Copy link
Copy Markdown
Contributor Author

Yeah I think it's still good as documentation though. In theory clang-tidy should catch it, but it doesn't.

ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
…eSharedPtr (envoyproxy#20888)

Commit Message: Follow-up to envoyproxy#19791, envoyproxy#19790 and envoyproxy#20871, finishing off all remaining ScopePtr references. One more PR to go which will be to remove the ScopePtr definition, but first need to make sure this doesn't break any references outside the repo.

Testing: //test/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Joshua Marantz <jmarantz@google.com>
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