-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to copy symbolic links pointing outside of project directo…
…ry (#1199) * Add option to copy symbolic links pointing outside of project directory `digdag push` fails if the project includes a symbolic link that points outside of the project directory. This is hard to avoid because the archive package must be self-contained but such files pointed by the symlinks won't be included in the archive. This new option provides a solution to it. If the option is given, the command copies files or directories instead of throwing an exception. * Better naming for --copy-outgoing-symlinks * Fixed symlink handling at Archiver When archiver creates a symbolic link pointing to a directory, files in it shouldn't be copied. Such files should be copied through the pointed directory, not though the symbolic link. * fixed test cases
- Loading branch information
Showing
8 changed files
with
271 additions
and
73 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ public ProjectArchive load( | |
errors.add(ex); | ||
} | ||
} | ||
return true; | ||
}); | ||
|
||
try { | ||
|
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.