Packaging mechanism for CakePHP Plugins ??
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home