Re: Packaging mechanism for CakePHP Plugins ??

2012-08-06 Thread euromark
did you try to search for it?

if I go to the packages site and type in packages - what do I get?
http://plugins.cakephp.org/package/josegonzalez/package_installer
 

Am Montag, 6. August 2012 06:33:59 UTC+2 schrieb NdJ:

 What is the current state (if any) for the packaging of CakePHP plugins?

 We currently have (Plugins listed here http://plugins.cakephp.org/) which 
 is great, but it might be even more awesome if from a cake shell (or 
 similar) you could search for plugins and install (with dependency 
 resolution) new plugins, much the same way as apt-get works for Debian, 
 npm for Node and pear for PHP... etc etc etc.

 Seems you might be able to leverage Github pulling tarballs from there 
 (Terms of Service check!!) which then means all that is required is some 
 kind of agreeable CakePHP package meta definition file -plus- a central 
 index that can serve responses pointing to Github tarballs.

 An example might be:-
 $ cake packages search foobar

 Which would send a query to a suitable host that stores an index of all 
 registered CakePHP plugins that contain the meta definition file, that host 
 would return information about all packages related to foobar.  So I might 
 then type:-
 $ cake packages install the-foobar-thing

 Which in this case would pull the latest the-foobar-thing 
 tarball/zipball package from Github, unpack it, parse the meta definition 
 file to determine if there are dependencies and process any installation 
 steps.

 Thoughts, comments, problems, solutions, someone else already done or 
 doing this?

 N



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Packaging mechanism for CakePHP Plugins ??

2012-08-05 Thread NdJ
What is the current state (if any) for the packaging of CakePHP plugins?

We currently have (Plugins listed here http://plugins.cakephp.org/) which 
is great, but it might be even more awesome if from a cake shell (or 
similar) you could search for plugins and install (with dependency 
resolution) new plugins, much the same way as apt-get works for Debian, 
npm for Node and pear for PHP... etc etc etc.

Seems you might be able to leverage Github pulling tarballs from there 
(Terms of Service check!!) which then means all that is required is some 
kind of agreeable CakePHP package meta definition file -plus- a central 
index that can serve responses pointing to Github tarballs.

An example might be:-
$ cake packages search foobar

Which would send a query to a suitable host that stores an index of all 
registered CakePHP plugins that contain the meta definition file, that host 
would return information about all packages related to foobar.  So I might 
then type:-
$ cake packages install the-foobar-thing

Which in this case would pull the latest the-foobar-thing tarball/zipball 
package from Github, unpack it, parse the meta definition file to determine 
if there are dependencies and process any installation steps.

Thoughts, comments, problems, solutions, someone else already done or doing 
this?

N

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php