Re: [Catalyst] How to handle development vs production, required vs recommended module dependencies

2009-09-10 Thread Daniel Austin
2009/9/10 Zbigniew Lukasiak zzb...@gmail.com:
[...]
 I am against additional functionalities and recommended
 dependencies.

I've been thinking about it and I think you're right, at least for our
apps at our company.

I've also realised that the 'recommended' directive actually doesn't
work at all. I might have misunderstood something in Module::Install
but those recommended modules never get installed or asked for.

I'm checking out Module::Install::AuthorRequires as suggested by t0m.
Then there will be only two kinds of modules: modules you need to run
the app and modules developers need to test it.

Thanks for the suggestions everyone.

Dan

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] How to handle development vs production, required vs recommended module dependencies

2009-09-09 Thread Zbigniew Lukasiak
On Mon, Aug 31, 2009 at 3:44 AM, Daniel Austindaniel.aus...@gmail.com wrote:
 Hello

 I'm curious how other Catalyst developers are managing their CPAN
 module dependencies.

 I see our current application as having four types of module dependencies:

 * Modules that are required for the application to run *at all*. These
 are specified using requires statements in Makefile.PL (and also,
 the all from statement which points at the main Catalyst application
 class).

 * Modules that are not required, but if present, add additional
 functionality. These are specified using recommends statements in
 the Makefile.PL.

I am against additional functionalities and recommended
dependencies.   If this additional functionality is really useful -
then you can expect someone will write something depending on it and
at that point the whole automatic install idea breaks down.

See also: http://www.mail-archive.com/module-auth...@perl.org/msg07485.html

Cheers,

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/