inspec / train

Transport Interface to unify communication over SSH, WinRM, and friends.
Apache License 2.0
119 stars 87 forks source link

Fix upload to support individual files #742

Closed thheinen closed 11 months ago

thheinen commented 1 year ago

Description

This enables transport plugins, who do not implement or have native file transfer capabilities (e.g. train-telnet or train-serial) to transfer individual files instead of complete directories.

SSH, WinRM, and Local bring their own implementations of this function and are not affected by the change

Related Issue

Knife bootstrapping via compatible Train plugins, see chef/chef#13534

Types of changes

Checklist:

thheinen commented 1 year ago

Uh, anyone?

Limited impact to 99% of classical use cases, high impact to future flexibility, compact patch. I would love to see this integrated ;-)

thheinen commented 1 year ago

Seems we need another review. The Knife part is moving now, so this will be a blocker if not merged.