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

Extend Copy to all kinds of archives and assets #431

Open
thomas11 opened this issue May 14, 2024 · 0 comments
Open

Extend Copy to all kinds of archives and assets #431

thomas11 opened this issue May 14, 2024 · 0 comments
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features

Comments

@thomas11
Copy link
Contributor

#423 gave the Copy resource the ability to take assets and archives as input, but only the path-based kinds. With custom handling, we could support the other kinds, too:

  • StringAsset: write the string into the remote file.
  • RemoteAsset and RemoteArchive: download first, then handle like a path asset.
    • It would be more efficient to SSH into the target system and initiate the copy from there (avoiding the relay), but that could introduce more failure types and be more complex to implement and test.
  • AssetArchive: recurse through and do one of the above for each one.
@thomas11 thomas11 added kind/enhancement Improvements or new features impact/usability Something that impacts users' ability to use the product easily and intuitively labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant