Repository navigation
Preserve recursive FileTransfer paths - #422
Merged
Merged
Conversation
|
Sorry @cooktheryan, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 2 days and 1 hour by commenting |
Reviewer's GuideFileTransfer now carries validated repository-relative paths through Podman and host-artifact deployment, preserving nested directory structure for recursive selections and lifecycle operations while maintaining direct destination behavior for single-file and Systemd flows; tests, CI validation, examples, and documentation are updated accordingly. Sequence diagram for recursive FileTransfer deploymentsequenceDiagram
participant Git as Git changes
participant FT as FileTransfer
participant Podman as Podman
participant Dest as Destination directory
Git->>FT: MethodEngine
FT->>FT: fileTransferRelativePath
FT->>Podman: fileTransferPodman
Podman->>Podman: generateSpec
Podman->>Dest: rsync --mkpath to destination/relativePath
Dest-->>FT: Nested file deployed
Sequence diagram for nested FileTransfer lifecycle operationssequenceDiagram
participant Git as Git changes
participant FT as FileTransfer
participant Host as Host artifact deployment
participant Dest as Artifact destination
Git->>FT: MethodEngine
FT->>FT: fileTransferRelativePath
FT->>Host: deployHostArtifact
Host->>Host: executeHostArtifactPlan
Host->>Host: artifactTargetPath
alt apply
Host->>Dest: Create parent directories and rename staged file
else delete or rename
Host->>Dest: Remove previous nested path
end
File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
cooktheryan
force-pushed
the
fix/236-recursive-filetransfer
branch
from
October 13, 2026 13:05
6498819 to
772069e
Compare
Signed-off-by: Ryan Cook <rcook@redhat.com>
cooktheryan
force-pushed
the
fix/236-recursive-filetransfer
branch
from
October 13, 2026 13:20
772069e to
168ab7b
Compare
This file contains hidden or 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
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.
Summary
targetPathwhen FileTransfer deploys filesglobselections copying directly intodestinationDirectoryCloses #236.
Validation
go test -mod=mod ./... -count=1go test -mod=mod -tags host_artifacts_integration ./pkg/engine -run '^$' -count=1python -m sphinx -W -E -b html docs _output/docstargetPathwas not duplicated in the destinationglobcopied onlytest1.txtSummary by Sourcery
Preserve FileTransfer directory structure below target paths across container and host artifact deployments.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests: