Re: stow 2.3.0 external dependencies
Adam Spiers <[email protected]> Sat, 29 Jun 2019 13:43:42 +0100
| Newsgroups | gmane.comp.gnu.stow.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 29, 2019 at 12:47:03PM +0100, Adam Sampson wrote:
>Hi bug-stow,
>
>stow 2.3.0 added external runtime dependencies on Hash::Merge and
>Clone::Choose. Historically stow hasn't had runtime dependencies other
>than Perl itself, which is a useful property if you're managing the
>installation of Perl using stow; the bootstrapping instructions in
>stow's manual would need updating to describe how to install these two
>modules (and any dependencies they have now or in the future) as well.
>
>However, Hash::Merge is much more general than stow actually needs.
>I've attached a patch which replaces the merge() call with a few lines
>of equivalent code -- this avoids the external dependencies, and I think
>it's clearer than the merge() call.
Great idea, thank you so much! Indeed, the extra dependency already
caused me a few nasty little headaches due to limitations of the
Storable backend.
I've submitted this for testing:
https://github.com/aspiers/stow/pull/60
and will probably merge into git shortly.