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

switch to using scp for the copy dump file cmd #9

Merged
merged 1 commit into from
Aug 16, 2016
Merged

Conversation

kellyredding
Copy link
Member

This is apparently faster than sftp but less feature-ful. We
don't need a bunch of features for the copy so switch to get some
extra speed in copying.

This also switches off of using Dk's configured ssh args. This
was a bug with the previous sftp implementation and is also an
issue with this scp implementation. The ssh args and scp (or sftp)
args aren't common so we can't blindly rely on them. Really the
only "common" args are the -o * options. This switches to looking
for optional args in a named param so that the scp args can be
distinct from the ssh args.

@jcredding ready for review.

This is apparently faster than sftp but less feature-ful.  We
don't need a bunch of features for the copy so switch to get some
extra speed in copying.

This also switches off of using Dk's configured ssh args.  This
was a bug with the previous sftp implementation and is also an
issue with this scp implementation. The ssh args and scp (or sftp)
args aren't common so we can't blindly rely on them.  Really the
only "common" args are the `-o *` options. This switches to looking
for optional args in a named param so that the scp args can be
distinct from the ssh args.
@jcredding
Copy link
Member

@kellyredding - I'm good with this 💥

@kellyredding kellyredding merged commit 4cd01bf into master Aug 16, 2016
@kellyredding kellyredding deleted the kr-scp branch August 16, 2016 16:59
kellyredding added a commit that referenced this pull request Aug 17, 2016
* (hotfix) first pass README b5754c4
* add Script, Config, Db #1
* basic task mixin and internal task framework #2
* implement the Setup and Teardown tasks #3
* implement the Task mixin #5
* implement the Dump, CopyDump and Restore tasks #4
* (hotfix) switch much-plugin to a non-dev dependency ba53e13
* (hotfix) allow configuring multiple Script config blocks 4041d83
* auto-create a Task for each Script #6
* add a Script DSL method for setting the script's Task description #7
* initialize Scripts with the Task params #8
* (hotfix) properly create the nested Script Tasks 7b0279a
* switch to using scp for the copy dump file cmd #9
* update the README to properly describe script task usage #10
* update to the latest assert/dk 6272839
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