Added
- Added --ignore argument to stow and unstow commands, to specify patterns file
to ignore.
- Added reading of .dploystowignore files in the directories of sources for
ignore patterns that are additional to those specified via --ignore
- Added optional is_silent & is_dry_run arguments to dploy.stow() dploy.unstow()
and dploy.link(), This is analogous to the --dry-run and --quiet command line
arguments. These function arguments default to is_silent=True and
is_dry_run=False.
- Added redundant check to make sure dploy never deletes anything other than a
symbolic link
- Check for source and dest new consideration was taken for sources
and dests directories that have invalid execute permissions.
Changed
- Check for additional issues with sub commands that are similar to the initial
checks done on the input of stow and unstow
- Prevent redundant errors when the src or dest are not directories
- Clarify some error messages
- Display the user inputted source and dest paths instead of absolute paths in
the output
- Clarify error messages for file and symbolic link conflicts
- Make the output of dploy stow and unstow deterministic across file systems
- Changed the output of failing dploy sub commands so they print as many
detected issues as possible before aborting
- Print all conflicts while stowing instead of just the first conflict, and
print what exactly the conflict is
Fixed
- Fixed issue when unstowing where some stowed packages directories created
during the stowing process via unfolding would not be deleted.
- Fix issue unstowing a folded dir with a stray link
- This fixed the following scenario: Given a dest directory with stowed
packages that share a folded directory, that also contains a stray link
along with the links created by stowing. When the stowed packages are
unstowed Then the folded directory was re-folded using the parent
directory of the single stray link and possibly linking new files that
were never intended to be linked there. When what was desired was the
directory to just remain with the single stray symlink.
- Fix an improperly handled expetion that occurred when unstowing a package that
had it's destination directories execute permission unset.