[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Switching to) "cpanfile" to declare dependencies for 'cpanm'?



Hi Erik,

From our previous discussions on IRC I think this is the only sensible way to go.

David G

On 07/05/16 23:33, Erik Huelsmann wrote:

As I'm writing the installation instructions for 1.5, I have David's reaction to Marjan in the back of my head where my advise to use ```cpanm``` to install the dependencies for LedgerSMB works a bit too well, pulling in all the dependencies we added for our BDD testing framework.

My thinking is that - if we want testing on users systems *at all* - we want just only minimal tests being run on our users systems. So, I'd like to declare most of our test dependencies to be "development tools" (development dependencies).

The MakeMaker format doesn't seem to have a facility to do that.

But cpanfile *does* have a facility to do that *and* ```cpanm``` has support for 'cpanfile'. What's more, anything declared as "development dependency" will be skipped for installation unless explicitly requested.

I'm thinking cpanfile is much more the tool we need than MakeMaker?

The fact that CPAN doesn't support cpanfile is not a problem: out of 10 years of existence in the project, we've never distributed through CPAN...

--
Bye,

Erik.

http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel