Skip Menu |

This queue is for tickets about the File-HomeDir CPAN distribution.

Report information
The Basics
Id: 121018
Status: open
Priority: 0/
Queue: File-HomeDir

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.002
Fixed in: (no value)



Subject: Please do not runtime-require optional / OS dependent modules in META.json
Please do not runtime-require optional / OS dependent modules in META.json. In particular Mac::Systemdirectory is of absolutely no use to anyone not using a Mac. A runtime recommend should be enough.
On Sat Apr 08 04:11:26 2017, https://me.yahoo.com/howdidwegetherereally#f714d wrote: Show quoted text
> Please do not runtime-require optional / OS dependent modules in > META.json. In particular Mac::Systemdirectory is of absolutely no use > to anyone not using a Mac. A runtime recommend should be enough.
That heavily depends on which system the dist was built, Linux, Win32 or Mac. But you're right - every additional dependency should not be in META.json.
I would second that. At my workplace our tool look at META.yml|json for package dependencies to install, and presently it would always try to install Mac::Directory which is of no use in our environment. It's better to move Mac::SystemDirectory to recommends.
That's true and in queue. Until I find the tuit to solve it in an anduring way, I need to (re-)activate my Linux workstation or wait for the new one. Doesn't happen overnight, sorry.