-
Notifications
You must be signed in to change notification settings - Fork 9
Merging of winrm-fs and winrm-transporter #16
Comments
👍 |
👍 I'm all for limiting diverging paths for solving the same problems. |
That sounds great to me as well. I was basing a lot of API and design off winrm-fs but due to timing and our streaming-files-of-unknown-size requirements put a lot of the work here. A side goal of this code (once we extracted it from test-kitchen proper) was to augment or wrap existing winrm objects. I was also trying to steer clear of native code in the dependency chain, so if that's a similar goal or nice-to-have in winrm-fs then we're in good shape. I also suspect we're going to use this elsewhere in Chef ecosystem down the road so I love more downstream code using this all day long 😄 |
👍 |
I went through both gems today and have these notes: winrm-TransportUsed by
Entry points
Notes
winrm-fsUsed by
Entry points
Notes
general comments
Ideal home for
|
I really like to see the projects merged. It makes sense for me to move most winrm parts to the official winrm. I'd like to ensure that we:
|
@mwrock Moving CommandExecutor into core winrm makes sense to me. I dislike adding yet another way to do things to the core library, but until we decide to completely redesign the API for v2 I think this is a good iterative approach. |
I did not get far at all on this in November but have found time the last couple nights to return and have a "working" pr at WinRb/winrm-fs#28. "working" as in all the winrm-fs integration tests pass with the refactored merge. Here is the todo list copied from that PR as I see it:
I'll move discussion to the thread of that PR until things are ready to be deprecated here. |
I think the work here is pretty well wrapped up and ready for folks to review if interested. Here are the relevant PRs:
There was a small but breaking change in winrm-fs when uploading directories to comply with the strategy used in winrm-transport that includes the creation of the base directory being uploaded. I was concerned tha tthis would require fixes in vagrant but it looks like vagrant only uses |
The merged winrm-fs is now released as winrm-fs v0.3.0. Just a matter of polishing train and Test-kitchen PRs now. |
closing - winrm-fs has been merged into train and test kitchen. Will adjust the readme tonight to signify this is a deprecated gem. |
The winrm-fs gem and this gem are nearly identical in both function and public interface. I'd like to propose that we merge this gem over to winrm-fs to consolidate reuse. Given that the scope of these gems is small and their implementation are both very close, I think this can be done quickly and easily - I am volunteering. Both are actually based on my original winrm file transfer code but each polished off by smarter folk.
This gem has some nice functionality that handles limited batched commands on win7/2k8 and the other has a couple niceties like ensuring all powershell silences the progress stream which has bitten us here.
I'm nominating winrm-fs as the "official" home simply because it has a more generic audience in the winrm org and this one is aimed more towards test-kitchen consumption (not that it has to).
Any thoughts or objections?
cc @sneal
The text was updated successfully, but these errors were encountered: