mirror of
1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Casey Rodarmor eeb4c284fb Add plugin loader 2016-02-06 15:14:35 -05:00
Anish Athalye fd7f3b8551 Add environment variable expansion in link paths
This feature was proposed by Brian Knobbs <brian@redlattice.com>.
2015-05-12 20:28:58 -04:00
Anish Athalye 3725d21684 Add functionality to overwrite broken links
This commit adds an option to the extended configuration syntax for
linking files and directories. The relink option is a safe alternative
to forcibly linking that only removes broken symbolic links, so it
cannot result in data loss.
2015-05-02 22:30:14 -04:00
Andreas Ntaflos 1a10f88c43 Handle force creation of symlinked directories
Check if entry to force-create (delete) is a symlink and if so, simply
unlink it. Don't try to run rmtree on the underlying directory, which
will fail anyway.
2015-04-27 22:58:22 +02:00
Anish Athalye c638e25941 Clean up code
Fix typos and remove unused code.
2015-01-26 10:36:11 -05:00
Anish Athalye bc43348f42 Fix bug with forced links not working in all cases
This commit fixes a bug where forced links did not work on certain types
of bad links. Until this fix, forced links only worked if the original
was a real file or directory. This commit fixes this, so that the forced
link option also works when the original is a broken or incorrect
symbolic link.
2014-11-09 09:08:13 -05:00
Anish Athalye afebc0bb2f Add functionality to create parent directories
This commit introduces an additional option for extended configuration
syntax for linking. It adds the "create" parameter which results in
automatically creating a parent directory if necessary before linking a
file.
2014-10-22 14:44:40 -04:00
Anish Athalye 13c925be87 Add functionality to forcibly link items
This commit introduces an extended configuration syntax for linking
files and directories. Currently, this syntax allows for specifying
items to be forcibly linked, overwriting existing files or directories
if necessary.

The extended configuration syntax was proposed by Travers McInerney
<travers@mcinerney.me>.
2014-10-22 14:42:23 -04:00
Anish Athalye 09a80230f5 Clean up code 2014-08-20 14:00:00 -07:00
Anish Athalye 5394184d14 Display better error message when linking fails
When failing to symbolically linking files, display the names of the
files that could not be linked. This makes it easier to troubleshoot the
error without having to manually figure out which files failed to link.
2014-07-17 13:40:08 -07:00
Anish Athalye a97096ef96 Make Linker check for existence of targets
Linker now reports an error when links are configured to point to
nonexistent targets. This fixes the old behavior where Linker silently
created invalid links.
2014-07-15 18:25:53 -07:00
Anish Athalye e85dbfb7dd Remove code duplication in executors 2014-04-24 15:41:34 -04:00
Anish Athalye 60a560e976 Initial commit 2014-03-20 18:57:56 -04:00