Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependencies on Hash::Merge and Clone::Choose #60

Merged
merged 2 commits into from
Jun 29, 2019
Merged

Conversation

aspiers
Copy link
Owner

@aspiers aspiers commented Jun 29, 2019

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, so replace the merge() call with a few lines of equivalent code -- this avoids the external dependencies, and is clearer than the merge() call.

Many thanks to Adam Sampson for this patch:

https://lists.gnu.org/archive/html/bug-stow/2019-06/msg00001.html

@coveralls
Copy link

coveralls commented Jun 29, 2019

Coverage Status

Coverage increased (+0.08%) to 86.312% when pulling 9ce10eb on rm-hash-merge into 7eb1a0c on master.

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, so
replace the merge() call with a few lines of equivalent code -- this
avoids the external dependencies, and is clearer than the merge()
call.

Many thanks to Adam Sampson for this patch:

https://lists.gnu.org/archive/html/bug-stow/2019-06/msg00001.html
@aspiers aspiers merged commit 9f59494 into master Jun 29, 2019
@aspiers aspiers deleted the rm-hash-merge branch June 29, 2019 12:49
@OverkillGuy
Copy link

Hello,
Can we get a tag of release 2.3.1 from master, so this change is available for downstream package managers?

If tagged, this would fix termux/termux-packages#4114, but I doubt downstream would accept using a build from a branch (even master).

@aspiers
Copy link
Owner Author

aspiers commented Jul 28, 2019

Yep will try to find time for this soon!

@aspiers
Copy link
Owner Author

aspiers commented Jul 28, 2019

2.3.1 is now released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants