It's clear from YouTube videos, blogs, social media etc. that the
dotfiles management use case is by far the most popular one for Stow
these days, and also the labelling "symlink farm manager" didn't
really resonate - probably because it's too focused on the
implementation rather than the utility.
So rewrite the docs to emphasise the narrative which already resonates
best, whilst preserving acknowledgements that Stow can still be used
for other purposes, and the history behind what it was originally
built for.
If `--dotfiles` was enabled, files in the package such as
`dot-gitignore` would be translated to `.gitignore` and then ignored
by the default ignore list. However any file named `dot-*` in a
package is obviously intended to be stowed as a dot file, so should
not be ignored.
To fix this, ignore based on the name in the package, not the
potentially translated name used for stowing.
Perl 5.40.0 extended the scope of the precedence warning to include
ternary operators.
<https://perldoc.perl.org/5.40.0/perldelta>
Reported-By: Peter Sütterlin <P.Suetterlin@royac.iac.es>
Previously the \A and \z anchoring for --ignore / --override / --defer
was being applied without wrapping the user-specified regexp in
parentheses, so if it was something like bin|man then the anchor would
only apply to one half of those two paths. So add parentheses, and
also change from qr() to qr{} syntax to visually differentiate between
regexp boundaries and parentheses inside the regexp.
- Use `shellwords` to parse `.stowrc` files from `Text::ParseWords`
- Add test for `.stowrc` parsing with quotes
- Add `stow directory` to `tmp-testing-trees` for testing
This change allows `.stowrc` arguments to be parsed similar to shell arguments,
where quotes can be used to group an argument with spaces.
However, this change affects the behavior in --ignore, --defer, --override.
(?^:$HOME\z)
(?^:\A$HOME)
(?^:\A$HOME)