-
Notifications
You must be signed in to change notification settings - Fork 198
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
Remove SSH channels, as part of #3515 channel removal #3677
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
khk-globus
approved these changes
Nov 7, 2024
benclifford
added a commit
that referenced
this pull request
Nov 8, 2024
This has been a basically dead code path since removal of non-remote channels: Either a user chooses to not move files (overriding move_files to False) and the push_file was not used. Or the default push_file was used, but: * this is always LocalChannel now (PR #3677) * the script directory is always the local script directory (PR #3688) and so the local channel code always skips making a copy This commit simplies all of that away into using the script path directly with putting it through the above complicated no-op.
benclifford
added a commit
that referenced
this pull request
Nov 9, 2024
SSH channels were removed in #3677
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 11, 2024
SSH channels were removed in #3677 ## Type of change - Code maintenance/cleanup
This was referenced Nov 21, 2024
Closed
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 26, 2024
This removes push/pull support from channels. All the HPC providers used channel.push_file to push their batch scripts to the (no-longer) remote system. This has been a basically dead code path since removal of non-remote channels: The channel is always a LocalChannel now (PR #3677) The "remote" script directory is always the local script directory (PR #3688) and so `LocalChannel.push_file` always skips making a copy and returns the path it was given without further action. So all the removed code is a no-op, and this PR simplifies that into nothing. # Changed Behaviour Some providers had an option to let users decide if scripts (and other files) would be pushed/pulled to the remote system. Those options are removed by this PR. ## Type of change - New feature - Code maintenance/cleanup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed Behaviour
This removes functionality for all users of the SSH channel implementations. There are more details on alternatives in issue #3515.
Type of change