This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended workaround for handling symlinks in tar files (#163)
* Extended workaround for tars containing symlinks in environments without symlink support * Remove earlier windows workaround * slight formatting correction * corrected tar command for verbose listing * another correction of the tar command * Adapted regex to match tar listing of mac-os * obtain debug info for tuning the regex * More debug info * Adapt regex for Mac OS, next version * New version of regex to match more tars * Determine tarlist format from a demo file listing. Slight change to `gen_7z` in order to avoid the "world-age problem" * slight modification to avoid changes to gen_7z * define symlink_parser locally * Replace old copyderef by new version, use mktemp() for temp files, document regex, modify excludeoption to also accept files with spaces * added examples of verbose listings, put back `mkpath(dest)` (which was accidentilly removed) and moved it to the correct location above `probe_symlink_creation(dest)` (was wrong before!) * Added 7z Listing and corrected tar exclude command * brushing up the code and making excludlist::Union{AbstractString, Cmd} and defaulting it to `` * excludelist defaults to nothing; adaptations for tar command in Windows 10: option "-f -" for stdin/stdout, removed \r in parse_tar_list * Change type of excludelist argument to `Union{AbstractString, Nothing}` * Change type of excludelist argument to `Union{AbstractString, Nothing}` * Correct some errors... * place an error in case that `probe_platform_engines!()` has not been run
- Loading branch information
1 parent
a306d9c
commit 6b34650
Showing
3 changed files
with
180 additions
and
72 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.