summaryrefslogtreecommitdiff
path: root/lib/Stow.pm.in
Commit message (Collapse)AuthorAgeFilesLines
* Check that find_stowed_path $path matches relative/absolute with targetAdam Spiers2019-06-281-0/+6
| | | | Watch out for a corner case probably only relevant in tests.
* Improve comments on function parameters for clarityAdam Spiers2019-06-281-7/+13
|
* Upgrade to GPL v3 and add headers to files (#44)Adam Spiers2019-06-271-0/+15
| | | | | | | | | | | | | | | | | Following advice from maintainers@gnu.org, bring Stow in line with other GNU projects by upgrading it from GPL v2 to v3 https://www.gnu.org/prep/maintain/html_node/Licensing-of-GNU-Packages.html#Licensing-of-GNU-Packages as obtained in plain text and texinfo formats from https://www.gnu.org/licenses/ and adding appropriate headers: https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Code.html#License-Notices-for-Code Fixes #44: https://github.com/aspiers/stow/issues/44
* Fix old descriptions of Stow (#22)Adam Spiers2019-06-251-1/+1
| | | | | | | | | | | De-emphasise the package management aspects, since these days almost everyone prefers to use modern package managers such as rpm / dpkg / Nix for (system-wide) package management. Also include more popular modern use cases for Stow such as management of dotfiles and software compiled in the user's $HOME directory. Fixes #22: https://github.com/aspiers/stow/issues/22
* Merge pull request #17 from jvkersch/enh/dot-filesAdam Spiers2016-10-051-1/+22
|\ | | | | Special processing for dotfiles
| * Special processing for dotfilesJoris Vankerschaver2016-10-041-1/+22
| |
* | remove superfluous space in function callAdam Spiers2016-08-231-1/+1
|/ | | | Be consistent with style elsewhere.
* fix stowing of relative links when --no-folding is usedAdam Spiers2015-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With a tree like this: . |-- stow | `-- pkg | `-- lib | |-- itk-current -> itk4.0.0 | `-- itk4.0.0 | `-- libitk4.0.0.so `-- target `-- lib |-- itk4.0.0 -> ../../stow/pkg/lib/itk4.0.0 `-- libfoo-1.2.3.so stowing pkg with the --no-folding option resulted in itk-current being "unpacked": . `-- target `-- lib |-- itk-current | `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk-current/libitk4.0.0.so |-- itk4.0.0 | `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk4.0.0/libitk4.0.0.so `-- libfoo-1.2.3.so This commit fixes it so that it gets stowed as a symlink: . `-- target `-- lib ... |-- itk-current -> ../../stow/pkg/lib/itk-current ... Thanks to Gabriele Balducci for reporting this problem: http://thread.gmane.org/gmane.comp.gnu.stow.general/6676
* improve debugAdam Spiers2015-01-011-2/+4
|
* make it more obvious when target (sub)directory is skippedAdam Spiers2014-09-231-2/+2
| | | | | | This should avoid the sort of confusion seen in: https://github.com/aspiers/shell-env/issues/1
* avoid precedence warningAdam Spiers2014-06-161-2/+2
| | | | | | | | | | | | With Perl 5.20, installing a package with stow gives a warning like this: Possible precedence issue with control flow operator at /gar/packages/stow-2.2.0/lib/perl5/site_perl/5.20.0/Stow.pm line 1736. http://lists.gnu.org/archive/html/bug-stow/2014-06/msg00000.html Suggested-by: Adam Sampson <ats@offog.org>
* correctly handle the stow/target directories as non-canonical pathsAdam Spiers2013-04-121-3/+3
| | | | | | | | | | | | 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
* Only include $! in error messages for failed syscalls.Adam Spiers2012-07-091-13/+13
|
* Improve docs for path_owned_by_package()Adam Spiers2012-02-191-1/+3
|
* Add --no-folding option.Adam Spiers2012-02-181-10/+26
|
* Improve error message when package is not found.Adam Spiers2012-02-181-5/+7
|
* Add missing options to pod, and reference to front-end documentation.Adam Spiers2012-02-181-0/+8
|
* Avoid "Use of uninitialized value" warnings from test suite.Adam Spiers2012-01-131-0/+1
| | | | | Happened on some versions of Perl when TEST_VERBOSE not yet. Thanks Adam Sampson!
* Remove "There are no outstanding operations to perform" warning.Adam Spiers2012-01-111-1/+0
| | | | | 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.
* Add --adopt / -a option.Adam Spiers2012-01-091-15/+78
|
* Add stacktrace to internal error report to aid debugging.Adam Spiers2012-01-091-2/+5
|
* Link to website to encourage users to report bugs.Adam Spiers2012-01-091-2/+6
|
* Improve existing comments.Adam Spiers2012-01-091-9/+9
|
* Improve debug levels.Adam Spiers2011-11-261-39/+38
|
* Fix documentation regarding splitting of symlinks across multiple stow ↵Adam Spiers2011-11-261-3/+3
| | | | directories.
* Improve conflict reportingAdam Spiers2011-11-261-30/+86
|
* Ditch obsolete --conflicts option and update misleading documentation.Adam Spiers2011-11-261-5/+0
|
* Strip superfluous quotes from $hash{'lookups'}Adam Spiers2011-11-261-64/+64
|
* Add support for ignore lists.Adam Spiers2011-11-261-72/+333
|
* Rename $old_* to $existing_*Adam Spiers2011-11-261-26/+26
|
* Rename protected_dir() to marked_stow_dir().Adam Spiers2011-11-261-3/+3
|
* Rename should_skip_stow_dir_target() to should_skip_target_which_is_stow_dir()Adam Spiers2011-11-261-6/+7
|
* Be clearer when we're not actually (un)stowing, just planning.Adam Spiers2011-11-261-4/+4
|
* Add a comment about a relative weakness of compat mode.Adam Spiers2011-11-261-1/+3
|
* Fix more inconsistencies in coding style.Adam Spiers2011-11-261-42/+41
|
* Fix typosAdam Spiers2011-11-261-2/+2
|
* Major refactoring of code into separate Stow and Stow::Util Perl modulesAdam Spiers2011-11-241-0/+1675