Hey,

I've been thinking about possible options for packaging and distributing bundles. From my perspective it would be nice if there was a way to list bundle dependencies in your app somewhere and have a console command to install all of them automatically.

Presently pretty much all Bundles are available on github and can be installed as submodules. But as more sophisticated Bundles are built which require other Bundles to be installed in order to work git submodules become more difficult to manage manually. Apart from git's slow progress on integrating git submodules better, it's also a lot of manual work to check all your bundles' manuals to find out which dependencies they have and to install these as additional git submodules. Dependencies might change over time, requiring you to check for changes in bundle dependencies regularly.

With Symfony2 coming close to a stable releases it becomes more relevant to version Bundles. A released Bundle should reference a particular version of another Bundle, rather than a moving git branch which could break compatability.

One option I've looked into is using pyrus the PEAR2 installer and the PEAR2 package.xml format. The package.xml format seems suitable in general but would need a few extensions to allow referencing VCS sources for packages as an alternative to pear channels. Pyrus itself would need to be adjusted to handle these. There are a few other issues with Pyrus like the standard PEAR directory structure (/php/ path prefix for php files) that would need to be addressed.

Now I'd love to hear what general thoughts all of you have on this subject. Do you see any further problems with the PEAR2 package.xml? Do you think PEAR channels are an appropriate way to distribute Symfony2 Bundles? Can you think of any alternative existing package management tools for PHP this can be based on?

I'd also like to propose this as a discussion topic for this week's IRC meeting.

Cheers
Nils

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to