Adam Spiers
c500216f20
correctly handle the stow/target directories as non-canonical paths
...
Fix the case discovered by Hiroyuki Iwatsuki where stowing fails if
the stow / target directories are non-canonical paths. For example,
on FreeBSD /home is a symlink pointing to 'usr/home', so running with
the stow directory as /home/user/local/stow and the target directory
as /home/user/local previously resulted in the stow directory path
being calculated as ../../../usr/home/user/local/stow relative to
the target.
http://article.gmane.org/gmane.comp.gnu.stow.bugs/8820
2013-04-12 17:48:08 +01:00
Adam Spiers
8ccef07601
Only include $! in error messages for failed syscalls.
2012-07-09 01:06:13 +01:00
Adam Spiers
1517384e53
Improve docs for path_owned_by_package()
2012-02-19 11:58:45 +00:00
Adam Spiers
ed12c787df
Add --no-folding option.
2012-02-18 20:33:34 +00:00
Adam Spiers
a127d22457
Improve error message when package is not found.
2012-02-18 20:33:34 +00:00
Adam Spiers
a5c2134f59
Add missing options to pod, and reference to front-end documentation.
2012-02-18 17:14:50 +00:00
Adam Spiers
fe18b6c442
Avoid "Use of uninitialized value" warnings from test suite.
...
Happened on some versions of Perl when TEST_VERBOSE not yet.
Thanks Adam Sampson!
2012-01-13 11:35:53 +00:00
Adam Spiers
8357dca645
Remove "There are no outstanding operations to perform" warning.
...
This is more in keeping with the UNIX convention of no output on success,
and is also the way Stow v1.x behaved. Thanks to Adam Sampson for the suggestion.
2012-01-11 14:01:40 +00:00
Adam Spiers
7e44666640
Add --adopt / -a option.
2012-01-09 21:29:34 +00:00
Adam Spiers
5110ea8338
Add stacktrace to internal error report to aid debugging.
2012-01-09 21:11:58 +00:00
Adam Spiers
1200420687
Link to website to encourage users to report bugs.
2012-01-09 17:52:11 +00:00
Adam Spiers
1efb786140
Improve existing comments.
2012-01-09 16:25:27 +00:00
Adam Spiers
d672e3e6cf
Improve debug levels.
2011-11-26 19:18:33 +00:00
Adam Spiers
d5aa061abe
Fix documentation regarding splitting of symlinks across multiple stow directories.
2011-11-26 16:34:57 +00:00
Adam Spiers
3d414dc071
Improve conflict reporting
2011-11-26 16:34:57 +00:00
Adam Spiers
55d3f05cf2
Ditch obsolete --conflicts option and update misleading documentation.
2011-11-26 16:34:57 +00:00
Adam Spiers
0db112441f
Strip superfluous quotes from $hash{'lookups'}
2011-11-26 16:34:54 +00:00
Adam Spiers
ea82ef5b8b
Add support for ignore lists.
2011-11-26 16:34:48 +00:00
Adam Spiers
7777e181a8
Rename $old_* to $existing_*
2011-11-26 15:10:29 +00:00
Adam Spiers
b20228721e
Rename protected_dir() to marked_stow_dir().
2011-11-26 15:10:29 +00:00
Adam Spiers
d8a4cda11b
Rename should_skip_stow_dir_target() to should_skip_target_which_is_stow_dir()
2011-11-26 15:10:28 +00:00
Adam Spiers
7c0bb53bff
Be clearer when we're not actually (un)stowing, just planning.
2011-11-26 15:10:28 +00:00
Adam Spiers
1873e4b4ef
Add a comment about a relative weakness of compat mode.
2011-11-26 15:10:28 +00:00
Adam Spiers
4d45d3e0c7
Fix more inconsistencies in coding style.
2011-11-26 15:10:27 +00:00
Adam Spiers
b8942c9f79
Fix typos
2011-11-26 15:10:27 +00:00
Adam Spiers
dc61da22d4
Major refactoring of code into separate Stow and Stow::Util Perl modules
2011-11-24 16:56:11 +00:00