As soon as I switch the $version to "2.0", i'd like for the new file to be downloaded (ok so far), but then be extracted in a way which replaces entirely the existing (1.0) "/path/to/directory". This can be done with a "tar xzvf --recursive-unlink" option, but trying to navigate around the creates/onlyif/unless logic and execute extract based on a subscribe to the Staging::File becomes difficult.
Any suggestions for using this module for this usecase, or contributions which would help satisfy would be welcome!
Deploy the tar with versions and symlink to the appropriate version. Cleanup can be done via file management of parent directory with recurse of depth 1 and no checksum.
I'm attempting to add functionality to this to handle the usecase of:
As soon as I switch the $version to "2.0", i'd like for the new file to be downloaded (ok so far), but then be extracted in a way which replaces entirely the existing (1.0) "/path/to/directory". This can be done with a "tar xzvf --recursive-unlink" option, but trying to navigate around the creates/onlyif/unless logic and execute extract based on a subscribe to the Staging::File becomes difficult.
Any suggestions for using this module for this usecase, or contributions which would help satisfy would be welcome!