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

Purge shell_tools functions #5566

Merged
merged 4 commits into from
Jun 21, 2022

Conversation

pavoljuhas
Copy link
Collaborator

Remove obsolete functions shell_tools.run_cmd and shell_tools.run_shell;
as they are now replaced by shell_tools.run.
Remove related classes and auxiliary functions CommandOutput, TeeCapture,
_async_forward, _async_wait_for_process.

This completes and closes #4394

Purge classes and functions only used from removed run_cmd / run_shell -
`CommandOutput`, `TeeCapture`, `_async_forward`, `_async_wait_for_process`.
@pavoljuhas pavoljuhas requested review from a team, vtomole and cduck as code owners June 21, 2022 17:12
@pavoljuhas pavoljuhas requested a review from verult June 21, 2022 17:12
@CirqBot CirqBot added the size: M 50< lines changed <250 label Jun 21, 2022
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

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

image

Beautiful

@MichaelBroughton MichaelBroughton self-assigned this Jun 21, 2022
@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 21, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 21, 2022
@CirqBot CirqBot merged commit eac80d1 into quantumlib:master Jun 21, 2022
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jun 21, 2022
@pavoljuhas pavoljuhas deleted the purge-shell_tools-functions branch June 21, 2022 18:13
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Remove obsolete functions `shell_tools.run_cmd` and `shell_tools.run_shell`;
as they are now replaced by `shell_tools.run`.
Remove related classes and auxiliary functions `CommandOutput`, `TeeCapture`,
`_async_forward`, `_async_wait_for_process`.

This completes and closes quantumlib#4394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make shell_tools smarter
3 participants