Re: [Catalyst] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-09 Thread Tomas Doran

Robert Buels wrote:
So, if I understand rightly, shouldn't the MyApp/root be going into 
blib/auto/MyApp/root instead of blib/MyApp/root ?


The simple answer you're looking for is 'hysterical raisins'.

I'm hoping that we'll move to using File::ShareDir for template for 
installed applications as well as the (Catalyst::Helper) helper files at 
some point in the future (Reaction is doing this already, I see no 
reason not to pull it back into core at some point).


However most people don't actually install their applications (in a make 
install type way), and so this isn't so much of an issue for them...


Cheers
t0m

___
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] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-09 Thread Devin Austin
On Tue, Jun 9, 2009 at 11:57 AM, Tomas Doran bobtf...@bobtfish.net wrote:

 Robert Buels wrote:

 So, if I understand rightly, shouldn't the MyApp/root be going into
 blib/auto/MyApp/root instead of blib/MyApp/root ?


 The simple answer you're looking for is 'hysterical raisins'.

 I'm hoping that we'll move to using File::ShareDir for template for
 installed applications as well as the (Catalyst::Helper) helper files at
 some point in the future (Reaction is doing this already, I see no reason
 not to pull it back into core at some point).

 However most people don't actually install their applications (in a make
 install type way), and so this isn't so much of an issue for them...

 Cheers
 t0m


 ___
 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/


We have a bit of code in the Helper section that looks for the stuff in the
distribution, as t0m has said, but it's untested, and not really implemented
yet tbh.  People *don't* really install their applications, although they
should, because a reasonable developer keeps their Makefile.PL up to date
and thus keeps application dependencies up to date.


-dhoss

-- 
Devin Austin
http://www.codedright.net
http://www.dreamhost.com/r.cgi?326568/hosting.html - Host with DreamHost!
___
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] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-09 Thread Hans Dieter Pearcey
On Tue, Jun 09, 2009 at 06:57:19PM +0100, Tomas Doran wrote:
 However most people don't actually install their applications (in a make  
 install type way), and so this isn't so much of an issue for them...

This is so strange to me; I *always* install my applications with make install,
or make debian packages of them, or...

hdp.

___
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] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-09 Thread Robert Buels

Hans Dieter Pearcey wrote:

This is so strange to me; I *always* install my applications with make install,
or make debian packages of them, or...


Ditto.  For me, the most important aspect of actually doing an 
installation is having dependencies get pulled in automatically.  For 
example, if you're doing automatic continuous integration testing, or 
automatically building local::libs or debian packages for deployment on 
lots of machines, you've got to have some kind of automation for 
dependencies.


Rob


___
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/


[Catalyst] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

2009-06-08 Thread Robert Buels
The Module::Install code generated by catalyst.pl puts MyApp/root into 
blib/lib/MyApp/root, right alongside all the things from MyApp/lib.  Is 
this actually the Right Thing to do?  Seems fishy to put the templates 
and images and such in the same place as the perl modules.


In the pod for File::ShareDir (which I perused after reading on dhoss's 
blog about where he's thinking of putting the helper templates), I read 
that static data for modules are supposed to go in the module's 'auto' 
directory.  Link: 
http://search.cpan.org/~adamk/File-ShareDir-1.00/lib/File/ShareDir.pm


So, if I understand rightly, shouldn't the MyApp/root be going into 
blib/auto/MyApp/root instead of blib/MyApp/root ?


Rob


___
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/