[wp-trac] [WordPress Trac] #23912: Add Composer package description

WordPress Trac noreply at wordpress.org
Tue Jul 30 21:56:33 UTC 2013


#23912: Add Composer package description
------------------------------------+------------------
 Reporter:  Rarst                   |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.7
Component:  General                 |     Version:  3.5
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by Rarst):

 Since this was dormant for a while, let me summarize explorations on core
 as Composer package since.

 - `wordpres-core` "fake" type approach is toast, no longer working
 - `composer/installers` is reluctant to add core as type of packages (
 https://github.com/composer/installers/issues/77 )
 - declaring `wordpress-plugin` type and remapping path works relatively
 nicely, but '''must''' remap path (effectively no sane default value),
 what I currently have is written up at http://composer.rarst.net/recipe
 /core-package

 In a nutshell for proper package mechanics will need to decide for core if
 use `wordpress-plugin` type or different (from `composer/installers`)
 installer. If aiming for subdirectory support only (no in-root) custom
 installer will be trivial on top of `composer/installers` (WP support in
 it is literally 10 lines of code for example
 https://github.com/composer/installers/blob/master/src/Composer/Installers/WordPressInstaller.php
 )

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23912#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list