On Tue, Jun 18, 2024 at 05:10:24PM +0200, Florian Obser wrote: > > I started to use stow to manage my dotfiles between my work laptop > (macOS) and OpenBSD machines. I started to use --dotfiles because > homebrew has 2.4.0 and I was not aware of problems. > > stow 2.3.1 on OpenBSD got very confused by this, for example: > > UNLINK: .config > MKDIR: .config > stow: ERROR: stow_contents() called with non-directory path: > ../dotfiles/OpenBSD/.config > > that should be ../dotfiles/OpenBSD/dot-config. > > In the end I decided against --dotfiles but I still have the update > lying around. > > OK?
Thanks for spotting the update. I've been too busy with work to notice. As the maintainer, I'm ok with this update. Andreas > > * Changes in version 2.4.0 > > *** --dotfiles now works with directories > > A long-standing bug preventing the --dotfiles option from working > correctly with directories has been fixed. > > It should also works in combination with the --compat option. > > *** Eliminated a spurious warning on unstowing > > 2.3.1 introduced a benign but annoying warning when unstowing > in certain circumstances. It looked like: > > BUG in find_stowed_path? Absolute/relative mismatch between Stow dir X > and path Y > > This was caused by erroneous logic, and has now been fixed. > > *** Unstowing logic has been improved in other cases > > Several other improvements have been made internally to the > unstowing logic. These changes should all be either invisible > (except for changes to debug output) or improvements, but if you > encounter any unexpected behaviour, please report it as directed > in the manual. > > *** Improved debug output > > Extra output resulting from use of the -v / --verbose flag > now appears in a more logical and understandable way. > > *** Janitorial tasks > > Users are not substantially affected by these changes. > > ***** Added some more information from the web page to the README > > ***** Made some improvements to the documentation > > ***** Improve readability of source code > > Quite a few extra details have been added in comments to clarify > how the code works. Many variable names have also been > improved. The comments of many Stow class methods have been > converted into Perl POD format. > > ***** Added a =CONTRIBUTING.md= file > > ***** Add a =watch= target to =Makefile= > > =make watch= provides easy continual pre-processing during > development, which reduces the risk of debugging the wrong code. > > ***** Removed texinfo.tex from the distribution > > This eliminates existing and future bit-rot. > > ***** Updated aclocal.m4 from 1.15.1 to 1.16.5 > > This mostly just updates copyright notices to 2021, and URLs to https. > > ***** Replace broken gmane links with links to lists.gnu.org > > > [[https://lars.ingebrigtsen.no/2020/01/06/whatever-happened-to-news-gmane-org/][gmane > has been dead for quite a while.]] > > ***** Improve support for navigating / editing source via emacs > > ******* Support source navigation in emacs via > [[https://github.com/jacktasia/dumb-jump][dumb-jump]]. > > ******* Configure cperl-mode to match existing coding style. > > *** Various maintainer tweaks > > Further improved the release process and its documentation in > various minor ways. > > > diff --git Makefile Makefile > index 0c91ffb91d8..59173083618 100644 > --- Makefile > +++ Makefile > @@ -1,6 +1,6 @@ > COMMENT= manages software package installations with symlinks > > -DISTNAME= stow-2.3.1 > +DISTNAME= stow-2.4.0 > CATEGORIES= sysutils > > HOMEPAGE= https://www.gnu.org/software/stow/stow.html > diff --git distinfo distinfo > index 609c46fc574..36e7aa8e0db 100644 > --- distinfo > +++ distinfo > @@ -1,2 +1,2 @@ > -SHA256 (stow-2.3.1.tar.gz) = CdXZlnG3hTf9mywLOaXpdhp6Dpefb9t+q/pY7kXwPUs= > -SIZE (stow-2.3.1.tar.gz) = 654191 > +SHA256 (stow-2.4.0.tar.gz) = b+1nz2Teq209kVGkPiwGyVzfymqI+rfUFvRqZIsddh0= > +SIZE (stow-2.4.0.tar.gz) = 722098 > diff --git pkg/PLIST pkg/PLIST > index e5c17b4bcf9..1bfba98f3e8 100644 > --- pkg/PLIST > +++ pkg/PLIST > @@ -13,7 +13,7 @@ share/doc/stow/README.md > share/doc/stow/manual-single.html > share/doc/stow/manual-split/ > share/doc/stow/manual-split/Bootstrapping.html > -share/doc/stow/manual-split/Compile_002dtime-vs-Install_002dtime.html > +share/doc/stow/manual-split/Compile_002dtime-vs_002e-Install_002dtime.html > share/doc/stow/manual-split/Conflicts.html > share/doc/stow/manual-split/Cygnus-Software.html > share/doc/stow/manual-split/Deferred-Operation.html > @@ -39,6 +39,7 @@ share/doc/stow/manual-split/Terminology.html > share/doc/stow/manual-split/Tree-unfolding.html > share/doc/stow/manual-split/Types-And-Syntax-Of-Ignore-Lists.html > share/doc/stow/manual-split/index.html > +share/doc/stow/manual-split/symlink.html > share/doc/stow/manual-split/tree-folding.html > share/doc/stow/manual-split/tree-refolding.html > share/doc/stow/manual.pdf > > -- > In my defence, I have been left unsupervised. -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden .